我正在尝试构建我的应用并将其部署到模拟器中。当我单击构建按钮时,应用程序构建并启动模拟器。启动后,我收到错误The operation couldn't be completed. (LaunchServicesError error 0.)
在~/Library/Logs/CoreSimulator/CoreSimulator.log
中,错误是:
com.apple.dt.Xcode[34376] <Error>: Error Domain=LaunchServicesError Code=0
"The operation couldn’t be completed. (LaunchServicesError error 0.)"
UserInfo=xxx {Error=PackageExtractionFailed, ErrorDescription=Failed to copy
file://~/Library/Developer/Xcode/DerivedData/MYAPP-xxx/Build/Products/Debug-iphonesimulator/MYAPP.app/
to file://~/Library/Developer/CoreSimulator/Devices/SIMULATOR-ID/data/Library/Caches/com.apple.mobile.installd.staging/temp.DoYgL4/extracted/MYAPP.app/}
在~/Library/Logs/CoreSimulator/SIMULATOR-ID/system.log
中,第一个错误是:
open on ~/Library/Developer/Xcode/DerivedData/MYAPP-xxx/Build/Products/Debug-iphonesimulator/MYAPP.app/.xxx.cls: Permission denied
它似乎不像&#34; temp.DoYgL4&#34;正在创建文件夹,我必须在某处更改权限。我需要更改哪些权限?