我只是想运行一个简单的 hello world 应用程序,但模拟器只是显示黑屏。
我阅读了几个论坛并遵循了推荐的解决方案,但没有一个有效。
我尝试了以下方法;
- 清理项目
- 从模拟器中删除应用
- 重新启动模拟器
- 已删除
/Library/Application Support/iPhone Simulator/
文件
但没有任何效果。
有什么解决办法吗?
注意:操作系统版本 Mac OS 10.9
Xcode 5.0.1
模拟器:版本7.0
最佳答案
这是 XCode 5.0.1 中的一个已知问题
If an iOS app running in the simulator is detached, a relaunch of the same app from Xcode will result in a black screen in iOS Simulator even though the new instance of the app is launched. Terminate the app in the simulator, or relaunch it a second time. 14648784
关于iOS 模拟器黑屏并且应用程序无法安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20424767/