在模拟器上运行应用程序显示:“无法启动iOS模拟器”

问题描述:

在模拟器上运行应用程序显示:“无法启动iOS模拟器”。我在Xcode 6.0.1上。在模拟器上运行应用程序显示:“无法启动iOS模拟器”

我尝试了一切:重置模拟器;选择Xcode 6.0.1命令行工具;重新启动Mac。问题仍然存在。

+0

请检查该网址。我面临同样的问题。它帮助了我。 http://*.com/questions/24023029/error-opening-ios-simulator-with-ios-8-beta-version-unable-to-boot-the-ios-sim – Monikanta 2014-09-26 12:24:37

+0

可能的重复[无法启动iOS 8模拟器](http://*.com/questions/25987302/unable-to-boot-ios-8-simulator) – 2014-11-03 19:41:46

试试这个。在Xcode菜单中:Open Developer Tool > iOS Simulator。当它打开时,使用菜单去Hardware > Device > Manage Devices...。在该列表中,删除非工作模拟器并重新添加它们。

还要确保Downloads部分Xcode偏好是最新的。

+0

我也试过这个,但它仍然显示相同的问题。当我打开模拟器点击硬件>家,然后它也显示黑屏,并在一段时间后再次显示相同的消息。 – 2014-09-27 06:40:01

+0

@Monikanta - 我试过了,没有为我工作:( – 2014-09-27 06:53:18

您是否设置了DYLD_INSERT_LIBRARIES?如果是这样,这是愚弄的人:

Unable to boot iOS 8 Simulator

检查/etc/launchd.conf

+0

从哪里我可以检查DYLD_INSERT_LIBRARIES设置? – 2014-09-29 12:14:49

+0

正如上面的答案中所述,“检查/etc/launchd.conf” – 2014-09-29 15:35:55

+0

如果没有文件/ etc/launchd .conf,是否可以安全地假设该标志没有设置? – ToolmakerSteve 2016-10-18 16:17:33