Xcode无法归档我的应用以进行分发,并显示以下错误消息:
SetOwnerAndGroup "myusername:staff" /Users/myusername/Library/Developer/Xcode/DerivedData/AppName-fqcgjdalayjdsffpmgzhzjmgadmn/Build/Intermediates/ArchiveIntermediates/AppName/InstallationBuildProductsLocation/Applications/armv7
cd /Volumes/MEDIA/Dropbox/Code/ios/AppName
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/usr/sbin/chown -RH "myusername:staff" /Users/myusername/Library/Developer/Xcode/DerivedData/AppName-fqcgjdalayjdsffpmgzhzjmgadmn/Build/Intermediates/ArchiveIntermediates/AppName/InstallationBuildProductsLocation/Applications/armv7
chown: /Users/myusername/Library/Developer/Xcode/DerivedData/AppName-fqcgjdalayjdsffpmgzhzjmgadmn/Build/Intermediates/ArchiveIntermediates/AppName/InstallationBuildProductsLocation/Applications/armv7: No such file or directory
Command /usr/sbin/chown failed with exit code 1
系统:
更新
我现在有一个工作,我改变了我的架构:
armv7 armv6
到
$(ARCHS_STANDARD_32_BIT) armv6
答案 0 :(得分:2)
在构建设置中的某处搜索流氓'armv6'。对我来说,它位于部署部分下的“备用文件权限”下。有同样的错误,这清除了它。我见过的其他建议是在“其他C标志”部分。