在 Xcode 中归档 iOS 项目时,我收到以下错误:
SetOwnerAndGroup "james:staff" "/Users/james/Library/Developer/Xcode/DerivedData/App_Name_Here-flplczeuioixfhgepbxgwsbmggyv/Build/Intermediates/ArchiveIntermediates/App_Name_Here/InstallationBuildProductsLocation/../BuildProductsPath/Distribution-iphoneos/libRestKitNetwork.a"
cd "/Users/james/Documents/iPhone SDK Projects/App_Name_Here/RestKit"
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 "james:staff" "/Users/james/Library/Developer/Xcode/DerivedData/App_Name_Here-flplczeuioixfhgepbxgwsbmggyv/Build/Intermediates/ArchiveIntermediates/App_Name_Here/InstallationBuildProductsLocation/../BuildProductsPath/Distribution-iphoneos/libRestKitNetwork.a"
chown: libRestKitNetwork.a: Too many levels of symbolic links
Command /usr/sbin/chown failed with exit code 1
我不确定这是否起作用,但我最近更新到 Mountain Lion 上的 Xcode 4.5 以构建 iOS 6。这是什么原因造成的?如果是符号链接的无限循环,是在 Xcode 生成的目录中吗?我自己没有创建任何符号链接。
非常感谢您的任何指导!