简体   繁体   English

操作无法完成。 (OSStatus 错误 -54。)

[英]The operation couldn’t be completed. (OSStatus error -54.)

I get the above error when trying to run a project from Xcode on a simulator.尝试在模拟器上从 Xcode 运行项目时出现上述错误。 When I click details it says:当我点击详细信息时,它说:

The operation couldn’t be completed. (OSStatus error -54.)
Domain: NSOSStatusErrorDomain
Code: -54
User Info: {
    NSDebugDescription = installForLaunchServices;
    "_LSFunction" = "-[_LSInstaller installApplication:atURL:withOptions:installType:reply:]";
    "_LSLine" = 717;
}

System Information: macOS Version 10.15.4 (Build 19E287) Xcode 11.4 (16134)系统信息:macOS 版本 10.15.4 (Build 19E287) Xcode 11.4 (16134)

It was working last night.昨晚还在工作。 It worked once this morning.它今天早上工作了一次。 Then it stopped working when I try to run a simulator from not just one project but others as well.然后,当我尝试从一个项目以及其他项目运行模拟器时,它停止工作。 What is this error saying and how do I fix it?这个错误是什么意思,我该如何解决?

Restarting the simulator solved it in my case.在我的情况下,重新启动模拟器解决了它。

I needed to update my Xcode to 11.4.1.我需要将我的 Xcode 更新到 11.4.1。 Not sure what happened that made this error occur in the first place when Xcode 11.4 was working fine for weeks, but that solved my problem.当 Xcode 11.4 正常工作数周时,不知道发生了什么导致此错误首先发生,但这解决了我的问题。

For me, Device/Erase All Content and Settings solved it.对我来说,设备/擦除所有内容和设置解决了它。

This may happen when no app has registered such a scheme.当没有应用程序注册此类方案时,可能会发生这种情况。

暂无
暂无

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

相关问题 MidiClientCreate“操作无法完成。 (OSStatus错误-50。)” - MidiClientCreate “The operation couldn't be completed. (OSStatus error -50.)” 该操作无法完成。 (OSStatus错误-10827。) - The operation couldn’t be completed. (OSStatus error -10827.) 操作无法完成。 (OSStatus 错误 2003334207。) - 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.) 音频播放器错误:操作无法完成。 (OSStatus 错误 2003334207。) - audioPlayer error: The operation couldn’t be completed. (OSStatus error 2003334207.) SKSMTPMessage错误-无法完成该操作。(OSStatus错误-9807。) - SKSMTPMessage Error- The operation couldn't be completed.(OSStatus error -9807.) AVAudioPlayer失败,并显示错误“操作无法完成。 (OSStatus错误2003334207。)” - AVAudioPlayer fails with error “The operation couldn’t be completed. (OSStatus error 2003334207.)” 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.)” 操作无法完成。 (OSStatus 错误 -600。)无法在模拟器中运行应用程序 - The operation couldn’t be completed. (OSStatus error -600.) Cant run app in simulator
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM