3

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.

8
  • 1
    I have seen in some other questions that restarting the machine or wifi you're solved this issue. It is worth a try Sep 25, 2020 at 22:02
  • 1
    I tried restarting my computer and reinstalling Xcode. Nothing is working
    – Chris
    Sep 26, 2020 at 0:14
  • Have you tried deleting the Derived Data folder? (Go to Xcode -> Preferences -> Locations -> Derived Data (Click the little arrow) -> Delete the folder for your project), or creating a new simulator?
    – T. Haas
    Sep 26, 2020 at 1:10
  • 1
    Have the same Problem ... @kerim.ba The simulator won't boot, so there is NO active device.
    – OliverD
    Oct 2, 2020 at 7:53
  • 2
    @OliverD I just updated to Big Sur 11.0.1 and it worked.
    – aheze
    Jan 12, 2021 at 4:14

2 Answers 2

2

Can you make yourself Admin and run below commands on Terminal:

sudo chown root:admin /tmp
sudo chmod 1777 /tmp
sudo chown root:wheel /private/tmp
sudo chmod 1777 /private/tmp
1
  • Can you add to your post and explain what those commands do?
    – Scratte
    Apr 2, 2021 at 18:09
0

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.

1
  • 2
    how did you do that can you edit your answer and show please ?
    – zeytin
    Nov 12, 2020 at 17:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.