应用程序失败代码签名验证日志解释

时间:2012-07-15 03:12:41

标签: xcode signature codesign

我花了最后几个小时试图解决这个问题,而且我没有到达任何地方。至少我有一个错误的详细报告,但我不确定如何解释它。

Validate "/Users/brillig/Library/Developer/Xcode/DerivedData/Troll_Calendar-aiiisgrydufzgqacxoigzflbhwzv/Build/Products/Release-iphoneos/Troll Calendar.app"
    cd "/Users/brillig/Desktop/Source Code/Troll Calendar"
    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/brillig/Library/Developer/Xcode/DerivedData/Troll_Calendar-aiiisgrydufzgqacxoigzflbhwzv/Build/Products/Release-iphoneos/Troll Calendar.app"

warning: Icon specified in the Info.plist not found under the top level app wrapper:  (-19007)
Unable to validate your application. - (null)

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/brillig/Library/Developer/Xcode/DerivedData/Troll_Calendar-aiiisgrydufzgqacxoigzflbhwzv/Build/Products/Release-iphoneos/Troll Calendar.app/Troll Calendar
codesign_wrapper-4.1: using Apple CA for profile evaluation
/Users/brillig/Library/Developer/Xcode/DerivedData/Troll_Calendar-aiiisgrydufzgqacxoigzflbhwzv/Build/Products/Release-iphoneos/Troll Calendar.app: valid on disk
/Users/brillig/Library/Developer/Xcode/DerivedData/Troll_Calendar-aiiisgrydufzgqacxoigzflbhwzv/Build/Products/Release-iphoneos/Troll Calendar.app: satisfies its Designated Requirement
test-requirement: code failed to satisfy specified code requirement(s)
codesign_wrapper-4.1: failed to execute codesign(1)
 - (null)

我等待回复时会处理图标问题。当我为开发构建它时,应用程序在我的iPad上运行得很好。我以为我已经做了我需要做的一切,以便将它发送到应用程序商店,但我无法通过这个。如果有一个清单需要完成,那就好了,但似乎不存在这样的事情。

P.S。好吧也许我有一些进展。我从自动配置文件匹配更改为手动设置配置文件,而不是我收到指示不匹配的错误。

Provisioning profile 'Troll Calendar App Store' specifies the Application Identifier 'com.domain.foo.bar' which doesn't match the current setting 'com.domain.Foo-Bar'.

那么这两个价值来自哪里?我想我只需要改变其中一个以匹配另一个。哪一个更容易修改?我认为当时需要输入这些值,我的印象是名称并不重要,所以我没有特别注意确保一致性。

3 个答案:

答案 0 :(得分:1)

尝试创建新的分发证书。

答案 1 :(得分:0)

我通过选择Target,Info解决了组织者中的问题,并更改了包标识符名称以匹配保留的标识符。

答案 2 :(得分:0)

我有同样的错误。对我来说问题是我在PROJECT设置中进行了代码签名。我发现产品TARGET的设置相同。

我为我的分发配置设置了iPhone分发证书。

相关问题