Error ITMS-90717: "Invalid App Store Icon"

151,946

Solution 1

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. – by Alejandro Corredor.

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. Hope this helps save someone the day I just lost. – by Ralph Hinkley

enter image description here

Solution 2

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 "{}" \;

Solution 3

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.

Solution 4

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

Solution 5

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

Share:
151,946

Related videos on Youtube

Haroldo Gondim
Author by

Haroldo Gondim

Updated on July 12, 2022

Comments

  • Haroldo Gondim
    Haroldo Gondim almost 2 years

    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.

    • Martin R
      Martin R over 6 years
      Looks like a duplicate of stackoverflow.com/questions/25681869/… to me.
    • Martin R
      Martin R over 6 years
      Unrelated to iOS or Swift.
    • Haroldo Gondim
      Haroldo Gondim over 6 years
      @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.
    • konsti1337
      konsti1337 over 5 years
      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.
    • maddy
      maddy over 4 years
      Remove the Alpha Chanel on you App icons in project folder.
  • Cy-4AH
    Cy-4AH over 6 years
    Bad solution. JPG loose image quality. Better to greate png without alpha channel as it described in message.
  • Satheesh
    Satheesh over 6 years
    This will not work on Mac OS High Sierra, please try a lower version to export without alpha. Hope it helps someone.
  • auspicious99
    auspicious99 over 6 years
    As @satheeshwaran reported, doesn't work on Mac OS High Sierra for me too.
  • Shamsudheen TK
    Shamsudheen TK over 6 years
    @satheeshwaran auspicious99: updated as a note. Thank you very much for sharing this with us.
  • pbnelson
    pbnelson over 6 years
    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.
  • Bruno Silvano
    Bruno Silvano over 6 years
    I was also having this problem with Ionic app in MacOS High Sierra and this solution worked! Thanks!
  • JP.
    JP. over 6 years
    upon running this command, is there a flag will show whats going on ?
  • Ralph Hinkley
    Ralph Hinkley over 6 years
    Using High Sierra and Ionic, i found the problem image in the following folder: [app name]/platforms/ios/[app name]/Images.xcassets/Appicon.appiconset/icon-1024.png. I had 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. Hope this helps save someone the day I just lost.
  • Yuyang He
    Yuyang He over 6 years
    Why showing me find: convert: No such file or directory
  • Yuyang He
    Yuyang He over 6 years
    @Lukas showing this find: convert: No such file or directory, is it path problem? I am using ionic3
  • Lukas
    Lukas over 6 years
    Are you in the root folder of your ionic3 project? What is the output of pwd?
  • Yuyang He
    Yuyang He about 6 years
  • Yuyang He
    Yuyang He about 6 years
    @Lukas yes, I am in root folder which I running it in VScode
  • Abdelrahman Ellithy
    Abdelrahman Ellithy about 6 years
    Worked for me with high sierra
  • AlejandroDG
    AlejandroDG almost 6 years
    I had to regenerate again the resources for ios, after that recompile and "archive". Thanks
  • João Souza
    João Souza over 5 years
    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.
  • Filnor
    Filnor over 5 years
    Is this your site? Please explicitly state if it is or not.
  • iphondroid
    iphondroid over 5 years
    Worked for macOS Mojave 10.14.1 and Xcode 10.1 using the first solution.
  • cssmtnr
    cssmtnr about 5 years
    It's specific for Ionic, since this question is not, this answer you pointed doesn't fit this question.
  • Lucio
    Lucio about 5 years
    @YuyangHe convert is part of imagemagick. That's why it needs to be installed.
  • reachtokish
    reachtokish almost 5 years
    Thanks a ton. You saved my day.
  • Giacomo M
    Giacomo M over 4 years
    @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)?
  • Shamsudheen TK
    Shamsudheen TK over 4 years
    @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.
  • Giacomo M
    Giacomo M over 4 years
    @ShamsudheenTK I did something like that. I did not duplicate, I opened the image and I saved it unchecking the alpha tick
  • Shamsudheen TK
    Shamsudheen TK over 4 years
    @GiacomoM please try to duplicate and save it (uncheck the alpha tick). Replace the old image with the newly created one!
  • Giacomo M
    Giacomo M over 4 years
    @ShamsudheenTK if I duplicate the file I can not check or uncheck anything. The ios just copies the file without any confirm window.
  • Shamsudheen TK
    Shamsudheen TK over 4 years
    @GiacomoM can you send that image to [email protected]
  • Ctfrancia
    Ctfrancia about 4 years
    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!
  • Ankit Kumar
    Ankit Kumar about 4 years
    This one is the best solution to verify.
  • Alejandro Corredor
    Alejandro Corredor almost 4 years
    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.
  • sanjeev shetty
    sanjeev shetty over 3 years
    The path from @RalphHinkley comment helped me a lot.
  • Shamsudheen TK
    Shamsudheen TK over 3 years
    @sanjeevshetty thank you very much for your valuable comment. Just added RalphHinkley comment to the main answer (Alternative 3).
  • Al Mamun
    Al Mamun about 3 years
    Works on Catalina.
  • Shamsudheen TK
    Shamsudheen TK about 3 years
    @AlMamun glad to hear that!
  • Jochen Holzer
    Jochen Holzer almost 3 years
    This no longer works because App Store Connect is now extracting the icon automatically from the uploaded app release build
  • M E S A B O
    M E S A B O over 2 years
    Very simple and nice answer.
  • Keith DC
    Keith DC over 2 years
    remove_alpha_ios: true FTW!
  • fravolt
    fravolt almost 2 years
    The dedicated remove_alpha_ios flag is the recommended way, since image quality may differ for JPG files compared to PNG