amplify-cli icon indicating copy to clipboard operation
amplify-cli copied to clipboard

Api.swift file not generated

Open rubyrose-alexis opened this issue 7 years ago • 3 comments

Describe the bug Api.swift file is not created after Amplify Push.

To Reproduce Steps to reproduce the behavior: (following the AWS Amplify iOS Tutorial) Amplify Init Amplify Push Amplify add api Amplify Push

Which AWS service(s) are affected? AMPLIFY

Expected behavior After following the AWS Amplify 'Getting Started' tutorial, the 'api.swift' file is not generated. I saw this was an issue in November and updated my NPM and Amplify to the latest versions, but it's still not working.

Screenshots screen shot 2019-02-14 at 4 11 55 pm

screen shot 2019-02-14 at 4 08 30 pm

Environment(please complete the following information): Xcode 10.1 Cocoapods Swift 4.2

Device Information (please complete the following information):

  • Device: iPhone Xs
  • iOS Version: 12.1.4

Additional context Add any other context about the problem here.

Raising on behalf of @andrewdr

rubyrose-alexis avatar Feb 14 '19 22:02 rubyrose-alexis

@andrewdr could you paste the configuration you have for codegen. Its stored in .graphqlconfig.yml file which is in the root of your project.

Please obfuscate graphQLApiId and endpoints when you paste the content

yuth avatar Feb 14 '19 22:02 yuth

Closing this in favor of https://github.com/aws-amplify/aws-sdk-ios/issues/1236 as all the conversation is happening in that issue

yuth avatar Feb 15 '19 00:02 yuth

This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.

Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels for those types of questions.

github-actions[bot] avatar May 27 '21 15:05 github-actions[bot]