Closed mr-fixit closed 1 year ago
@mr-fixit are you using the latest version of the Amplify CLI?
@mr-fixit Are you running amplify pull --sandboxId <ABCD1234>
to generate the models locally?
I was following the sample project flow, doing as it told me.
@mr-fixit can you run amplify -v
on your CLI?
$ ~/.amplify/bin/amplify -v
Scanning for plugins...
Plugin scan successful
4.39.0
I'm having the same excact problem in SwiftUI for iOS. Excellent Intro! BUT it gives me that error. I'm in step 4: Install Amplify library and initialize Amplify
EDIT: I fixed it by adding the Amplify folder to the project: https://stackoverflow.com/questions/65261123/xcode-project-fails-to-find-the-amplifymodels-file-that-is-generated-for-ios-p
Guys keep the docs updated, it's going extremely well so far! Add that up!
Hi this should be addressed in: https://github.com/aws-amplify/amplify-cli/pull/7152
Hi, I'm facing this issue. I'm using SPM and I don't know which file to add into the my iOS project. Can you please assist me in this?
Thanks!
Issue still reproducible with the latest CLI
I can confirm, the models are not being generated @renebrandel
Hi @afern247 - can you provide me your app ID, region info, and CLI version?
Hi @afern247 - can you provide me your app ID, region info, and CLI version?
Appid: d3fooq4aiahxc0 Region: us-east-1 CLI version: 10.7.3
Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
The instructions for creating a sample Amplify app are excellent, but they leave out one step.
On this page, https://sandbox.amplifyapp.com/test/ABCD1234, after step 3, the user should be told to add the files in
AWSAmplify/amplify/generated
to the project.Otherwise, the line
will fail to compile with the error
Cannot find 'AmplifyModels' in scope
ref: https://stackoverflow.com/questions/65261123/xcode-project-fails-to-find-the-amplifymodels-file-that-is-generated-for-ios-p