简体   繁体   English

归档有关符号链接的iOS项目时出错

[英]Error when archiving iOS project regarding symbolic links

I am receiving the following error when archiving an iOS project in Xcode: 在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

I'm not sure if this plays into it, but I recently updated to Xcode 4.5 on Mountain Lion to build for iOS 6. What is causing this? 我不确定这是否会起作用,但是我最近在Mountain Lion上将其更新为Xcode 4.5,以针对iOS 6构建。 If it is an infinite loop of symbolic links, is it in an Xcode generated directory? 如果它是符号链接的无限循环,是否在Xcode生成的目录中? I have not created any symbolic links on my own. 我还没有自己创建任何符号链接。

Thank you immensely for any guidance! 非常感谢您的指导!

I ended up resolving this by cleaning out RestKit from the project and updating it to the latest version. 我最终通过从项目中清除RestKit并将其更新为最新版本来解决此问题。 I wish I had more details about what solved it specifically, but that is what ended up happening. 我希望我有具体解决问题的更多详细信息,但这最终发生了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM