How to create Archive for VisionOS app - Invalid Run Destination

I have created an archive for both iOS and MacOS versions of my app by doing the the following steps

  1. Destinations select Build Any Mac (Mac Catalyst, arm64, x86_64)
  2. Product > Archive

However when doing the same steps for VisionOS I get an error

Invalid Run Destination

I have selected both destinations, visionOS Simulator and Build any VisionOS simulator device (arm64, x86_64)

I am able to run the app and test, now I would like to upload to AppStoreConnect for TestFlight and App Store submission.

How to create Archive for VisionOS app - Invalid Run Destination
 
 
Q