应用商店连接操作错误资产验证失败

App store connect operation error asset validation failed

您好,我在使用 xCode 上传存档时遇到此错误。

以前有人遇到过这个错误吗?谢谢

您的资产有问题。应用程序图标不是 correct/missing 或者您需要检查您的图像。

我也遇到了同样的错误。我联系了 Apple 并收到了以下回复:

Thank you for contacting Apple Developer Program Support.

We are sorry to hear that an error message is displayed in Xcode and that you are unable to distribute the app.

We have checked our available resources and found that none of them correspond to the error you have inquired about.

We have identified a guide that may be related to the error you are experiencing and are sending it to you below.

Validate an archive of your app

If you need more information, please consider visiting the Apple Developer Forums, where you can discuss development issues with Apple engineers and other developers.

Developer Forums
https://developer.apple.com/forums/

For feedback on Xcode or to report a bug, please use the Feedback Assistant.

Developer Feedback Assistant
https://developer.apple.com/jp/bug-reporting/

We apologize for not being able to help you with your inquiry, but we hope the above resources will be of assistance.

此错误消息会在不同情况下出现,为了解决您的问题,您可以直接分发您的应用程序以获取更详细的错误消息。

我收到了同样的消息,因为我用旧文件夹覆盖了我的 ios 文件夹, 通过用新文件夹替换 ios 文件夹解决了这个问题。(你可以 运行 “flutter create newProject” 来获取它)

我遇到了同样的问题。即使验证继续失败,我最终还是尝试单击管理器中的“分发应用程序”按钮。这也失败了,但给了我一个更有用的错误信息。原来这个问题与资产无关。我添加了一个包含无效字符的重定向 uri 方案。我修复了它,验证成功。

我在 Ionic 项目中也遇到了这个错误。即使我的构建未通过 Xcode 验证,我还是尝试将其分发到 App Store,并收到以下错误,其中提供了更多详细信息:

Missing Info.plist value. A value for the Info.plist key 'CFBundleIconName' is missing in the bundle 'xx.xxxxx.xxxxxxxx'. Apps built with iOS 11 or later SDK must supply app icons in an asset catalog and must also provide a value for this Info.plist key. For more information see http://help.apple.com/xcode/mac/current/#/dev10510b1f7. With error code STATE_ERROR.VALIDATION_ERROR.90713 for id 97fb5968-9248-4336-a622-e015181dd333

在 Xcode 中,我检查了 app/app/assets,在 AppIcon 下,1024x1024px 图标丢失了。我添加了一个文件,生成了一个新版本,随后能够存档、验证和部署。

我从 Organizer 导出了 IPA 并使用了 Transporter 应用程序,它最终帮助我看到了问题。

发现问题与错误中所说的资产有关。不知道这是苹果的新要求还是旧要求,但您的资产中不能有 alpha 通道。所以我只是编辑了我所有的资产并删除了 alpha 通道,然后它就起作用了!希望对您有所帮助 ;)

我遇到了同样的错误,但是当我尝试上传应用程序时,它为我提供了详细信息,我使用的是苹果不接受的最新版本的相同版本。我刚刚更改了该版本的版本号并能够成功上传应用程序。

我在尝试验证我的应用程序时收到了相同的错误消息,因此我尝试分发该应用程序,但我收到了一条完整的错误消息,在我的例子中是:

无效的配置文件签名。在获得 Apple 的有效签名之前,捆绑包 'netoloboapps.com.mensagensProntas' (Payload/Runner.app) 中包含的配置文件不能用于将应用程序提交到 iOS App Store。 (配置文件签名证书已过期。)有关详细信息,请访问 iOS 开发人员门户。错误代码 STATE_ERROR.VALIDATION_ERROR.90165 为 id b493faef-bcf5-4732-995d-f7c6609a0354

我的问题是签名证书过期。所以这是提示,查看完整的错误消息并查看问题的根源。

我发现了同样的问题,但我没有在任何地方看到错误报告。我用 Flutter 构建我的应用程序,然后尝试编辑 version in pubsbec.yaml。我也编辑 version app in xcode。然后我的应用程序成功验证和分发

我刚刚将 iOS build version 3.6.3(92) 从 runner 更改为 3.6.4(92),它工作正常。因此,请尝试正确更改您的构建版本。

在我的例子中,它是版本号。 App 在 App Store 上发布后,要推送更新,请使用更高的版本号,例如 1.0.1(如果在生产中我们有 App 版本 1.0.0)。

App Store 的 XGA-sized 图标不能有 Alpha 通道(而且只有那个 - 所有其他资产都可以使用 Alpha 通道......看图)。这是许多不必要的怪癖之一 Xcode / AppStore Connect 让我抓狂。

在我的案例中,我犯了两个错误

The first one is the store version and Xcode build  versions are not matching 
The second one is something wrong with our assets. (Either the app icons are not created/missing or other images)
  1. 从 MacOS 应用商店安装“Transporter”应用。

  2. 来自 Xcode 的组织者,select 您的存档并按“分发应用程序”

  3. 而不是“上传”,select“导出”并照常进行。

  4. 将导出的 .ipa 放入传输器中,然后按“传送”。

  • 检查新版本是否大于旧版本

  • 在问题导航器中,您只需应用 Xcode 推荐的更改。开始点击issue看推荐,会自动提示

  • 下载Transporter,查看错误详情。

    • 您需要从 Xcode
    • 导出 appName.ipa
    • 在 Transporter
    • 中上传 appName.ipa

如果您已经部署(到应用商店)与您尝试验证 TestFlight 的应用相同的版本,您将看到此错误消息。与应用程序的最新版本相比,新的 TestFlight 版本必须具有后续版本号,如果它已经在应用程序商店中。