当我尝试向Itunes Connect提交应用程序时,我得到了以下错误。

iTunes Store Operation Failed

Error ITMS-90717: "Invalid App Store Icon. The App Store Icon in the asset catalog in 'YourApp.app' can't be transparent nor contain an alpha channel."

我提交了一份不透明的文件。所以在提交到iTunes Connect时错误仍然存在。


当前回答

如果您在这里并且正在使用Flutter,请尝试此包https://pub.dev/packages/flutter_launcher_icons

然后添加

flutter_launcher_icons:
flutter_icons:
  android: true
  ios: true
  remove_alpha_ios: true
  image_path: "assets/images/logo.png"

去你的酒吧。yaml文件 它帮我解决了自己的问题

其他回答

我尝试了这篇文章中提到的几种方法(除了转换成。jpg格式),都没有成功。我通过在photoshop中打开文件并使用“导出到web”来解决这个问题。在该进程/窗口中有一个用于透明度的复选框。

使用Alpha通道移除器。它可以让你把图标拖到应用程序中,它会消除透明度。

从这里下载:http://alphachannelremover.blogspot.com

更新:这不是我的网站

对于任何从颤振公司得到这个问题的人,像我一样

在你的pubspec.yaml:

flutter_icons:
  android: false. // I already had android icons
  ios: true
  remove_alpha_ios: true
  image_path: 'assets/images/icon.png' // Your image path

跑扑酒吧得到 运行flutter pub Run flutter_launcher_icons:main生成不带alpha的iOS图标。

在我挣扎了几天之后,这个为我解决了问题。是的,我确实尝试了这里建议的所有解决方案。其他方法都不管用。

不管你用什么方法,你都需要像我一样把它上传到app connect上进行测试,以确保它能正常工作,节省你宝贵的时间

错误信息本身是这样的:

“无效的应用商店图标。在资产目录中的应用程序商店图标 “YourApp。应用不能透明,也不能包含alpha通道。”

所有应用程序图标必须是方形的,不透明或半透明(alpha值!= 1.0)。

提示:应用程序图标可能有圆角。(在这里分享你的应用程序图标)

以下是苹果应用程序图标-人机界面指南