Not so long time ago, i was working on iOS Application and publishing it to AppStore. After spending hours to make icons fit needed format, size and etc(means XCode accepted all them), AppStore Connect was declining Archive because of some mysterious Error. The actual problem was, that despite you can see it on PNG, a lot of PNGs have Aplha Layer(Transparent Layer). And even if your icon is not using transparent background(has no cutten shapes and stuff) you may need to remove Alpha properly to use it.
This is actually naive solution, but at least it works and won't cause any visible changes on the most of icons. So what's it?
-
Convert every single image to JPEG
-
And then back to PNG
???
-
PROFIT
You can find and use this solution in this repo as Apple Workflow
Coming soon.