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

Rya*_*sen 13 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
Run Code Online (Sandbox Code Playgroud)

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

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

小智 15

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

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

  • 不确定这是否发生在其他任何人身上,但您的Spotlight搜索可能会出现旧版本的iOS模拟器.尝试直接通过终端打开当前Xcode的iOS模拟器:`open /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\Simulator.app /` (3认同)
  • 对我来说,在我的主目录中是'〜/ Library/Application Support/iPhone Simulator'. (2认同)