1

我花了过去几个小时试图解决这个问题,但我没有得到任何结果。至少我有错误的详细报告,但我不确定如何解释它。

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 上运行良好。我以为我做了所有我需要做的事情才能将它发送到应用商店,但我无法克服这一点。如果在某处需要完成所有事情的清单,那就太好了,但似乎这样的事情不存在。

PS OK 也许我有一些进展。我从自动配置文件匹配更改为手动设置配置文件,但没有收到指示不匹配的错误。

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'.

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

4

3 回答 3

1

尝试创建一个新的分发证书。

于 2012-07-15T04:04:28.267 回答
0

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

于 2012-07-15T16:17:34.450 回答
0

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

在那里,我为我的分发配置设置了 iPhone 分发证书。

于 2013-08-20T07:09:09.050 回答