当我尝试向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遇到这个问题,那么你可以去这里。

问题是指示您使用。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图像扩展名作为图像路径。

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

其他回答

我还shell脚本使用ffmpeg调整图像大小没有阿尔法通道。它适用于png格式。

# Export ios app icons by ffmpeg scale command
# usage: sh export_ios_icons.sh {path_to_your_img}
# example: sh export_ios_icons.sh ./app_icon.png

# sizes of images
# you can get other size images by editing thisarray
size=(20 40 60 29 58 87 80 120 180 76 152 167 1024)
for i in "${size[@]}"
do
   : 
    ffmpeg -i $1 -vf scale=$i:$i output_$ix$i.png
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图像扩展名作为图像路径。

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

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.

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

下面的解决方案对我很有效

点击并打开预览应用程序中的应用商店图标(1024*1024)。 通过取消Alpha通道来导出它。 将当前的App Store图标替换为新导出的图标图像。 验证并上传。

注意:这将不适用于Mac OS High Sierra,请尝试低版本的导出没有alpha或使用任何一个图像编辑应用程序或尝试以下替代方案。

选择1:(使用Sierra或High Sierra和Ionic)

复制并粘贴应用商店图标到桌面。 打开映像。单击“文件菜单”->副本。 通过取消Alpha通道来保存它。 用这个图标替换当前的App Store图标。 验证并上传。

替代方案2:如果复制不工作,尝试在预览中打开它,然后进行文件导出。我可以取消alpha通道的选择。——@AlejandroCorredor。

选择3:使用High Sierra和Ionic,在以下文件夹中发现问题图像:[应用名称]/platforms/ios/[应用名称]/Images.xcassets/Appicon.appiconset/icon-1024.png。我们必须将其复制到桌面并另存为,同时取消选中Alpha,然后将其重命名为icon-1024.png,然后删除原始文件并将新文件复制回原始文件夹。导出不工作,但没有显示错误,所有权限都设置了/777。——@RalphHinkley