How to install Xcode and visionOS-related components
Prerequisite
You need a Mac computer.
| Step | What to do | Why it matters |
|---|---|---|
| 1 | Open the Mac App Store, search for Xcode, and install it. | This installs the core Apple development environment. |
| 2 | Launch Xcode once, accept the license agreement, and enter the administrator password if prompted. | Xcode installs additional required components on first launch. |
| 3 | Open Xcode > Settings > Components, then install both visionOS and visionOS Simulator under Platform Support. | These platform packages are required to build and preview visionOS apps. |