XCode 6 Beta 4 错误 - “运行时遇到错误(域 = com.apple.CoreSimulator.SimError,代码 = 146)”
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/24889919/
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
XCode 6 Beta 4 error - "An error was encountered while running (Domain = com.apple.CoreSimulator.SimError, Code = 146)"
提问by TenaciousJay
Just updated from Xcode 6 Beta 3 to Beta 4 and everything seems to build fine but when the simulator tries to start up I get:
刚刚从 Xcode 6 Beta 3 更新到 Beta 4,一切似乎都很好,但是当模拟器尝试启动时,我得到:
An error was encountered while running (Domain = com.apple.CoreSimulator.SimError, Code = 146)
It was building fine on Beta 3 so I'm assuming this might be a Beta 4 bug but thought I'd throw this out there just to make sure. Any ideas?
它在 Beta 3 上构建良好,所以我假设这可能是 Beta 4 的错误,但我想我会把它扔在那里只是为了确保。有任何想法吗?
回答by Grendel2501
I quit both Xcode and the simulator and then restarted. These steps solved the problem.
我退出了 Xcode 和模拟器,然后重新启动。这些步骤解决了问题。
回答by Austen Chongpison
I had issues as well when I first updated. I did not get the same error as you. However, I was able to get things working by deleting my Pods (the project uses Cocoapods) and reinstalling them. I also quit and restarted Xcode as well as the Simulator. I'd also try restarting your computer. Good luck.
我第一次更新时也遇到了问题。我没有得到和你一样的错误。但是,我能够通过删除我的 Pod(该项目使用 Cocoapods)并重新安装它们来使事情正常工作。我还退出并重新启动了 Xcode 以及模拟器。我也会尝试重新启动您的计算机。祝你好运。
回答by TenaciousJay
I seemed to get this working again in Beta 4 by following instructions from the following question:
我似乎按照以下问题的说明在 Beta 4 中再次运行:
Error opening iOS Simulator with iOS 8 beta version: "Unable to boot the iOS Simulator"
使用 iOS 8 测试版打开 iOS 模拟器时出错:“无法启动 iOS 模拟器”
I had to reset a few times and had to do some of the steps multiple times, but my program now builds and runs on the simulator.
我不得不重置几次并且不得不多次执行某些步骤,但是我的程序现在可以在模拟器上构建并运行。