由于代码签名错误,存档失败

时间:2012-02-21 07:42:29

标签: ios xcode code-signing

我最近创建了一个新的配置文件并将其添加到Xcode中。构建编译并运行完美但在归档Xcode时会出现代码签名错误。这是控制台的输出。我无法理解它。

CodeSign /Users/tarunkhurana/Library/Developer/Xcode/DerivedData/App-aqjeimytlifknpbxauygrrollgfw/ArchiveIntermediates/App/InstallationBuildProductsLocation/Applications/App
    cd /Users/tarunkhurana/Desktop/App
    setenv CODESIGN_ALLOCATE /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
    setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /usr/bin/codesign --force --sign "iPhone Developer: XXXXX" --resource-rules=/Users/tarunkhurana/Library/Developer/Xcode/DerivedData/App-aqjeimytlifknpbxauygrrollgfw/ArchiveIntermediates/App/InstallationBuildProductsLocation/Applications/App/ResourceRules.plist --entitlements /Users/tarunkhurana/Library/Developer/Xcode/DerivedData/App-aqjeimytlifknpbxauygrrollgfw/ArchiveIntermediates/App/IntermediateBuildFilesPath/App.build/Release-iphoneos/App.build/App.xcent /Users/tarunkhurana/Library/Developer/Xcode/DerivedData/App-aqjeimytlifknpbxauygrrollgfw/ArchiveIntermediates/App_Parse/InstallationBuildProductsLocation/Applications/App.app


/Users/tarunkhurana/Library/Developer/Xcode/DerivedData/App-aqjeimytlifknpbxauygrrollgfw/ArchiveIntermediates/App/InstallationBuildProductsLocation/Applications/App.app: object file format invalid or unsuitable
Command /usr/bin/codesign failed with exit code 1

我正在使用Xocde4.2和iOS-5。任何帮助都会得到很大的帮助

0 个答案:

没有答案