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?

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