App Icon all black on ios17, works on iOS18, building app in Xcode16 beta

In my app I added an AppIcon in the Assets.xcassets folder. I added a any/dark/tinted version of the app icon, in 1024x1024 resolution as a HEIC file, specifying a "single size" iOS option.

When I build and run the app in xcode16 beta on iOS18 the icon works as expected, but when I run the same app on iOS17 the icon just shows up as a black rectangle.

How do I get the app icon to work correctly on both iOS18 and iOS17?

Have you tried a PNG image?

Im getting a similar problem here: https://developer.apple.com/forums/thread/770545 I have tried everything. Changed all the app icons, setting CFBundlePrimaryIcon in the plist. NO idea what to do.

App Icon all black on ios17, works on iOS18, building app in Xcode16 beta
 
 
Q