iOS 模拟器黑屏并且应用程序无法安装

标签 ios ios-simulator

我只是想运行一个简单的 hello world 应用程序,但模拟器只是显示黑屏。
我阅读了几个论坛并遵循了推荐的解决方案,但没有一个有效。

我尝试了以下方法;

  1. 清理项目
  2. 从模拟器中删除应用
  3. 重新启动模拟器
  4. 已删除 /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

https://developer.apple.com/library/mac/releasenotes/DeveloperTools/RN-Xcode/#//apple_ref/doc/uid/TP40001051-SW241

关于iOS 模拟器黑屏并且应用程序无法安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20424767/

相关文章:

xcode - 在终端中测试时如何更改默认的 Xcode iphone 模拟器?

ios - 我需要为所有 iOS 设备背景创建多少图形?

ios - json 解析期间的控制流程 - Objective C

ios - Xcode 构建错误 - 缺少所需的体系结构 i386

iphone - 在 iPhone 模拟器中模拟电话中断

iphone - iPhone应用程序是否存在于您的设备中?在iPod/iPhone设备上不起作用,仅在模拟器上起作用。

ios - 可选框架不工作(CoreAudioKit 不在模拟器上)

ios - iOS 7 上消息编辑器的奇怪行为

ios - 如何在 gitlab-ci 上多次执行具有更改参数的作业

ios - 四舍五入到特定值?