5

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.

enter image description here

Bryan
  • 14,756
  • 10
  • 70
  • 125
user3851069
  • 385
  • 1
  • 4
  • 7

6 Answers6

11

Go to About this Mac > Storage > Manage > Delete XCode Cache and all old versions of iOS. Then run again

Amir Hajiha
  • 836
  • 8
  • 20
3

Change the tmp folder permission will solve the problem

Open terminal -> chmod 777 tmp

2

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
Jorge Pastor
  • 851
  • 7
  • 15
1

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.

Eneko Alonso
  • 18,884
  • 9
  • 62
  • 84
1

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

0

Try to reset content and settings of simulator by clicking on the simulator tab on the top.

mukul
  • 382
  • 1
  • 11