ios - Asset validation failed (90717) Invalid large app icon. The icon can’t be transparent or contain an alpha channel - Stack

admin2025-04-18  2

I have tried to update my application to support the new iOS18 app icons. The normal and tinted (where you have to use a grayscale version of your icon) work perfectly, just when I add a transparent icon (which the apple docs state you must do for the dark icon), it throws this error when uploading the binary.

{
  "images" : [
    {
      "filename" : "Icon-Light-1024x1024.png",
      "idiom" : "universal",
      "platform" : "ios",
      "size" : "1024x1024"
    },
    {
      "appearances" : [
        {
          "appearance" : "luminosity",
          "value" : "dark"
        }
      ],
      "filename" : "Icon-Dark-1024x1024.png",
      "idiom" : "universal",
      "platform" : "ios",
      "size" : "1024x1024"
    },
    {
      "appearances" : [
        {
          "appearance" : "luminosity",
          "value" : "tinted"
        }
      ],
      "filename" : "Icon-Tinted-1024x10242.png",
      "idiom" : "universal",
      "platform" : "ios",
      "size" : "1024x1024"
    }
  ],
  "info" : {
    "author" : "xcode",
    "version" : 1
  }
}

Why?

I have tried to update my application to support the new iOS18 app icons. The normal and tinted (where you have to use a grayscale version of your icon) work perfectly, just when I add a transparent icon (which the apple docs state you must do for the dark icon), it throws this error when uploading the binary.

{
  "images" : [
    {
      "filename" : "Icon-Light-1024x1024.png",
      "idiom" : "universal",
      "platform" : "ios",
      "size" : "1024x1024"
    },
    {
      "appearances" : [
        {
          "appearance" : "luminosity",
          "value" : "dark"
        }
      ],
      "filename" : "Icon-Dark-1024x1024.png",
      "idiom" : "universal",
      "platform" : "ios",
      "size" : "1024x1024"
    },
    {
      "appearances" : [
        {
          "appearance" : "luminosity",
          "value" : "tinted"
        }
      ],
      "filename" : "Icon-Tinted-1024x10242.png",
      "idiom" : "universal",
      "platform" : "ios",
      "size" : "1024x1024"
    }
  ],
  "info" : {
    "author" : "xcode",
    "version" : 1
  }
}

Why?

Share Improve this question edited Jan 30 at 4:49 HangarRash 15.1k5 gold badges20 silver badges55 bronze badges asked Jan 29 at 14:43 NatNat 1,8121 gold badge18 silver badges52 bronze badges 3
  • @matt which then causes the system to not add the black gradient background all other apps have on the home screen. – Nat Commented Jan 29 at 14:49
  • So, which of the images have transparent background? It's allowed only for dark. – Cy-4AH Commented Jan 29 at 15:19
  • @Cy-4AH the dark only – Nat Commented Jan 29 at 16:51
Add a comment  | 

1 Answer 1

Reset to default 2

I just uploaded an app to the App Store with dark and tinted icons included for the first time, and it worked for me.

In the case of the dark image, it is actually a requirement that the icon has a transparent background, as stated in the notes on Configuring your app icon:

Provide your dark app icon with a transparent background so the system-provided background can show through.

I suspect that the issue is with your main or tinted icons. These should not contain any transparency and must not include an alpha channel either.

To check that an image has no alpha chanel, locate it in the filesystem and examine the file info:

转载请注明原文地址:http://anycun.com/QandA/1744959482a90048.html