Closed ProgramSalamander closed 2 years ago
Hi @ProgramSalamander what docs did you follow? Did you follow the entire Getting Started section of DataStore?
https://docs.amplify.aws/lib/datastore/getting-started/q/platform/flutter/#sample-schema
Hi @fjnoyp , in terms of creating schema, I did not follow the get started guide. I created the schema in Amplify Studio instead of using CLI, and used amplify pull
to pull the schema to my project.
Hi @fjnoyp , I tried to run the same app on another non-M1 macbook and this problem not exists. It feels like it's the M1 related issue. Hope this helps.
Hi @ProgramSalamander I really appreciate the followup as that's very important to know!
I don't have an M1 macbook to reproduce but I'll check internally to see what we can do.
Hello @ProgramSalamander I tried to reproduce this error on an M1 macbook with your settings and I could not reproduce it. Can you try to create a new project and do a fresh setup, maybe a problem occurred during the setup. cc:// @fjnoyp
Hi @salihgueler @fjnoyp, I just updated to version 0.6.1, and now the problem has gone. Maybe @salihgueler is right, my somewhere-messed project files could cause the crash. Anyway, thank you all for your efforts :)
Thank you for getting back to us, @ProgramSalamander!
Description
I'm new to amplify, and trying to access datastore using
Amplify.Datastore.query
(just follows the offiical doc).But once added this statement, the iOS app exited immediately :(.
The flutter console outputs:
Does anyone else meet this situation?
Categories
Steps to Reproduce
No response
Screenshots
No response
Platforms
Android Device/Emulator API Level
No response
Environment
Dependencies
Device
iPhone SE - 3rd generation
OS
iOS 15.5
CLI Version
9.0.0
Additional Context
No response