0

可能重复:
代码签名错误:应用程序代码签名验证失败

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

对于这个错误

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

再次,任何帮助将不胜感激。

4

0 回答 0