If youβre doing CI on Intel machines but need to build for visionOS:
defaults write com.apple.dt.Xcode AllowUnsupportedVisionOSHost -bool YES
defaults write com.apple.CoreSimulator AllowUnsupportedVisionOSHost -bool YES
(Run this before xcodebuild -downloadPlatform visionOS)
defaults write com.apple.dt.Xcode AllowUnsupportedVisionOSHost -bool YES
defaults write com.apple.CoreSimulator AllowUnsupportedVisionOSHost -bool YES
(Run this before xcodebuild -downloadPlatform visionOS)