Reputation: 455
I'm new in development for iOS. My problem was when I run my project, the simulator was with black screen and a message shows "Unable to boot the simulator". I'm working with Xcode version 7.3.1.
Upvotes: 9
Views: 7445
Reputation: 540
rm -R ~/Library/Developer/CoreSimulator/Caches
Or run with sudo, if it says that access is denied:
sudo rm -R ~/Library/Developer/CoreSimulator/Caches
Upvotes: 0
Reputation: 935
Go to About This Mac > More Info > Storage > Manage > Delete Xcode Cache
and all old versions of iOS. Then run again
Upvotes: 20
Reputation: 1038
The only thing that worked for me was deleting the simulator caches from the terminal. After that, I was able to open the simulator as usual.
rm -r ~/Library/Developer/CoreSimulator/Caches
Upvotes: 17
Reputation: 21
In this case, launchd is crashing when trying to launch This could be as a result of deleting the /private/tmp folder. To resolve this go to terminal and use this command.
sudo mkdir /private/tmp
sudo chmod 1777 /private/tmp
Upvotes: 2
Reputation: 19662
I got this issue today (Oct 25, 2018) while working on a computer with a Mojave 10.14.0 beta, which I believed has "expired".
Everything in the system worked well, except for the simulators. I couldn't launch any of them (iOS, tvOS...).
Upgrading the OS to 10.14 (final version) solved the issue.
Upvotes: 1
Reputation: 31
Change the tmp folder permission will solve the problem
Open terminal -> chmod 777 tmp
Upvotes: 3
Reputation: 382
Try to reset content and settings of simulator by clicking on the simulator tab on the top.
Upvotes: 0