iPhone链接器错误:命令/ usr / sbin / chown失败,退出代码为1

时间:2012-07-26 22:09:30

标签: iphone linker

当我尝试存档我的应​​用时出现链接错误。错误的简要说明是

`Command /usr/sbin/chown failed with exit code 1`

详细说明

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

这是因为US-AD \ domain有反斜杠而不是正斜杠吗?如果是,我该如何更正?

2 个答案:

答案 0 :(得分:0)

问题在于反斜杠。

通过搜索US-AD \并将其更改为admin

来解决

答案 1 :(得分:0)

将安装组更改为admin为我工作