I’ve a Flutter challenge that I’m attempting to run on the iOS Simulator, however the app closes instantly after launching.
What I did:
- Created a new Flutter challenge and it runs advantageous on the iOS Simulator.
- Copied over:
lib/
folder (all Dart code)belongings/
folder- Dependencies from my outdated challenge’s
pubspec.yaml
- Modified the bundle identifier in Xcode (
Runner
goal → Signing & Capabilities). - Constructed and ran:
flutter clear
flutter pub get
cd ios && pod set up && cd ..
flutter run
- The construct succeeds and the app installs on the simulator, however…
Simulator machine didn't launch ps.snehbodyplushaivid.com.
Area: FBSOpenApplicationServiceErrorDomain
Code: 1
Failure Cause: The request was denied by service delegate (SBMainWorkspace).
Consumer Data: {
BSErrorCodeDescription = RequestDenied;
}
The operation couldn’t be accomplished. Launch failed.
Area: RBSRequestErrorDomain
Code: 5
Failure Cause: Launch failed.
Additional information when working from Android Studio (as a substitute of Xcode):
Launching lib/most important.dart on iPhone 15 in debug mode...
Working pod set up...
Working Xcode construct...
Xcode construct executed. 377.8s
Unable to put in /Customers/pragneshbhaisapra/Paperwork/body_plus_vid_generator/construct/ios/iphonesimulator/Runner.app on A0878FEA-1BEE-4983-ACEF-93913008FFAF. That is generally attributable to a malformed plist file:
ProcessException: Course of exited abnormally with exit code 149:
An error was encountered processing the command (area=com.apple.CoreSimulator.SimError, code=405):
Unable to lookup in present state: Shutdown
Command: /usr/bin/arch -arm64e xcrun simctl set up A0878FEA-1BEE-4983-ACEF-93913008FFAF /Customers/pragneshbhaisapra/Paperwork/body_plus_vid_generator/construct/ios/iphonesimulator/Runner.app
Error launching utility on iPhone 15.
What I attempted:
- Deleted Pods/ and Podfile.lock, reinstalled pods.
- Ran flutter clear and rebuilt.
- Erased simulator content material and settings.
- Checked signing and provisioning (set to my Apple ID with “Robotically handle signing”).
- Verified Runner.app is constructed and current in construct/ios/iphonesimulator/.
Atmosphere data:
- macOS: 15.5
- Xcode: 16.4
- Flutter: 3.32.3 steady channel
- Dart: 3.8.1
- iOS Simulator: iPhone 15, iOS 17.5
- The identical simulator runs my different Flutter initiatives advantageous.