VisionOS SDK was introduced in xcode 15.2.
xcode 15.0, 15.1 do not have the visionOS platform defined. Additionally, if you use a different llvm such as llvm 17 or 18 from homebrew, the platform might not be defined even when using xocde 15.2 or newer.
VisionOS SDK was introduced in xcode 15.2. xcode 15.0, 15.1 do not have the visionOS platform defined. Additionally, if you use a different llvm such as llvm 17 or 18 from homebrew, the platform might not be defined even when using xocde 15.2 or newer.