在xcode中存档时会弹出一个错误

时间:2012-08-12 06:09:58

标签: xcode xcode4.4

所以我即将上传应用程序商店的应用程序。我存档我的项目和BAM我得到了这个

Validate /Users/Kylegreenlaw/Library/Developer/Xcode/DerivedData/KiwiShirt-cwawgqvhcfaoiicuugooqpycmxoa/Build/Intermediates/ArchiveIntermediates/KiwiShirt1/InstallationBuildProductsLocation/Applications/KiwiShirt.app
cd /Users/Kylegreenlaw/Documents/KiwiShirt1
setenv PATH "/Applications/Xcode45-DP4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode45-DP4.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
setenv PRODUCT_TYPE com.apple.product-type.application
/Applications/Xcode45-DP4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/Validation /Users/Kylegreenlaw/Library/Developer/Xcode/DerivedData/KiwiShirt-cwawgqvhcfaoiicuugooqpycmxoa/Build/Intermediates/ArchiveIntermediates/KiwiShirt1/InstallationBuildProductsLocation/Applications/KiwiShirt.app

Executable=/Users/Kylegreenlaw/Library/Developer/Xcode/DerivedData/KiwiShirt-cwawgqvhcfaoiicuugooqpycmxoa/Build/Intermediates/ArchiveIntermediates/KiwiShirt1/InstallationBuildProductsLocation/Applications/KiwiShirt.app/KiwiShirtcodesign_wrapper-4.1: using Apple CA for profile evaluation/Users/Kylegreenlaw/Library/Developer/Xcode/DerivedData/KiwiShirt-cwawgqvhcfaoiicuugooqpycmxoa/Build/Intermediates/ArchiveIntermediates/KiwiShirt1/InstallationBuildProductsLocation/Applications/KiwiShirt.app: valid on disk/Users/Kylegreenlaw/Library/Developer/Xcode/DerivedData/KiwiShirt-cwawgqvhcfaoiicuugooqpycmxoa/Build/Intermediates/ArchiveIntermediates/KiwiShirt1/InstallationBuildProductsLocation/Applications/KiwiShirt.app: satisfies its Designated Requirementtest-requirement: code failed to satisfy specified code requirement(s)codesign_wrapper-4.1: failed to execute codesign(1) - (null

Application failed codesign verification.  The signature was invalid, contains disallowed entitlements, or it was not signed with an iPhone Distribution Certificate. (-19011)

没有任何意义,我的钥匙链中有拆解档案和开发档案?

这里有什么问题,我该如何解决?

1 个答案:

答案 0 :(得分:3)

你必须检查两件事:

  1. 检查“目标和项目的构建设置”中是否更正了“分发/发布”配置文件。
  2. 检查项目的方案,并为分发/发布配置文件设置存档。