Guides · Simulators
How to delete old iOS simulator runtimes in Xcode 27
Every iOS version you have ever picked in Xcode's run destination can leave an 8 GB runtime behind. Here is how to see them, how to preview what would go, and how to remove the ones you no longer test on.
Short answerRun xcrun simctl runtime list to see your runtimes and their total size. Preview a cleanup with xcrun simctl runtime delete --notUsedSinceDays 60 --dry-run, then run it again without --dry-run. Or open Xcode › Settings › Components and delete the runtimes you don't need. Each iOS runtime is about 8 GB.
What a simulator runtime is, and why it is so big
A simulator runtime is a complete copy of iOS (or watchOS, tvOS, visionOS) built to run on your Mac. Since Xcode 15, runtimes are no longer inside Xcode.app. They are separate disk images that Xcode downloads per version, keeps in /Library/Developer/CoreSimulator (the system Library, not the one in your home folder), and mounts when a simulator needs one.
Two things make them easy to forget. They don't live in ~/Library/Developer, where most guides tell you to look, so measuring that folder misses them. And macOS often files them under "System Data" in Storage settings rather than under "Developer", so the space looks like it belongs to the system.
What I found on my own Mac
On the Mac this guide was written on, xcrun simctl runtime list reported six iOS runtimes and 48.4 GB in total. Four were point releases of iOS 18. Two of those had never been used at all:
| Runtime | Size | Last used |
|---|---|---|
| iOS 27.3 beta (24C5037i) | 7.9 GB | 19 Nov 2026 |
| iOS 26.5 (23F77) | 7.9 GB | 16 Nov 2026 |
| iOS 18.5 (22F77) | 8.2 GB | 17 Nov 2026 |
| iOS 18.4 (22E238) | 8.2 GB | Never |
| iOS 18.2 (22C150) | 8.1 GB | Never |
| iOS 18.1 (22B81) | 8.0 GB | 11 Sep 2026 |
Keeping iOS 27.3, iOS 26.5 and one iOS 18 release covers the newest system, the previous one and an older deployment target. The other three runtimes are 24 GB that nothing on this Mac uses.
Step 1: list your runtimes
xcrun simctl runtime list
Each line shows the platform, version, build and an identifier (a UUID), and the last line gives the total, for example Total Disk Images: 6 (48.4G). For the size and the last time each runtime was used, add -v:
xcrun simctl runtime list -v
Look for Size, Last Used At and Deletable under each runtime. A runtime with no Last Used At line has not been used since it was installed.
Step 2: preview what would be deleted
simctl runtime delete takes one way of choosing runtimes, plus --dry-run to only print what it would delete. Start with a dry run every time:
xcrun simctl runtime delete --notUsedSinceDays 60 --dry-run
These are the choices Xcode 27.2's simctl accepts:
| Option | What it deletes |
|---|---|
<identifier> | One runtime, by the UUID shown in runtime list. |
--notUsedSinceDays N (or -d N) | Runtimes not used in the last N days. |
--outdated (or -o) | Runtimes that have a newer version available with the same runtime identifier, such as an older build of the same iOS version left behind by a beta or an update. |
--unusable (or -u) | Runtimes that are marked as unusable. runtime list shows each runtime's state. |
all | Every runtime image. Rarely what you want. |
--dry-run (or -n) | Prints what would be deleted and deletes nothing. Add it to any of the above. |
--keep-asset (or -k) | Keeps the associated system download (the "mobile asset") while deleting the runtime. |
Note what --outdated does not do: iOS 18.1 and iOS 18.5 are different versions, so it won't remove 18.1 because 18.5 is installed. For point releases you no longer test on, use their identifiers or --notUsedSinceDays.
Step 3: delete
Quit Simulator first. When the dry run lists only what you expect, run the same command without --dry-run:
xcrun simctl runtime delete --notUsedSinceDays 60
# or one runtime at a time, by the identifier from "runtime list"
xcrun simctl runtime delete 3EFABAD9-1F91-4E14-A6EA-BC341A63F143
If a simulator on that runtime is running, simctl shuts it down and unmounts the image before deleting it. Run xcrun simctl runtime list again to see the new total.
Prefer Xcode? Use Settings › Components
Xcode lists installed simulator runtimes under Settings (⌘,) › Components, with each one's size. Select a runtime you no longer need and delete it there. It is the same operation as the command, one runtime at a time, and it is also where you download a runtime again later.
Which runtimes to keep
- The newest release of each platform you ship on. You test new features on it.
- The oldest version you support, if you test your deployment target in the simulator. One point release is enough; you rarely need 18.1, 18.2, 18.4 and 18.5 side by side.
- A beta only while you need it. Once the final release is out, the beta build is a candidate for
--outdated. - Anything a CI script or a teammate's scheme names explicitly. Check before deleting on a shared or build machine.
Nothing is lost for good: Xcode downloads a runtime again from Settings › Components, or offers to when you pick a destination that needs it. The cost is the download.
Then clean up the simulators that used them
Runtimes and simulator devices are stored separately. Each simulator you create gets its own folder in ~/Library/Developer/CoreSimulator/Devices, with the apps and data installed on it, and those folders stay behind after their runtime is gone. On the same Mac that folder held another 36 GB.
# delete simulators whose runtime is no longer installed
xcrun simctl delete unavailable
# reset every simulator to a clean state (shut them down first)
xcrun simctl erase all
# delete the simulators Xcode creates for SwiftUI previews
xcrun simctl --set previews delete all
Deleting a simulator can't be undone: its installed apps and their data go with it. delete unavailable only touches simulators that can't run anyway, which makes it the safe one to run first.
Why the space sometimes comes back
- A scheme or destination still asks for it. Xcode downloads the runtime again when you run on a version that isn't installed.
- A new Xcode brings a new runtime. Each major Xcode update usually downloads the matching iOS runtime, so the old one is a new candidate for deletion after every update.
- The Trash isn't involved.
simctldeletes runtimes directly, so the space is free straight away. There is nothing to empty, and nothing to restore either.
The rest of Xcode's leftovers, in one window
Runtimes are one part of it. DevSweep finds the simulators left behind after a runtime goes, along with Xcode's build data, device support files, archives and package caches. It explains each item, never ticks archives for you, and moves what you pick to the Trash, with Undo in History.