操作无法完成。(操作系统状态错误-54。)

mic*_*ebo 4 xcode ios ios-simulator

当我尝试在模拟器上从 Xcode 运行项目时,出现上述错误。当我点击详细信息时,它显示:

\n
The operation couldn\xe2\x80\x99t be completed. (OSStatus error -54.)\nDomain: NSOSStatusErrorDomain\nCode: -54\nUser Info: {\n    NSDebugDescription = installForLaunchServices;\n    "_LSFunction" = "-[_LSInstaller installApplication:atURL:withOptions:installType:reply:]";\n    "_LSLine" = 717;\n}\n
Run Code Online (Sandbox Code Playgroud)\n

系统信息:macOS 版本 10.15.4(内部版本 19E287)\nXcode 11.4 (16134)

\n

昨晚还在工作。今天早上成功了一次。然后,当我尝试不仅从一个项目运行模拟器,而且还从其他项目运行模拟器时,它就停止工作了。这个错误是什么意思以及如何修复它?

\n

Rou*_*ger 8

重新启动模拟器解决了我的情况。