我有一个没有错误的 iPhone 应用程序,并且我的应用程序正在正常存档,然后我在验证我的应用程序时遇到了问题,我收到消息“没有身份可用于签名”。
所以 Stack 上的一个问题告诉我下载我的分发证书并将其拖到我的应用程序中。我这样做了,然后出现以下错误。
我从我的项目中删除了文件,它运行良好,但是当我归档我的应用程序时,我收到了警告。我尝试了很多事情都无济于事。
(null): Application failed codesign verification. The signature was invalid, contains disallowed entitlements, or it was not signed with an iPhone Distribution Certificate. (-19011)
Validate /Users/blakeloizides/Library/Developer/Xcode/DerivedData/Novolam-gwqochjjqgryxnedazbaosfjksmz/Build/Intermediates/ArchiveIntermediates/Novolam/InstallationBuildProductsLocation/Applications/Novolam.app
cd /Users/blakeloizides/NETNRG/Novolam
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/blakeloizides/Library/Developer/Xcode/DerivedData/Novolam-gwqochjjqgryxnedazbaosfjksmz/Build/Intermediates/ArchiveIntermediates/Novolam/InstallationBuildProductsLocation/Applications/Novolam.app
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/blakeloizides/Library/Developer/Xcode/DerivedData/Novolam-gwqochjjqgryxnedazbaosfjksmz/Build/Intermediates/ArchiveIntermediates/Novolam/InstallationBuildProductsLocation/Applications/Novolam.app/Novolamcodesign_wrapper-4.1: using Apple CA for profile evaluation/Users/blakeloizides/Library/Developer/Xcode/DerivedData/Novolam-gwqochjjqgryxnedazbaosfjksmz/Build/Intermediates/ArchiveIntermediates/Novolam/InstallationBuildProductsLocation/Applications/Novolam.app: valid on disk/Users/blakeloizides/Library/Developer/Xcode/DerivedData/Novolam-gwqochjjqgryxnedazbaosfjksmz/Build/Intermediates/ArchiveIntermediates/Novolam/InstallationBuildProductsLocation/Applications/Novolam.app: satisfies its Designated Requirementtest-requirement: code failed to satisfy specified code requirement(s)codesign_wrapper-4.1: failed to execute codesign(1) - (null