存档时应用程序失败的Codeign警告

时间:2012-07-05 17:05:34

标签: iphone objective-c ios xcode

  

可能重复:
  Code signing Error: Application failed codesign verification

所以我知道有几次像这样的问题,但他们似乎都没有回答我正在寻找的问题。我找到了关于如何解决这个问题的苹果文档,我已经系统地检查了每一件错误的东西,并且几乎在这个过程中失去了理智。我要尝试的唯一可能的选择是完全启动一个新项目并再次完成整个配置过程,我真的不想这样做。如果您有解决方案,我将非常感谢您的任何建议。

此错误

warning: Application failed codesign verification. The signature was invalid, 
    contains disallowed entitlements, or it was not signed with an iPhone 
    Distribution Certificate. (-19011)
Executable=/Users/aaronkawalsky/Library/Developer/Xcode/DerivedData/PetPocket-
    ctqkmlfzeawgfdcqlbsslqfrodvt/Build/Intermediates/ArchiveIntermediates/
    PetPocket/IntermediateBuildFilesPath/UninstalledProducts/PetPocket.app/
    PETPocket
codesign_wrapper-4.1: using Apple CA for profile evaluation
/Users/aaronkawalsky/Library/Developer/Xcode/DerivedData/PetPocket-  
    ctqkmlfzeawgfdcqlbsslqfrodvt/Build/Intermediates/ArchiveIntermediates/
    PetPocket/IntermediateBuildFilesPath/UninstalledProducts/PetPocket.app:
a sealed resource is missing or invalid In architecture: armv7
codesign_wrapper-4.1: failed to execute codesign(1)
 - (null)

这是构建日志

的结尾
CodeSign
/Users/aaronkawalsky/Library/Developer/Xcode/DerivedData/PetPocket-
        ctqkmlfzeawgfdcqlbsslqfrodvt/Build/Intermediates/ArchiveIntermediates/
        PetPocket/IntermediateBuildFilesPath/UninstalledProducts/PetPocket.app
    cd /Users/aaronkawalsky/Documents/petpocketiphone/trunk/PetPocket
    setenv CODESIGN_ALLOCATE /Applications/Xcode.app/Contents/Developer/
        Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
    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/bin/codesign --force --sign 57c0004c5de1c69a8edfdfd0fa604a772a250365
--resource-rules=/Users/aaronkawalsky/Library/Developer/Xcode/DerivedData/
        PetPocket-ctqkmlfzeawgfdcqlbsslqfrodvt/Build/Intermediates/
        ArchiveIntermediates/PetPocket/IntermediateBuildFilesPath/
        UninstalledProducts/PetPocket.app/ResourceRules.plist
--entitlements /Users/aaronkawalsky/Library/Developer/Xcode/DerivedData/
        PetPocket-ctqkmlfzeawgfdcqlbsslqfrodvt/Build/Intermediates/
        ArchiveIntermediates/PetPocket/IntermediateBuildFilesPath/
        PetPocket.build/Release-iphoneos/PetPocket.build/PetPocket.xcent
/Users/aaronkawalsky/Library/Developer/Xcode/DerivedData/
        PetPocket-ctqkmlfzeawgfdcqlbsslqfrodvt/Build/Intermediates/
        ArchiveIntermediates/PetPocket/IntermediateBuildFilesPath/
        UninstalledProducts/PetPocket.app

Validate
/Users/aaronkawalsky/Library/Developer/Xcode/DerivedData/
        PetPocket-ctqkmlfzeawgfdcqlbsslqfrodvt/Build/Intermediates/
        ArchiveIntermediates/PetPocket/IntermediateBuildFilesPath/
        UninstalledProducts/PetPocket.app
    cd /Users/aaronkawalsky/Documents/petpocketiphone/trunk/PetPocket
    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"
    setenv PRODUCT_TYPE com.apple.product-type.application
        /Applications/Xcode.app/Contents/Developer/
        Platforms/iPhoneOS.platform/Developer/usr/bin/Validation
/Users/aaronkawalsky/Library/Developer/Xcode/DerivedData/
        PetPocket-ctqkmlfzeawgfdcqlbsslqfrodvt/Build/Intermediates/
        ArchiveIntermediates/PetPocket/IntermediateBuildFilesPath/
        UninstalledProducts/PetPocket.app

再次,非常感谢任何帮助。

0 个答案:

没有答案