Environment
- Apple Silicon M1 Pro
- macOS 14.4
- Xcode 15.3 (15E204a)
- visionOS simulator 1.1
Step
Create a new visionOS app project and compile it through xcodebuild
:
xcodebuild -destination "generic/platform=visionOS"
It fails on RealityAssetsCompile
with log :
error: Failed to find newest available Simulator runtime
But if I open the Xcode IDE and start building, it works fine. This error only occurs in xcodebuild.
More
I noticed that in xcrun simctl list
the vision pro simulator is in unavailable state:
-- visionOS 1.1 --
Apple Vision Pro (6FB1310A-393E-4E82-9F7E-7F6D0548D136) (Booted) (unavailable, device type profile not found)
And i can't find the vision pro device type in xcrun simctl list devicetypes
, does it matter? I have tried to completely reinstall Xcode and simulator runtime, but still the same error.