← Guides

Delete old simulator runtimes in Xcode

By , who makes Ramback · Updated

Commands checked on my M1 MacBook Air (8 GB), macOS 26.5, Xcode 26.6.

Every simulator runtime is a disk image: about 8.5 GB for iOS 26, about 4 GB for watchOS. Xcode keeps the old ones when it updates, so a few Xcode versions in, tens of gigabytes go to runtimes nobody boots. To delete the ones you haven't used in 90 days, run xcrun simctl runtime delete --notUsedSinceDays 90.

See which runtimes are installed

xcrun simctl runtime list
== Disk Images ==
-- iOS --
iOS 18.6 (22G86) - 7D0E5B21-… (Ready)
iOS 26.5 (23F77) - 23E75CAC-… (Ready)
-- watchOS --
watchOS 26.5 (23T570) - CA340FAA-… (Ready)

Total Disk Images: 3 (19.0G)

Keep the runtime that matches your current Xcode. xcrun simctl runtime match list shows which one that is for each platform.

Where runtimes live, and how much space they take

Add -v to see where each one is and when you last used it:

xcrun simctl runtime list -v
iOS 26.5 (23F77) - 23E75CAC-…
    State: Ready
    Last Used At: 2026-10-19 22:21:16 +0000
    Mount Path: /Library/Developer/CoreSimulator/Volumes/iOS_23F77
    Image Path: /System/Library/AssetsV2/com_apple_MobileAsset_iOSSimulatorRuntime/…/094-56039-099.dmg
    Size: 7.9G

Runtimes that Xcode downloads are stored as system assets in /System/Library/AssetsV2. Each one is mounted as a read-only volume in /Library/Developer/CoreSimulator/Volumes for as long as it's installed. That's why you can't move one to the Trash or rm it: the volume is read-only, and System Integrity Protection guards the image. simctl runtime delete handles both. It shuts down booted simulators on that runtime and unmounts the disk before deleting it.

simctl counts in binary units, so the 7.9G above is 8.5 GB in the decimal units Finder uses. The list leaves out a second cost. Since Xcode 26.4, each runtime gets a dyld shared cache again, so devices boot faster. The caches sit in a folder named after your macOS build, and on my Mac they add 3.0 GB for iOS 26.5 and 2.6 GB for watchOS 26.5:

du -sh /Library/Developer/CoreSimulator/Caches/dyld/*/*

Delete old runtimes in Terminal

# what would go: runtimes not used in 90 days
xcrun simctl runtime delete --notUsedSinceDays 90 --dry-run

# delete them
xcrun simctl runtime delete --notUsedSinceDays 90

# or one runtime, by the ID from the list
xcrun simctl runtime delete 7D0E5B21-…

Booted simulators on that runtime are shut down first. Their devices stay in the list as unavailable until you delete them (see below). If you need a runtime again, Xcode downloads it, or run xcodebuild -downloadPlatform iOS.

You can do the same in Xcode under Settings › Components (called Platforms before Xcode 16), which lists each runtime with the space you'd get back. Click the info button next to one, then Delete.

If a runtime stays at (Deleting), or its folder in AssetsV2 survives the delete, other developers report the same on Apple's forums, some with 9 GB runtimes left behind. Apple's engineers asked for bug reports, and some found that a later Xcode update cleared them. Apple says removing them by hand with System Integrity Protection turned off isn't supported.

The rest of Xcode's leftovers

# simulators whose runtime is gone
xcrun simctl delete unavailable

# SwiftUI Previews devices (quit Xcode first)
xcrun simctl --set previews delete all

# build products; Xcode rebuilds what it needs
rm -rf ~/Library/Developer/Xcode/DerivedData

# see what's left
du -sh ~/Library/Developer/Xcode/* ~/Library/Developer/CoreSimulator/*

Also worth a look: ~/Library/Developer/Xcode/iOS DeviceSupport keeps a folder of symbols for every iOS version a physical device of yours has run, and ~/Library/Developer/Xcode/Archives keeps every archive you made. Delete the old folders in Finder.