我花了最近几个小时试图解决这个问题,我没有得到任何地方。至少我有错误的详细报告,但我不知道如何解释它。应用程序失败的代码签名验证日志解释
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'.
那么这两个值来自哪里呢?我想我只需要改变其中的一个来匹配其他的。哪一个更容易修改?我认为在需要输入这些价值的时候,我的印象是这些名字并不重要,所以我没有特别注意确保一致性。
不幸的是,这并没有奏效。我撤销了我的旧发行证书(不是那么古老)。然后,我在上传新CSR后创建了一个新的CSR。然后我使用该证书创建了一个新的配置文件。我没有创建一个新的应用程序ID,但使用现有的。仍然没有去。 – 2012-07-15 05:35:37
我更新了问题。似乎我必须解决不匹配问题:“供应配置文件”Troll日历应用程序商店“指定与当前设置”com.domain.Foo-Bar“不匹配的应用程序标识符”com.domain.foo.bar“。” – 2012-07-15 16:01:37