iOS TestFlight - 如何提供 1024x1024 图标?

iOS TestFlight - how to provide 1024x1024 icon?

因为应用程序实际上不需要 1024x1024 图标大小,所以我没有将它包含在构建中。我上传了构建,然后在 iTunes Connect 的应用商店提交页面上上传了图标,这似乎对应用商店提交有效。

但是,我现在正尝试通过 TestFlight 提交 public 测试,但是当我尝试创建群组时,我收到一条消息,抱怨我没有上传 1024x1024 图标,而且我可以通过 iTunes Connect 这样做。我该怎么做?

如果您提交通过 Xcode 9 生成的 ipa,iTunes Connect 会抛出以下错误:

Missing App Store Icon - iOS Apps must include a 1024x1024px App Store Icon in PNG 
format. Without providing the icon in the Asset Catalog or via iTunes Connect, apps 
cannot be submitted for App Review or Beta App Review. Refer to
https://developer.apple.com/ios/human-interface-guidelines/icons-and-images/app-icon/ for more information.

这仅适用于通过 Xcode 9+ 生成的应用程序。如果你想避免这种情况,你仍然可以使用 Xcode 8.

生成 ipa

在Xcode9中,App Icon部分,有添加1024*1024图标的规定。

  • 转到项目中的图像文件夹
  • 导航到 Image.xcassets
  • 单击 AppIcon
  • 导航到底部,您会看到 App Store iOS 1024pt (1x)

Screenshot of the app icon image asset with 1024*1024 icon available here