Apps open when launched from XCode or Android studio but if I close the app and attempt to reopen it-- it casts a translucent container where the app 'should' open and then closes immediately before it even opens.
- Haven't been able to test on any other iPhones, will see if a friend has an iphone floating around later
- I couldn't test to see if this is the case with the default flutter app such as 'counter' as I'm unable to sign any more apps for a while to text (because of the 10 app limit per 7 days, wasn't aware of this when trying to trouble shoot another issue with creating projects)
- Also for the same reason I couldn't test a newly made XCode app but my old XCode apps reloaded onto the current iOS don't have this issue.
iOS 18.3.2 It seems to be flutter projects themselves, I loaded the same app with very few elements added to the code and no dependencies and it had the same issue.
Flutter Doctor:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.29.2, on macOS 15.3.2 24D81 darwin-arm64, locale
en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 16.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.3)
[✓] VS Code (version 1.98.2)
[✓] Connected device (5 available)
! Device emulator-5562 is offline.
[✓] Network resources
• No issues found!
Apps open when launched from XCode or Android studio but if I close the app and attempt to reopen it-- it casts a translucent container where the app 'should' open and then closes immediately before it even opens.
- Haven't been able to test on any other iPhones, will see if a friend has an iphone floating around later
- I couldn't test to see if this is the case with the default flutter app such as 'counter' as I'm unable to sign any more apps for a while to text (because of the 10 app limit per 7 days, wasn't aware of this when trying to trouble shoot another issue with creating projects)
- Also for the same reason I couldn't test a newly made XCode app but my old XCode apps reloaded onto the current iOS don't have this issue.
iOS 18.3.2 It seems to be flutter projects themselves, I loaded the same app with very few elements added to the code and no dependencies and it had the same issue.
Flutter Doctor:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.29.2, on macOS 15.3.2 24D81 darwin-arm64, locale
en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 16.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.3)
[✓] VS Code (version 1.98.2)
[✓] Connected device (5 available)
! Device emulator-5562 is offline.
[✓] Network resources
• No issues found!
Share
Improve this question
asked Mar 25 at 13:00
Rem WindRem Wind
116 bronze badges
1 Answer
Reset to default 1You need to run your app in release mode if you want it to keep opening even while disconnected from your computer.
You can do that on Xcode by editing your Run Scheme and choosing Release
in Build Configuration
OR
on Android Studio, click Run in the menu bar, and choose Flutter Run in Release Mode