[英]iPhone Linker error : Command /usr/sbin/chown failed with exit code 1
I am getting a linking error when I try to archive my app. 尝试存档我的应用程序时出现链接错误。 The brief description of the error is 错误的简要描述是
`Command /usr/sbin/chown failed with exit code 1`
The detailed description is 详细说明是
SetOwnerAndGroup "r499908:US-ADdomain" users /Users/r499908/Library/Developer/Xcode/DerivedData/W-akvlnuynzzkjqwcmnnsmrpjpgqfs/ArchiveIntermediates/Advisor/InstallationBuildProductsLocation/Applications/W.app
cd /Users/r499908/Desktop/Projects/JPMorganFunds-Advisor-1.4
setenv PATH "/xcode4-gm/Platforms/iPhoneOS.platform/Developer/usr/bin:/xcode4-gm/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/usr/sbin/chown -RH "r499908:US-AD\\domain users" /Users/r499908/Library/Developer/Xcode/DerivedData/W-akvlnuynzzkjqwcmnnsmrpjpgqfs/ArchiveIntermediates/Advisor/InstallationBuildProductsLocation/Applications/W.app
chown: US-AD\domain users: Invalid argument
Command /usr/sbin/chown failed with exit code 1
Is this because US-AD\\domain has a backslash as opposed to front slash? 这是因为US-AD \\ domain具有反斜杠而不是正斜杠吗? If yes how do I correct this? 如果是,我该如何纠正?
The problem was the backslash. 问题是反斜线。
Solved by searching for US-AD\\ and changing that to admin 通过搜索US-AD \\并将其更改为admin来解决
将安装组更改为管理员对我有用
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.