xcode 操作无法完成。(OSStatus 错误 -600。)无法在模拟器中运行应用程序
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/32836984/
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
The operation couldn’t be completed. (OSStatus error -600.) Cant run app in simulator
提问by riyaz
Using XCode 6.3.1 , SDK 8.3
使用 XCode 6.3.1,SDK 8.3
Suddenly my app stopped running in (any) simulator and Xcode throws error
突然我的应用程序停止在(任何)模拟器中运行并且 Xcode 抛出错误
The operation couldn't be completed. (OSStatus error -600.)
操作无法完成。(OSStatus 错误 -600。)
Tried cleaning, reset content and setting and even restarting my Mac.
尝试清理、重置内容和设置,甚至重新启动我的 Mac。
Is there anything I can do to run my app in simulator.
我可以做些什么来在模拟器中运行我的应用程序。
回答by abdul sathar
Just quit your iOS Simulator then reopen the simulator then build your source Now it will work.
只需退出您的 iOS 模拟器,然后重新打开模拟器,然后构建您的源代码,现在它就可以工作了。
回答by mobilecat
I encountered this issue on a 9.1 simulator. I was able to successfully run my app after doing a CLEAN, switching to an 8.4 simulator, compiling (successfully) and then switching back to 9.1 and running.
我在 9.1 模拟器上遇到了这个问题。在执行 CLEAN、切换到 8.4 模拟器、编译(成功)然后切换回 9.1 并运行后,我能够成功运行我的应用程序。
回答by mavesonzini
Solved it just by restarting the computer. Don't know what it means, but it can be fixed that way! Cheers
只需重新启动计算机即可解决。不知道这意味着什么,但可以通过这种方式修复!干杯
回答by Manish Mahajan
Some LSApplicationQueriesScheme do not work on Simulator. So run it on iPhone device. This worked for me.
某些 LSApplicationQueriesScheme 在模拟器上不起作用。所以在 iPhone 设备上运行它。这对我有用。
回答by Monir Khlaf
- if you run on the simulator -> relaunch the simulator
- if you run on real device -> reconnect the device
- 如果您在模拟器上运行 -> 重新启动模拟器
- 如果您在真实设备上运行 -> 重新连接设备
回答by Maciej
The error code says procNotFound
. What helped me was simply to reset simulator content and settings, then close it and try to run the project again.
错误代码说procNotFound
。帮助我的只是重置模拟器内容和设置,然后关闭它并尝试再次运行该项目。