Remember to periodically audit your installed simulators – old runtimes from two major OS versions ago can usually be removed safely, freeing up valuable SSD space for your next project. Need to test on a specific device type (iPhone 15 Pro, Apple Watch Ultra)? Once the runtime is downloaded, open Window → Devices and Simulators in Xcode to create any simulated device you need.
sudo xcodebuild -downloadPlatform iOS To download a specific version: xcode download simulators
xcodebuild -downloadPlatform -all Find the identifier (e.g., iOS 17.5 ), then run: Remember to periodically audit your installed simulators –
xcrun simctl runtime delete "iOS 17.5" To list runtime identifiers first: iOS 17.5 )