2017-06-10 56 views
1

每当我跑我的项目,该项目在Xcode 8.3的新测试版本的Xcode 9创建的,我得到这个错误:运行项目在Xcode 8创建于Xcode的9

Failed to change owner of file:///Users/aaronzheng/Library/Developer/CoreSimulator/Devices/96629718-46B0-4775-8A31-49857EE620B8/data/Library/Caches/com.apple.mobile.installd.staging/temp.CnVa3s/Study%20Club.app: Error Domain=MIInstallerErrorDomain Code=4 "Failed to remove ACL" UserInfo={NSUnderlyingError=0x7f8c5d606530 {Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied" UserInfo={SourceFileLine=392, NSLocalizedDescription=open of /Users/aaronzheng/Library/Developer/CoreSimulator/Devices/96629718-46B0-4775-8A31-49857EE620B8/data/Library/Caches/com.apple.mobile.installd.staging/temp.CnVa3s/Study Club.app/GoogleMaps.bundle/bubble_left.png failed: Permission denied, FunctionName=-[MIFileManager _removeACLAtPath:isDir:error:]}}, FunctionName=-[MIFileManager _removeACLAtPath:isDir:error:], SourceFileLine=392, NSLocalizedDescription=Failed to remove ACL}

没有什么是错的当前swift的语法,我转换为当前的swift语法,并将构建设置的属性更改为swift 4.

+1

这不是Swift语法错误,所以语法更改没有效果并不奇怪。 –

回答

0

我很不确定,但是我认为在/ Devices是应用程序所有者Id之后,所以它相同您构建的所有应用程序。我认为切换到新版本的xcode可能会改变上述ID。您可能可以在info.plist文件中重新配置它,但我认为最好的选择是重建故事板并将源代码复制并粘贴到新文件中。但是不能看到你的代码,实际上并没有太多的帮助