当我尝试向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时错误仍然存在。


当前回答

我可以通过复制文件来解决Mac Sierra OS的问题,将新文件拖到桌面上,在预览中打开,然后单击导出选项(在文件菜单中),然后出现不带“alpha”的保存选项

其他回答

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

如果你在Flutter遇到这个问题,那么你可以去这里。

问题是指示您使用。png作为图像资产。只是尝试将.png替换为.jpg,然后重新构建您的项目!!

使用这个插件。- flutter_launcher_icons: ^0.8.1

flutter_icons:
  android: "ic_launcher"
  image_path_android: "assets/logo_panda.jpg"
  ios: true
  image_path_ios: "assets/logo_panda.jpg"

确保使用.jpg图像扩展名作为图像路径。

这有助于我将应用程序上传到应用程序商店。

如果您在这里并且正在使用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文件 它帮我解决了自己的问题

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

在你的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图标。

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

使用Images文件夹中的命令删除alpha通道。Xcassets ',这个命令将从你的。png文件中删除所有alpha通道,并将背景颜色设置为白色

for i in `ls *.png`; do convert $i -background white -alpha remove -alpha off $i; done