简体   繁体   中英

xcode 9 simulator error unable to boot the simulator launchd failed to respond mac os sierra

xcode 9 simulator error unable to boot the simulator launchd failed to respond mac os sierra

I ave tried deleting contents from derived data, restarting Xcode , Uninstall and install of xcode etc.

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, I typed the following commands on my terminal:

sudo mkdir /private/tmp 
sudo chmod 1777 /private/tmp

I observed these issues sometimes when my mac is not connected to the internet. So here is a solutions list one of them may solve your problem.

  1. Check if you have an internet connection running in your mac.
  2. Restart the simulator.
  3. Restart mac if required.

Hope this will help you. Thanks

重新启动 Mac 为我解决了它。

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