How to
How to delete unused iOS simulators and runtimes on a Mac
What simulator devices and runtimes are, which ones are safe to remove, and the simctl commands that free the space without breaking Xcode.
Free to scan. Seven days of cleaning free, no card. macOS 26 or later.
Xcode keeps two different things for every simulator: a device (one fake iPhone or iPad with its own apps and data) and a runtime (the OS image that device boots). Both get big. A runtime is several gigabytes (iOS 27 is 7.5 GB on the Mac we checked), and a device you have used for a while can hold a few gigabytes of apps and data of its own.
Devices vs runtimes
| Kind | Where | Typical size | Comes back? |
|---|---|---|---|
| Device | ~/Library/Developer/CoreSimulator/Devices/ | small when new, a few GB once used | recreate in Xcode › Window › Devices and Simulators |
| Runtime | disk images managed by simctl | several GB each | download again in Xcode › Settings › Components |
Deleting a device leaves its runtime on disk. Deleting a runtime makes every device that used it unavailable, so clean runtimes first, then remove the devices they leave behind.
Do not delete folders by hand under /Library/Developer/CoreSimulator or /System/Library/AssetsV2. Runtimes are managed disk images, and some of that tree is protected by System Integrity Protection.
See what you have
Quit Xcode and the Simulator app first, so nothing is using a runtime while you remove it.
Devices (name, OS, state and UDID):
xcrun simctl list devices
Runtimes and disk images:
xcrun simctl runtime list
xcrun simctl runtime list -v shows last used, path and size.
Keep the runtime that matches the iOS version you test on now, and any older major version your app still supports. Runtimes nobody uses, older builds of a major version you already have a newer build of, and devices marked unavailable are the usual candidates.
Delete unavailable devices
After an Xcode upgrade or a runtime delete, devices whose OS is gone show as unavailable. Remove them in one go:
xcrun simctl delete unavailable
To remove one device you no longer need:
xcrun simctl delete <UDID>
That deletes the device and its apps and data. xcrun simctl erase <UDID> resets content but keeps the device, so it rarely frees meaningful space.
Delete unused runtimes
Preview first. simctl can show what it would remove without deleting anything:
xcrun simctl runtime delete --outdated --dry-run
xcrun simctl runtime delete --notUsedSinceDays 90 --dry-run
--outdated picks runtimes that have a newer version with the same identifier. --notUsedSinceDays goes by the last-used date, which knows nothing about the iOS versions your app still supports. Read the list. When it looks right, drop --dry-run, or delete one by ID:
xcrun simctl runtime delete <RUNTIME-UUID>
You can also remove a platform in Xcode › Settings › Components. To get one back later, download it there, or with xcodebuild -downloadPlatform iOS.
Runtimes live outside your home folder, so du on ~/Library/Developer/CoreSimulator won't show them going away. Run xcrun simctl runtime list -v again, and compare free space before and after:
df -h /
Booted simulators and swap
A booted simulator holds memory. When memory is short, macOS writes swap to the boot volume, and free space can drop by many gigabytes even though you deleted nothing. Shutting simulators down frees that pressure without deleting runtimes:
xcrun simctl shutdown all
Doing it with DevSweeper
DevSweeper's Simulators view lists runtimes, unavailable devices, old unused devices, the shared CoreSimulator caches folder, and every booted simulator with the memory it holds. Runtimes with no device, older versions of a platform you already have, unfinished installs and ones outside your staleness window are marked. Cleaning uses xcrun simctl runtime delete, xcrun simctl delete and xcrun simctl shutdown under the hood. Free to scan; seven days of cleaning free, no card.
For Xcode's other leftovers, see how to delete DerivedData, Archives and Device Support.