Reputation: 21
I am creating a Flutter app in Android Studio and have installed my app on the Xcode iOS Simulator. Whenever I open the app, the Simulator's screen turns white for about one second before my Mac completely freezes and forces a restart, saying "Your computer restarted because of a problem."
When I emulate my app in the Android Studio Android Emulator (Pixel 6 API 33), the app functions perfectly fine. I have tried restarting Xcode, Xcode Simulator, Android Studio and MacOS, but the problem still persists.
MacOS Monterey 12.5.1, Simulator: iPhone 14 Pro, iOS 16.0
What could be causing this and how can I solve this issue?
Upvotes: 1
Views: 540
Reputation: 289
i can not help without an error message but try to run the app in release mode.
flutter run --release
Upvotes: 0