Error ITMS-90717: "Invalid App Store Icon"
Asked Answered
D

26

298

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

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-90717 I made sure that I submitted a file with no transparency. So the error persisted in submission to iTunes Connect.

Dodiedodo answered 5/10, 2017 at 12:36 Comment(5)
Looks like a duplicate of #25682369 to me.Vindicable
Unrelated to iOS or Swift.Vindicable
@MartinR the question is different. My is when you submitting the app through the Xcode, the question you show is uploading image direct to iTunes Connect.Dodiedodo
Okay, so one big thing I was missing was to rearchive the file. Then upload it again and it work. Maybe some other noobie got stuck at that point, so here I am mentioning it.Towards
Remove the Alpha Chanel on you App icons in project folder.Rabbi
U
585

The below solution worked for me

  1. Click & open the App Store icon (1024*1024) in the preview app.
  2. Export it by unticking the Alpha channel.
  3. Replace the current App Store icon with the newly exported icon image.
  4. Validate and upload.

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.

Alternative 1: (Using Sierra or High Sierra and 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 Alpha channel.
  4. Replace the current App Store icon with this one.
  5. Validate and upload.

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. – @AlejandroCorredor.

Alternative 3 : Using High Sierra and Ionic, found the problem image in the following folder: [app name]/platforms/ios/[app name]/Images.xcassets/Appicon.appiconset/icon-1024.png. We have to copy it to the desktop and Save As while unchecking Alpha, then rename it to icon-1024.png, then delete the original and copy the new file back to the original folder. Export did not work though no error was displayed and all permissions were set/777. – @RalphHinkley

enter image description here

Ultranationalism answered 6/10, 2017 at 16:8 Comment(7)
I had to regenerate again the resources for ios, after that recompile and "archive". ThanksBleed
@ShamsudheenTK I am sorry to answer to an old post, but I am not able to solve this error. I did what you wrote and I am pretty sure my image does not have transparency and alpha. Do I need to to do it for all the images, or just for the App Store icon (1024x1024 size)?Jacindajacinta
@GiacomoM you should apply only to the App Store icon (1024x1024). The other assets are okay with alpha. Could you please check the Alternative option that I mentioned in my answer? Please let me know, if you are experiencing the same issue even after the Alternative option.Ultranationalism
@ShamsudheenTK I did something like that. I did not duplicate, I opened the image and I saved it unchecking the alpha tickJacindajacinta
@GiacomoM please try to duplicate and save it (uncheck the alpha tick). Replace the old image with the newly created one!Ultranationalism
@ShamsudheenTK if I duplicate the file I can not check or uncheck anything. The ios just copies the file without any confirm window.Jacindajacinta
if you are getting here using Ionic 4+ it's important to note that after you remove the alpha layer and after you create the resources with $ ionic cordova resources you will need to rebuild the application with $ ionic cordova build ios --release for xCode to recognize the changes!Fremont
P
109

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:

Install imagemagick (MacOS):

brew install imagemagick

Remove alpha channel from all images in resource folder:

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

Perforce answered 13/11, 2017 at 12:18 Comment(9)
Thank you. I sure can't wait until the ionic/cordova team fixes the resources command to remove alpha channel from PNG's automatically for iOS builds.Post
I was also having this problem with Ionic app in MacOS High Sierra and this solution worked! Thanks!Sweptback
upon running this command, is there a flag will show whats going on ?Errol
Why showing me find: convert: No such file or directoryConcentrate
@Perforce showing this find: convert: No such file or directory, is it path problem? I am using ionic3Concentrate
Are you in the root folder of your ionic3 project? What is the output of pwd?Perforce
#48459580 check, pleaseConcentrate
@Perforce yes, I am in root folder which I running it in VScodeConcentrate
@YuyangHe convert is part of imagemagick. That's why it needs to be installed.Aurore
R
45

For anyone arriving to this question from Flutter, like myself:

  1. In your 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
  1. Run flutter pub get

  2. Run flutter pub run flutter_launcher_icons:main to generate the iOS icons without alpha.

This fixed it for me after days of struggling. And yes, I did try all the solutions suggested here. Nothing else worked.

Redress answered 18/10, 2021 at 11:1 Comment(0)
A
34

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

  1. Open the App Store icon (1024*1024) in Preview app(default OSX image viewer).
  2. Click on the File menu 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 Save button. view screenshot
  4. Replace the current App Store icon with the newly exported icon image.
  5. Validate and upload.
Adrien answered 13/9, 2018 at 8:8 Comment(0)
A
18

If you are here and you are using Flutter, try this package https://pub.dev/packages/flutter_launcher_icons

Then add

flutter_launcher_icons:
flutter_icons:
  android: true
  ios: true
  remove_alpha_ios: true
  image_path: "assets/images/logo.png"

to your pubspec.yaml file It solved my own problem for me

Alterative answered 13/7, 2021 at 8:32 Comment(1)
remove_alpha_ios: true FTW!Dresden
P
9

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

Pearlene answered 7/7, 2019 at 1:13 Comment(1)
This no longer works because App Store Connect is now extracting the icon automatically from the uploaded app release buildDowdell
C
7

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

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

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

Concentrate answered 29/1, 2018 at 6:42 Comment(1)
It's specific for Ionic, since this question is not, this answer you pointed doesn't fit this question.Factional
S
7

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

Solved in Catalina

  1. copy to desktop
  2. open image in PREVIEW APP.
  3. File -> Duplicate Close the first opened preview
  4. after try to close the second duplicated image, then it will prompt to save there you will available to untick AlPHA

look into my screenshot

nvalid App Store Icon Solved in Catalina

Sinusoidal answered 22/7, 2020 at 14:43 Comment(0)
J
6

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.

Javed answered 19/12, 2019 at 13:22 Comment(0)
K
6

If you’re using Sierra or later

  1. Navigate to AppIcon.appiconset folder within your Runner folder
  2. Open App Icon image using preview.
  3. At the topmost left of your screen select File its beside edit.
  4. Within the file drop down select export.
  5. Deselect alpha list item.
  6. Replace the deselected alpha image with old one.

Replicate this for all App Icon images in your Assets.xcassets

Kazbek answered 17/10, 2021 at 4:12 Comment(0)
G
5
  1. Generate App icon from here https://appicon.co/
  2. Delete Assets.xcassets file (project->ios->runner)
  3. Copy Assets.xcassets from newly generated icons folder and past here (project->ios->runner)
  4. perform clean build folder from XCode
  5. then archive and upload new build
Gavotte answered 17/3, 2022 at 18:47 Comment(0)
A
3

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."

All app icon must be square without transparency or semi transparent (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

Audun answered 5/10, 2017 at 12:54 Comment(0)
C
2

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.

Clive answered 27/9, 2018 at 3:31 Comment(0)
S
2

Remove the alpha channel using this command in the folder 'Images.xcassets', this command will remove all alpha channels from your .png files and it will put the background color to white

for i in `ls *.png`; do convert $i -background white -alpha remove -alpha off $i; done
Shook answered 6/1, 2020 at 2:19 Comment(0)
S
1

If you don't have a mac, on windows you can open Paint and save as PNG with correct dimensions 1024x1024

Sulphurbottom answered 16/11, 2019 at 18:18 Comment(0)
T
1

If you're facing this issue in Flutter then you're good to go here.

Issue is indicating you're using .png as image asset. Just try to replace .png to .jpg and build your project again..!!

Use this plugin. - 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"

Make sure you're using the .jpg image extension as the image path.

This help me to upload the app to the App Store.

Thorpe answered 15/12, 2020 at 10:50 Comment(1)
The dedicated remove_alpha_ios flag is the recommended way, since image quality may differ for JPG files compared to PNGInquiry
P
0

I was able to get around the Mac Sierra OS issue by duplicating the file, dragging the new file onto my desktop, open in preview, then click the export option (in the File menu) , then the option to save it without “alpha” comes up

Puny answered 27/7, 2018 at 22:15 Comment(0)
L
0

Use Alpha Channel Remover. It lets you drag icons into the app and it'll remove transparency.

Download it from here: http://alphachannelremover.blogspot.com

Update: this is not my site

Leicestershire answered 13/8, 2018 at 21:1 Comment(2)
Extra info: since iOS 8, Apple doesn't accept icons with transparency. You have to design a square icon, which can be a background color of choice with your icon in the center.Claussen
Is this your site? Please explicitly state if it is or not.Offcenter
H
0

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

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

cordova copied it over correctly without adding an alpha channel.

Hennahane answered 4/1, 2019 at 21:26 Comment(0)
C
0

Alternative:(Using Sierra or High Sierra and 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 Alpha channel.
  4. Replace the current App Store icon with this one.
  5. Validate and upload.
Changeover answered 16/11, 2019 at 5:42 Comment(0)
N
0

I also shell script using ffmpeg to resize images without alphachannel. It worked for png format fine.

# 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
Navarro answered 24/2, 2020 at 17:14 Comment(0)
K
0

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.

Kleeman answered 10/5, 2021 at 11:52 Comment(0)
B
0

I am using Windows so in my case I used paint.net.

  1. Open the icon in question and click Ctrl+S
  2. A Save configuration dialog will pop out.
  3. Select 24-bit Depth

enter image description here

After this icons got accepted.

P.S Another option colleague suggested was to simply open with ms paint and save it, since paint does not support transparency, but I haven't tested it.

Bluebill answered 7/7, 2021 at 9:25 Comment(0)
W
0

Firt of all I change the logo to unAlpha and replace the previous icons via $flutter pub run flutter_launcher_icons but it still doesn't work. I removed finally the unassigned AppIcons & remove from the Contents.json all over icons such as iPad &TV icons cause I specified only iPhone version then It's work for me.

Wynnie answered 3/3, 2023 at 9:8 Comment(0)
H
0

Simpelest way I fixed this was opening the PNG in MS Paint saving it as a jpg. Than saved it back to PNG. That did remove the alpha channel.

Haymo answered 17/2 at 21:34 Comment(0)
C
-3

changed the icon from .png format to .jpg and everything went well.

Cube answered 8/7, 2019 at 15:44 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.