Xcode 6.0.1 - iOS 模拟器黑屏

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/25975101/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 05:39:29  来源:igfitidea点击:

Xcode 6.0.1 - iOS Simulator Black Screen

iosxcodeios-simulatorxcode6

提问by Owen

I've seen lots of questions about this - however none of them are solving my issue.

我已经看到很多关于这个的问题 - 但是他们都没有解决我的问题。

The Setup is as follows

设置如下

OSX Mavericks 10.9.5
Xcode 6.0.1
iOS Simulator 8.0 (550.1)

I've tried now with 5 different Xcode projects, that are working with another machine with identical setups, except this one isn't working.

我现在已经尝试了 5 个不同的 Xcode 项目,它们正在与另一台具有相同设置的机器一起工作,但这个项目不起作用。

Every time I launch the simulator, whether or not it's with an App running, or standalone I get the same.

每次我启动模拟器时,无论是运行应用程序还是独立运行,我都会得到相同的结果。

When I run from Xcode I get this message ->

当我从 Xcode 运行时,我收到此消息 ->

An error was encountered while running (Domain = com.apple.CoreSimulator.SimError, Code = 146)

The things I've tried are:

我尝试过的事情是:

  • Reset all Content and Settings (when I click and confirm this - nothing happens at all)
  • Removed all devices from the simulators, and re-created them
  • Made sure everything is up to date
  • Cleaned all projects, SEVERAL times
  • Restarted machine inbetween doing everything under the sun
  • Deleted Derived Data
  • 重置所有内容和设置(当我点击并确认时 - 什么也没有发生)
  • 从模拟器中删除所有设备,并重新创建它们
  • 确保一切都是最新的
  • 多次清理所有项目
  • 重新启动机器,在阳光下做所有事情
  • 删除派生数据

This has been happening for 3 days now.

这已经发生了3天了。

Suggestions please!

请提出建议!

采纳答案by Owen

This probably isn't the "official" answer, but my solution to solve this was literally bin xcode, empty trash, then reinstall from the App store.

这可能不是“官方”答案,但我解决这个问题的解决方案实际上是 bin xcode,清空垃圾箱,然后从 App Store 重新安装。

回答by cbowns

This poston the Apple Developer Forums has a bunch of highly relevant information. It doesn't appear to directly address your issue, but try this:

Apple Developer Forums 上的这篇文章包含大量相关信息。它似乎没有直接解决您的问题,但试试这个:

  1. Turn up debug logging for the Simulator:
  1. 打开模拟器的调试日志记录:
defaults write com.apple.iphonesimulator DebugLogging -bool YES
defaults write com.apple.CoreSimulator DebugLogging -bool YES
  1. Quit and relaunch the iOS Simulator.
  2. Check ~/Library/Logs/CoreSimulator/*.logfor more information.
  1. 退出并重新启动 iOS 模拟器。
  2. 查看~/Library/Logs/CoreSimulator/*.log更多信息。