Search code examples
iosswiftxcodexcode12

iOS Simulator is Crashing on startup


I am using Xcode 12 with the iOS 13.4 Simulator. On bootup, I get this crash report.

Failed to start launchd sim: could not bind to session, launchd sim may have crashed or quit responding.

What can cause this? It works in Xcode 11 but not in Xcode 12.


Solution

  • So it problem was my project had permissions that it can only run in sudo mode. When I tried to run the simulator in sudo mode, it failed. I had to change the permissions of my project, to be able to run in non sudo mode. When this happened, I could run the iOS simulator perfectly fine.