I'm encountering an issue with my Flutter iOS app where, after installing it on a real device (iPhone 13), it runs successfully upon the initial installation using Xcode. However, if I close the app and try to reopen it by tapping on the app icon on the device, it crashes immediately. This behavior is not observed on an older iPhone 6+ running iOS 12, and the app also works fine in the simulator. Even a simple Flutter test template crashes when launched from the device icon, working only when initiated through Xcode's "Run" button.
You need to run the application on the profile mod.