当我尝试向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,在windows上你可以打开Paint并保存为正确尺寸1024x1024的PNG

其他回答

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

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

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

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

安装imagemagick (MacOS):

酿造安装imagemagick

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

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

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

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

更新:这不是我的网站

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

在卡特琳娜解决

复制到桌面 在预览APP中打开图像。 关闭第一个打开的预览 在尝试关闭第二个复制的图像后,它会提示保存在那里,你可以取消勾选AlPHA

看看我的截图

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.