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


当前回答

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

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

其他回答

如果ionic3项目在上传到iTunes Connect时显示此错误,请检查此答案

这是我的项目错误,当我试图诋毁。

最后遵循这个答案,错误解决了。

我也遇到了同样的问题,但无法用Shamsudheen TK提供的解决方案解决它。Ionic以某种方式为我的图标添加了透明度,即使源图标根本没有任何透明度。最后我用以下方法解决了这个问题:

安装imagemagick (MacOS):

酿造安装imagemagick

从资源文件夹中的所有图像中删除alpha通道:

查找。/resources/ name "*.png" -exec convert "{}" -alpha off "{}" \;

我遇到了这个问题,这是因为我的应用商店图标没有显式地列在config.xml中。一旦我加了一行

src="www/res/icon/ios/icon-1024.png" width="1024" />,

科多瓦没有添加alpha通道就正确复制了。

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

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

更新:这不是我的网站

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