Unable to boot the iOS Simulator (ios 7.1)

萝らか妹 提交于 2019-12-01 14:51:09

For people having the "Unable to boot the iOS Simulator" issue while running Xcode 6.x under OS X 10.11 El Capitan, be warned that there is no effective solution as the iOS 7 simulator is functionally incompatible with El Cap.

See the following Apple Developer forum thread and read the response by jeremyhu:

https://forums.developer.apple.com/thread/5612

"This is a specific incompatibility of the iOS 7.1 libxpc being too old to satisfy the needs of the host's libsystem_stats.dylib."

Posting this because I spent hours pounding my head into the wall trying to "fix" an unfixable problem.

The "Unable to boot the iOS Simulator" error message usually appears as a result of CoreSimulator failing to kick off launchd_sim to boot the simulated device.

In your case, the issue is that launchd_sim is crashing on launch because it can't bind to the syslog socket, which is located at /private/tmp/com.apple.CoreSimulator.SimDevice.[DEVICE UDID].launchd_sim/syslogso

Try deleting /private/tmp/com.apple.CoreSimulator.SimDevice.*:

sudo rm -rf /private/tmp/com.apple.CoreSimulator.SimDevice.*

This issue "Unable to Boot the iOS Simulator" exists because of System Integrity Protection in El Cap. Simulator is definitely compatible with El Capitan if you turn of SIP. Here is how to do it:

How to turn off System Integrity Protection in El Capitan:

Click the  menu. Select Restart...

Hold down command-R to boot into the Recovery System.

Click the Utilities MENU and select Terminal.

Type csrutil disable and press return.

Close the Terminal app.

Click the  menu and select Restart....

Run iOS Simulator Worked for me! Good Luck :)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!