无法在模拟器上打开应用程序,因为未创建临时文件

时间:2015-12-10 19:23:40

标签: xcode ios-simulator

我正在尝试构建我的应用并将其部署到模拟器中。当我单击构建按钮时,应用程序构建并启动模拟器。启动后,我收到错误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;正在创建文件夹,我必须在某处更改权限。我需要更改哪些权限?

0 个答案:

没有答案