简体   繁体   English

Xcode 6仍然显示“无法启动iOS模拟器”

[英]Still getting “Unable to boot iOS Simulator” with Xcode 6

I have spent about 24 hours on this issue and still can't figure it out. 我已经在这个问题上花费了大约24个小时,但仍然无法解决。 I've tried everything written in the numerous notes already on this site, all for naught. 我已经尝试了本网站上无数注释中写的所有内容,所有这些都是徒劳的。

I've tried: 我试过了:

  • Rebooting my Macbook Air 重新启动Macbook Air
  • Reinstalling Xcode 重新安装Xcode
  • Changing the devices inside of iOS Simulator 在iOS Simulator中更改设备

Does anyone have anymore ideas that may work before I jump ship and just go Android? 在我跳船并开始使用Android之前,是否还有其他想法可能会起作用? (kidding..maybe) (kidding..maybe)

Thanks, Mike 谢谢,迈克

The overwhelmingly most common cause of this issue is that launchd_sim is crashing immediately. 此问题的绝大多数原因是launchd_sim立即崩溃。

The overwhelmingly most common cause of launchd_sim crashing immediately is because of your injection of code into every running process via DYLD_INSERT_LIBRARIES as set in /etc/launchd.conf. 导致压倒性崩溃的最常见原因是:您通过/etc/launchd.conf中设置的DYLD_INSERT_LIBRARIES将代码注入到每个正在运行的进程中。

If /etc/launchd.conf exists on your system, remove it and reboot. 如果系统上存在/etc/launchd.conf,请将其删除并重新引导。 You can also just update to OS X Yosemite which no longer supports /etc/launchd.conf. 您也可以只更新到OS X Yosemite,后者不再支持/etc/launchd.conf。

If that is the root cause, please mark this as a dupe of Unable to boot iOS 8 Simulator 如果这是根本原因,请将此标记为无法启动iOS 8模拟器

If that isn't the root cause, look for launchd_sim crash logs in ~/Library/Logs/DiagnosticReports and attach the full contents of one report in an edit to your question, and I will also edit my answer in response. 如果这不是根本原因,请在〜/ Library / Logs / DiagnosticReports中查找launchd_sim崩溃日志,并将一份报告的全部内容附加到您的问题中,并在回答中进行编辑。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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