我使用Xcode 4.5.1并使用最新的安装包PhoneGap“2.1.0”
我安装了以下内容:
运行应用程序后出现以下错误消息:
SetOwnerAndGroup "NGUYEN:staff" /Users/NGUYEN/Library/Developer/Xcode/DerivedData/phonegap-bbxcrooiwxhhpkbtvbseflkcjksr/Build/Intermediates/ArchiveIntermediates/CordovaLib/IntermediateBuildFilesPath/UninstalledProducts/libCordova.a cd "/Volumes/MacBook Pro Data/phonegapapp/CordovaLib" 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 "NGUYEN:staff" /Users/NGUYEN/Library/Developer/Xcode/DerivedData/phonegap-bbxcrooiwxhhpkbtvbseflkcjksr/Build/Intermediates/ArchiveIntermediates/CordovaLib/IntermediateBuildFilesPath/UninstalledProducts/libCordova.a
chown: /Users/NGUYEN/Library/Developer/Xcode/DerivedData/phonegap-bbxcrooiwxhhpkbtvbseflkcjksr/Build/Intermediates/ArchiveIntermediates/CordovaLib/IntermediateBuildFilesPath/UninstalledProducts/libCordova.a: No such file or directory Command /usr/sbin/chown failed with exit code 1
我删除了 ARMv6 项目和 Cordova,但仍然出现此错误,我也尝试在互联网上查找此错误并遵循但几乎没有结果。
谁能帮我。
谢谢你!
最佳答案
我发现并尝试的是以下内容:
Build Active Architecture Only
至 YES
. 您可能还想将显示文件列表的“项目导航”图标下的 CordovaLib.xcodeproj 设置为"is"。
关于cordova - Phonegap 无法通过此错误存档 "Command/usr/sbin/chown failed with exit code 1",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12914593/