Bevy Mobile example on iOS Doesn't Run- Unable to boot the Simulator

Hi, so I was following the link answered in this guy's question about Bevy iOS app development: Bevy iOS app development · bevyengine/bevy · Discussion #8694 · GitHub

which took me to the guide there for ios: bevy/examples at latest · bevyengine/bevy · GitHub

I ran the command rustup target add aarch64-apple-ios x86_64-apple-ios aarch64-apple-ios-sim but when I go into the cd examples/mobile and run make run I just get this error:

xcrun simctl boot ECE5D2D4-3FFD-4A7F-B8DF-EF33E57A767A || true

An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=60):

Unable to boot the Simulator.

launchd failed to respond.

Underlying error (domain=com.apple.SimLaunchHostService.RequestError, code=4):

Failed to start launchd_sim: could not bind to session, launchd_sim may have crashed or quit responding

xcrun simctl install ECE5D2D4-3FFD-4A7F-B8DF-EF33E57A767A build/Build/Products/Debug-iphonesimulator/bevy_mobile_example.app

An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=405):

Unable to lookup in current state: Shutdown

make: *** [install] Error 149

Can someone please help me... what do I need to do to get it running in the iOS simulator? I'm on mac 13.2.1 btw. thanks

This is unrelated to rust. A quick search for the error code suggests that removing ~/Library/Developer/CoreSimulator/Caches may work[1].


  1. ios - Xcode 15: Unable to boot the Simulator - Stack Overflow ↩︎

Thanks @bjorn3 :+1:

I was able to get it running. I opened up xcode and just created an empty starter project. Then I used the menus in xcode to delete the cache and got the starter project running there.

Then when I went back to my Bevy project and ran it worked.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.