You need the identifier for the simulator you want. You can list available simulators to install using the command:
Once you have the identifier (e.g., iOS 17.2 ), run the installation command: xcode simulator download
This guide covers everything you need to know about getting your simulators up and running. Understanding the Xcode Simulator You need the identifier for the simulator you want
If you have a .dmg file of a simulator runtime (perhaps downloaded manually from Apple's developer portal for offline archiving), you can install it manually: Simulators require massive free space
In newer versions of Xcode (Xcode 15 and later), Apple moved simulator management from a separate menu into the main Settings window.
Simulators require massive free space. If you try to download an iOS 18 runtime but have less than 15GB free, it may fail or hang.