每次我尝试将应用程序存档以提交给Apple Xcode时,都会不断出现此错误!我三重检查了Cocos2d库Target中的内容,确认我的安装组和安装所有者正确无误;我重新启动计算机并重新安装了Xcode。它在模拟器中运行得很好。但是就像我说的那样,一旦我点击“存档”,它就会给我这个错误

SetOwnerAndGroup "Home:staff" "/Users/Home/Library/Developer/Xcode/DerivedData/Swimmu-bdswkmmaijgxvyasdnmkpmnfgxji/ArchiveIntermediates/Swimmu/InstallationBuildProductsLocation/usr/local/lib/libcocos2d libraries.a"
    cd /Users/Home/Documents/Swimmu
    setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /usr/sbin/chown -RH "Home:staff" "/Users/Home/Library/Developer/Xcode/DerivedData/Swimmu-bdswkmmaijgxvyasdnmkpmnfgxji/ArchiveIntermediates/Swimmu/InstallationBuildProductsLocation/usr/local/lib/libcocos2d libraries.a"

chown: /Users/Home/Library/Developer/Xcode/DerivedData/Swimmu-bdswkmmaijgxvyasdnmkpmnfgxji/ArchiveIntermediates/Swimmu/InstallationBuildProductsLocation/usr/local/lib/libcocos2d libraries.a: No such file or directory
Command /usr/sbin/chown failed with exit code 1

最佳答案

“ libcocos2d库.a”

该问题可能与库中的空间有关。如果创建了该库目标,则可以通过将库目标的名称更改为“ cocos2d_libraries”来轻松修复。

关于iphone - 命令/usr/sbin/chown失败,退出代码为1?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/7589771/

10-13 05:06