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


当前回答

将图标从。png格式改为。jpg格式,一切都很顺利。

其他回答

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

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

如果你在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图像扩展名作为图像路径。

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

如果你没有mac,在windows上你可以打开Paint并保存为正确尺寸1024x1024的PNG

I also tried exporting without alpha it did not work for me but I figured it out that why I was getting error. I create an AppIcon using Figma & Sketch, but I tried to make a 2D geometry shape to 3D viewable. So I assume that I can achieve it by using some shadows & the same geometry but with lower alpha-like %70. After that, I got the AppIcon and export it without Alpha ticking but the problem was the main source of the image includes a container with lower alpha-like I did. So I change it to another graphical shape without alpha and it worked.

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

安装imagemagick (MacOS):

酿造安装imagemagick

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

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