ios 错误 ITMS-90717:“无效的 App Store 图标”

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/46585809/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-31 09:33:48  来源:igfitidea点击:

Error ITMS-90717: "Invalid App Store Icon"

iosxcodeapp-storeapp-store-connect

提问by Haroldo Gondim

When I tried to submit an App to Itunes ConnectI got the following error.

当我尝试向我提交应用程序时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."

Error ITMS-90717I made sure that I submitted a file with no transparency. So the error persisted in submission to iTunes Connect.

错误 ITMS-90717我确保我提交的文件没有透明度。所以错误在提交到iTunes Connect.

回答by Shamsudheen TK

Below solution worked for me

以下解决方案对我有用

  1. Click & open the App Store icon (1024*1024) in preview app.
  2. Export it by unticking the Alphachannel.
  3. Replace the current App Store icon with the newly exported icon image.
  4. Validate and upload.
  1. 在预览应用程序中单击并打开 App Store 图标 (1024*1024)。
  2. 通过取消选中Alpha通道将其导出。
  3. 用新导出的图标图像替换当前的 App Store 图标。
  4. 验证并上传。

Note:This will not work on Mac OS High Sierra, please try a lower version to export without alpha or use any one of the image editing applications or try out the below alternatives.

注意:这在 Mac OS High Sierra 上不起作用,请尝试使用较低版本导出无 alpha 或使用任何一种图像编辑应用程序或尝试以下替代方法。

Alternative 1: (Using Sierra or High Sierra and Ionic)

备选方案 1:(使用 Sierra 或 High Sierra 和 Ionic)

  1. Copy and Paste the App Store icon to the desktop.
  2. Open the image. Click File Menu->Duplicate.
  3. Save it by unticking the Alphachannel.
  4. Replace the current App Store icon with this one.
  5. Validate and upload.
  1. 将 App Store 图标复制并粘贴到桌面。
  2. 打开图像。单击文件菜单-> 复制。
  3. 通过取消选中Alpha通道来保存它。
  4. 用这个替换当前的 App Store 图标。
  5. 验证并上传。

Alternative 2 :If duplicate does not work, try doing opening it in preview and then doing file export. I was able to unselect the alpha channel there. – by Alejandro Corredor.

备选方案 2:如果复制不起作用,请尝试在预览中打开它,然后进行文件导出。我能够在那里取消选择 alpha 通道。– 亚历杭德罗·科雷多 (Alejandro Corredor)。

enter image description here

在此处输入图片说明

回答by Lukas

I faced the same problem and wasn't able to fix it with the provided solution by Shamsudheen TK. Ionic somehow added transparency to my icons even if the source icon did not have any transparency at all. In the end I was able to resolve it by:

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

Install imagemagick (MacOS):

安装 imagemagick (MacOS):

brew install imagemagick

brew 安装 imagemagick

Remove alpha channel from all images in resource folder:

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

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

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

回答by Shukov

Here is a solution that have worked for me on High Sierra

这是一个在 High Sierra 上对我有用的解决方案

  1. Open the App Store icon (1024*1024) in Previewapp(default OSX image viewer).
  2. Click on the Filemenu from the menu bar and select Export. view screenshot
  3. Uncheck Alpha, select where you would like to export the image and click on the Savebutton. view screenshot
  4. Replace the current App Store icon with the newly exported icon image.
  5. Validate and upload.
  1. Preview应用程序(默认 OSX 图像查看器)中打开 App Store 图标 (1024*1024 )。
  2. 单击File菜单栏中的菜单并选择Export查看截图
  3. 取消选中Alpha,选择要导出图像的位置,然后单击Save按钮。查看截图
  4. 用新导出的图标图像替换当前的 App Store 图标。
  5. 验证并上传。

回答by coders

Whatever way you try above you need to test it by upload it to app connect like me to make sure it works and save your valuable time

无论您尝试上述哪种方式,您都需要通过将其上传到像我这样的应用程序连接来测试它,以确保它可以正常工作并节省您的宝贵时间

enter image description here

在此处输入图片说明

enter image description here

在此处输入图片说明

回答by Yuyang He

If showing this error for ionic3project when you upload to iTunes Connect, please check this ANSWER

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

This is my project error when I try to vilidated. enter image description here

这是我尝试验证时的项目错误。 在此处输入图片说明

Finally follow this ANSWER, error solved. enter image description here

最后按照这个ANSWER,错误解决了。 在此处输入图片说明

回答by Haroldo Gondim

Even the .pngfile without transparency the error persists.

即使.png文件没有透明度,错误仍然存​​在。

The solutionwas to change the .pngfile to a .jpgfile.

解决方案是将改变.png文件到一个.jpg文件中。

enter image description here

在此处输入图片说明

回答by che-azeh

Dumb mistake from my part, didn't archive the app after removing alpha. Just kept submitting my old archived app and finding same alpha/transparency error. Hope it helps someone.

我的愚蠢错误,在删除 alpha 后没有存档应用程序。只是不断提交我的旧存档应用程序并发现相同的 alpha/透明度错误。希望它可以帮助某人。

回答by Krunal

An error message itself says:

错误消息本身说:

"Invalid App Store Icon. The App Store Icon in the asset catalog in 'YourApp.app' can't be transparent nor contain an alpha channel."

“无效的 App Store 图标。'YourApp.app' 中资产目录中的 App Store 图标不能是透明的,也不能包含 alpha 通道。”

All app icon must be square without transparency or semi transparent (alpha value != 1.0).

所有应用程序图标必须是不透明或半透明的方形 ( alpha value != 1.0)。

Hint: App icon may have rounded corners. (Share your app icons here)

提示:应用程序图标可能有圆角。(在此处分享您的应用图标)

Here is Apple guidelines for App Icon - Human Interface

这是 Apple 的App Icon - Human Interface 指南

回答by alloyking

I tried several of the things mentioned in this post (besides swapping to a .jpg) with no success. I solved it by opening the file in photoshop and using 'export to web'. Within that process/window is a checkbox for transparency.

我尝试了这篇文章中提到的几件事(除了交换为 .jpg),但没有成功。我通过在 photoshop 中打开文件并使用“导出到网络”来解决它。在该进程/窗口中是一个透明度复选框。

回答by frodo2975

I had this problem and it was because my app store icon wasn't explicitly listed in my config.xml. Once I added the line

我遇到了这个问题,这是因为我的应用商店图标没有明确列在我的config.xml. 一旦我添加了这一行

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

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

cordova copied it over correctly without adding an alpha channel.

科尔多瓦在没有添加 alpha 通道的情况下正确复制了它。