iPhone模拟器在发布后立即挂起

时间:2010-12-12 02:09:02

标签: iphone ios4 ios-simulator

每当我尝试在Xcode中启动iphone模拟器(通过Build& Run)时,模拟器就会出现并立即挂起沙滩球。

我已经尝试构建并运行一个空白项目,重新启动Xcode和我的机器,到目前为止没有任何帮助。我正在运行Snow Leopard 10.6.5,Xcode 3.2.5和Simulator 4.2。

我的控制台中出现的唯一错误是:

12/11/10 6:03:02 PM installd[1134] CFPreferences: user home directory at file://localhost/Users/Old%20Mac/Library/Application%20Support/iPhone%20Simulator/4.2/ is unavailable. User domains will be volatile.
12/11/10 6:03:42 PM com.apple.launchd.peruser.502[117] (com.apple.iPhoneSimulator:com.apple.mobile.installd[1155]) Exited with exit code: 255
12/11/10 6:03:42 PM com.apple.launchd.peruser.502[117] (com.apple.iPhoneSimulator:com.apple.mobile.installd) Throttling respawn: Will start in 10 seconds

模拟器在黑屏上保持冻结:![冻结!。]

非常感谢任何帮助 - 谢谢!

5 个答案:

答案 0 :(得分:15)

出现同样的问题,全新安装最新的SDK(iOS模拟器永远加载黑屏,也使用原始的Xcode模板)。

以下是您找到的解决方案:https://discussions.apple.com/thread/2611612?threadID=2611612。 删除/Library/Application Support/iPhone Simulator对我有用。 IOS Simulator然后在退出时重新创建文件夹。除了“/ user / ...”之外,它还包含一个目录“/4.3 /...”。

答案 1 :(得分:4)

打开iOS模拟器,在其上显示黑屏点击,然后您就可以在顶部看到iOS模拟器菜单

iOS模拟器 - >重置内容和设置应该工作

答案 2 :(得分:2)

如果您使用双显卡Mac(如MacBook Pro),如果视频系统无法切换到分立卡,有时也会发生这种情况。重置SMC可解决问题:http://support.apple.com/kb/ht3964

答案 3 :(得分:1)

我重新启动了我的Macbook Pro并为我修复了它。

答案 4 :(得分:0)

您是否以路径指定的同一用户身份登录,否则可能存在权限问题?也许你可以尝试重新安装xcode。