Xcode submission

Trying to submit an tvOS app for testing on Testflight and I get the following error.


Error ITMS-90523: Invalid Image Asset. THe image stack 'App Icon - Small in 'Payload/Appname.app/Assets.car' can't have a transparent back...
Invalid Image Asset. The image stack can't have a transparent background layer.



But I definetly made sure my png didn't have an alpha channel. And when I tried to use a jpg to definetly make sure it didn't have a transparency, that didn't work either.

Having the same problem. Wierd thing is that it's always the small icon that ITC reports this for even if Xcode has reported a similar problem for the large icon.


Once I realised that Xcode was reporting this error on an Archive (BTW Apple, what happened to the build-for-archive function?) operation I was able to fix the backgrounds and those errors went away. I have yet to get a successful upload though.

OK, I've solved the problem. Firstly, I discovered that by clicking on the "App Icon - Small" in Xcode, to the right it shows the preview, and below it each of the layers. When I scrolled down, I discovered that there were 3 copies of the background, and at least 2 of them were older versions of the background wih the alpha channel present.


So to be sure, I removed all of those "bg" layers (leaving the other four intact), and, after re-exporting the background from photoshop as a png-24 image, I then added a new clean layer to the app icon, and copied my newly exported png-24 into that new layer. I no longer get the ITMS-90523 error.

+1 with this problem. Removing the assets completely and having Xcode create a new .xcassets from scratch, then importing old (non-alpha) png files into it did not help.

I managed to fix this by removing the alpha channel from the background image (both large and small), by using Preview and exporting without the alpha channel. I also had to do this for the top shelf. All of my images are PNGs, and all other images have alpha channels.

Accepted Answer

Please file a bug report at bugreporter.apple.com and include the images leading to the issue. Thanks!

This worked eventually for me, too. Turns out the first time I attempted this with Preview, the alpha channel was not removed after all.

I should note that I tried switching in the tvOS catelog sample code icon and that rendered the same error.

I am having the same problem, but cannot log into bugreporter. I get the error:


{"message":"Your session has timed out due to inactivity. Please log in again.","isSessionError":true}



I am certain there is no effective alpha in the image:


>>> from PIL import Image

>>> set([a for (r, g, b, a) in Image.open('layer0.png').getdata()])

set([255])


And the large icon which comes from the same source seems to work fine...

Hi ricmoo,


I've seen that issue before. Usually a bad cached page.


Assuming you're using Safari, quit the app and then delete the contents of these directories:

/Library/Caches/com.apple.Safari

/Library/Caches/com.apple.Safari.SearchHelper

/Library/Caches/com.apple.safaridavclient


Then you should be able to log in again.

Xcode submission
 
 
Q