I have an iOS app and I added Vision Pro as a supported destination. I'm ready to add an app icon. When I select my existing AppIcon there's no option to add visionOS assets to it. I went ahead and created a new visionOS App Icon titled VisionAppIcon. Now how do I configure the project to use VisionAppIcon for visionOS while continuing to use AppIcon for iOS?
When I select the target and go to Build Settings there's Primary App Icon Set Name currently set to AppIcon. When I run the visionOS app, no app icon appears. If I change that to VisionAppIcon then it appears of course. But I don't see a way to add variants for it other than Debug and Release.
visionOS App Icons are a distinct asset type, similar to tvOS – it's expected that it requires its own icon.
The Primary App Icon Set Name build setting can be set for each configuration and SDK: Hover over the configuration row (e.g. Debug) to reveal a "+" button, then add an entry to each configuration for both visionOS and visionOS Simulator.