简体   繁体   中英

Unable to boot the simulator

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.

在此处输入图像描述

Change the tmp folder permission will solve the problem

Open terminal -> chmod 777 tmp

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.

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

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM