归档我的应用程序以上传到iTunes Connect时,我遇到了这个问题。
我已使用Xcode的管理器成功上传,状态为:等待审核。
我想知道如何修复此警告。此外,通过此警告,我的应用程序是否会通过审核流程?
关于这个特殊问题有很多答案,但没有人可以解决我的问题。
提前谢谢!
开发环境:Xcode 4.3.2和Mac OS X 10.7.4
Validate /Users/jxdwinter/Library/Developer/Xcode/DerivedData/StarHopeFundingApprovalSystem-azmlbbmdkygsuqbxaoguxikbbnfo/Build/Intermediates/ArchiveIntermediates/StarHopeFundingApprovalSystem/InstallationBuildProductsLocation/Applications/StarHopeFundingApprovalSystem.app
cd /Users/jxdwinter/Desktop/StarHopeFundingApprovalSystem
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/jxdwinter/Library/Developer/Xcode/DerivedData/StarHopeFundingApprovalSystem-azmlbbmdkygsuqbxaoguxikbbnfo/Build/Intermediates/ArchiveIntermediates/StarHopeFundingApprovalSystem/InstallationBuildProductsLocation/Applications/StarHopeFundingApprovalSystem.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/jxdwinter/Library/Developer/Xcode/DerivedData/StarHopeFundingApprovalSystem-azmlbbmdkygsuqbxaoguxikbbnfo/Build/Intermediates/ArchiveIntermediates/StarHopeFundingApprovalSystem/InstallationBuildProductsLocation/Applications/StarHopeFundingApprovalSystem.app/StarHopeFundingApprovalSystem
AssertMacros: message, file: codesign_wrapper.c, line: 554
AssertMacros: profile, file: codesign_wrapper.c, line: 918
codesign_wrapper-0.7.10: Failed to load provision profile from: /Users/jxdwinter/Library/Developer/Xcode/DerivedData/StarHopeFundingApprovalSystem-azmlbbmdkygsuqbxaoguxikbbnfo/Build/Intermediates/ArchiveIntermediates/StarHopeFundingApprovalSystem/InstallationBuildProductsLocation/Applications/StarHopeFundingApprovalSy- (null)
答案 0 :(得分:1)
确切的问题发生在我身上,2周前我的应用程序被拒绝了,因为它未能在审核时初始化我必须重新创建我的分发证书并在接受之前重新提交。 确保从Xcode中的管理器窗口中删除旧证书,然后单击刷新,以便从iTunes连接自动检索证书。
更新: 这只是发生在我身上的第二个应用程序,我通过缩短项目方案标题并删除标题中的所有空格来修复。在做其他任何事情之前,请尝试这个简单的措施。
更新: 该方案位于Xcode的左上角,点击它>编辑方案>重复方案>将副本的名称更改为较短的
答案 1 :(得分:0)
Application failed codesign verification. The signature was invalid, contains disallowed entitlements, or it was not signed with an iPhone Distribution Certificate.
这意味着,你的发行版有问题。证书。尝试重新创建它。还尝试删除权利或在项目和配置门户,配置文件中修复它们。如果您正确签署了发布/分发版本,请检查。