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
Error ITMS-90717: "Invalid App Store Icon"
提问by Haroldo Gondim
When I tried to submit an App to Itunes Connect
I 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."
I made sure that I submitted a file with no transparency. So the error persisted in submission to
iTunes Connect
.
回答by Shamsudheen TK
Below solution worked for me
以下解决方案对我有用
- Click & open the App Store icon (1024*1024) in preview app.
- Export it by unticking the Alphachannel.
- Replace the current App Store icon with the newly exported icon image.
- Validate and upload.
- 在预览应用程序中单击并打开 App Store 图标 (1024*1024)。
- 通过取消选中Alpha通道将其导出。
- 用新导出的图标图像替换当前的 App Store 图标。
- 验证并上传。
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)
- Copy and Paste the App Store icon to the desktop.
- Open the image. Click File Menu->Duplicate.
- Save it by unticking the Alphachannel.
- Replace the current App Store icon with this one.
- Validate and upload.
- 将 App Store 图标复制并粘贴到桌面。
- 打开图像。单击文件菜单-> 复制。
- 通过取消选中Alpha通道来保存它。
- 用这个替换当前的 App Store 图标。
- 验证并上传。
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)。
回答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 上对我有用的解决方案
- Open the App Store icon (1024*1024) in
Preview
app(default OSX image viewer). - Click on the
File
menu from the menu bar and selectExport
. view screenshot - Uncheck
Alpha
, select where you would like to export the image and click on theSave
button. view screenshot - Replace the current App Store icon with the newly exported icon image.
- Validate and upload.
回答by coders
回答by Yuyang He
回答by Haroldo Gondim
回答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 通道的情况下正确复制了它。