简体   繁体   English

操作无法完成。 (OSStatus 错误 -600。)无法在模拟器中运行应用程序

[英]The operation couldn’t be completed. (OSStatus error -600.) Cant run app in simulator

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.我可以做些什么来在模拟器中运行我的应用程序。

只需退出您的 iOS 模拟器,然后重新打开模拟器,然后构建您的源代码,现在它就可以工作了。

  • if you run on the simulator -> relaunch the simulator如果您在模拟器上运行 -> 重新启动模拟器
  • if you run on real device -> reconnect the device如果您在真实设备上运行 -> 重新连接设备

I encountered this issue on a 9.1 simulator.我在 9.1 模拟器上遇到了这个问题。 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.在执行 CLEAN、切换到 8.4 模拟器、编译(成功)然后切换回 9.1 并运行后,我能够成功运行我的应用程序。

Solved it just by restarting the computer.只需重新启动计算机即可解决。 Don't know what it means, but it can be fixed that way!不知道这意味着什么,但可以通过这种方式修复! Cheers干杯

The error code says procNotFound .错误代码表示procNotFound What helped me was simply to reset simulator content and settings, then close it and try to run the project again.帮助我的只是重置模拟器内容和设置,然后关闭它并尝试再次运行项目。

Some LSApplicationQueriesScheme do not work on Simulator.某些 LSApplicationQueriesScheme 在模拟器上不起作用。 So run it on iPhone device.所以在 iPhone 设备上运行它。 This worked for me.这对我有用。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法在模拟器上运行应用程序“操作无法完成。 (LaunchServicesError错误0。)” - Cant run app on simulator “The operation couldn’t be completed. (LaunchServicesError error 0.)” 操作无法完成。 (OSStatus 错误 -54。) - The operation couldn’t be completed. (OSStatus error -54.) 该操作无法完成。 (OSStatus错误-10827。) - The operation couldn’t be completed. (OSStatus error -10827.) 操作无法完成。 (OSStatus 错误 2003334207。) - The Operation Couldn’t Be Completed. (OSStatus Error 2003334207.) MidiClientCreate“操作无法完成。 (OSStatus错误-50。)” - MidiClientCreate “The operation couldn't be completed. (OSStatus error -50.)” 尝试从我的应用程序打开其他应用程序时出现Swift错误| 该操作无法完成。 (OSStatus错误-10814。) - Swift Error when trying to open other apps from my app | The operation couldn’t be completed. (OSStatus error -10814.) iOS 5.0 AVAudioPlayer加载音频片段时出错:无法完成该操作。 (OSStatus错误-50。) - iOS 5.0 AVAudioPlayer Error loading audio clip: The operation couldn’t be completed. (OSStatus error -50.) “comgooglemaps://” - 错误:“操作无法完成。 (OSStatus错误-10814。)“ - “comgooglemaps://” - error: “The operation couldn’t be completed. (OSStatus error -10814.)” AVAudioPlayer失败,并显示错误“操作无法完成。 (OSStatus错误2003334207。)” - AVAudioPlayer fails with error “The operation couldn’t be completed. (OSStatus error 2003334207.)” -canOpenURL:URL 失败:“fbauth2:/” - 错误:“操作无法完成。(OSStatus 错误 -10814。) - -canOpenURL: failed for URL: "fbauth2:/" - error: "The operation couldn’t be completed. (OSStatus error -10814.)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM