无法启动 iOS 模拟器 [英] Unable to boot the iOS Simulator

查看:68
本文介绍了无法启动 iOS 模拟器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚从 AppStore 安装了 xCode 6,每次打开 iOS 模拟器时都会显示此错误:

I have just installed xCode 6 from the AppStore and every time I open the iOS simulator it shows me this error:

无法启动 iOS 模拟器

Unable to boot the iOS Simulator

是什么导致了这个问题,我该如何解决?(我使用的是 2011 年中期的 iMac 和 OS X Yosemite)

What can cause this problem and how do I fix it? (I am using a mid 2011 iMac with OS X Yosemite)

推荐答案

您可能设置了 DYLD_INSERT_LIBRARIES.打开 Terminal.app 并运行'echo $DYLD_INSERT_LIBRARIES'

You likely have DYLD_INSERT_LIBRARIES set. Open up Terminal.app and run 'echo $DYLD_INSERT_LIBRARIES'

如果它被设置为某些东西,我建议你在需要在 Mavericks 上使用 iOS 模拟器时取消设置它(或卸载它的任何设置).我建议您查看/etc/launchd.conf 和 $HOME/.launchd.conf 作为它设置的可能位置(您需要在进行更改后重新启动).

If it is set to something, I suggest you unset it (or uninstall whatever set it) when needing to use the iOS Simulator on Mavericks. I suggest you look at /etc/launchd.conf and $HOME/.launchd.conf as the likely places it is being set from (you'll need to reboot after making changes).

OS X Yosemite 有一些改动可以解决这个问题,所以如果你真的因为其他原因需要设置 DYLD_INSERT_LIBRARIES 的软件,我建议你使用 OS X Yosemite.

OS X Yosemite has changes to work around this problem, so if you actually need the software that is setting DYLD_INSERT_LIBRARIES for other reasons, I suggest you use OS X Yosemite.

这篇关于无法启动 iOS 模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆