DevCleaner
Menu
Skip to content
Browse guides

xcrun simctl delete unavailable: remove old iOS simulators

Unavailable simulators are devices whose runtime is already gone. Runtime disk images are a separate cleanup. Delete devices with simctl, and delete runtimes with simctl runtime.

xcrun simctl delete unavailable
xcrun simctl runtime list
xcrun simctl runtime delete <identifier>
On this page

Where simulator data lives

Simulators store two different things. Device data is the apps, photos, and settings for each simulated device, under ~/Library/Developer/CoreSimulator/Devices. Runtime disk images are the operating system that device boots. Apple documents those images as a system-managed store, protected by System Integrity Protection, and mounted at system-managed mount points. They are not folders you remove from your home directory.

du -sh ~/Library/Developer/CoreSimulator/Devices

Device data is often many gigabytes on a machine that has kept old simulators. Each runtime image is also multiple gigabytes. Measure your own folders and xcrun simctl runtime list before you delete anything. The ranges people quote are not a recovery guarantee.

Not simulator data: DerivedData, DeviceSupport, and Xcode Archives (~/Library/Developer/Xcode/Archives) live elsewhere and are covered in our Xcode DerivedData and caches guide. The Xcode cleaner page lists simulators next to those locations. This article focuses only on ~/Library/Developer/CoreSimulator.

What you're cleaning (ranked by risk)

CategoryWhat it isTypical sizeRisk
Unavailable simulatorsDevices whose runtime was removed by an Xcode upgrade1–15 GBSAFE
Superseded runtimesOlder iOS versions you no longer target4–8 GB eachWARNING
Devices on old runtimesSimulators still tied to a superseded iOS version0.5–3 GB eachWARNING
Booted simulatorsCurrently running: skip until shut down;DANGER

Step 1: delete unavailable simulators

After an Xcode upgrade removes a runtime, devices that used it become unavailable. They stay listed and they cannot boot. Remove them with:

xcrun simctl delete unavailable

That command deletes unavailable devices. It does not delete runtime disk images. DevCleaner runs the same command for unavailable simulators. simctl deletes them. Move to Trash does not apply to this command.

To see what's left and how much each device weighs:

xcrun simctl list devices
du -sh ~/Library/Developer/CoreSimulator/Devices/* | sort -hr | head -20

Simulator runtimes and disk images

A simulator runtime is the OS image a device boots. Apple ships two forms: the older runtime bundle, and runtime disk images. Disk images are added to a system-managed storage location protected by System Integrity Protection, and mounted at system-managed mount points. Leave those mount points alone. Unmounting an image with diskutil eject or umount can make Simulator and Xcode lose track of whether the runtime is installed, and a later download can fail as a duplicate. Restarting remounts the image. The supported removal is xcrun simctl runtime.

List the disk images:

xcrun simctl runtime list

Each row is one image, with a platform, version, build, and identifier. Delete one image by that identifier:

xcrun simctl runtime delete <identifier>

Pass the identifier from that list to xcrun simctl runtime delete. That is how Apple's release notes say to remove a runtime disk image. runtime list can mark a copy bundled with Xcode as not deletable, and runtime delete will not remove that copy. Download a runtime again from Xcode > Settings > Components, or with xcodebuild -downloadPlatform iOS. Installing a downloaded .dmg uses xcodebuild -importPlatform. On your Mac, xcrun simctl help runtime is the help text for the list and delete commands.

Devices and images are separate. If simulators still use a runtime, delete those devices first with xcrun simctl delete <device-udid>. Shut a booted simulator down in Simulator.app before you delete it. DevCleaner removes devices that still reference a runtime, then runs xcrun simctl runtime delete for the image. Both go through simctl, not rm.

Step 3: prune individual devices you don't need

Sometimes you created five iPhone 15 simulators for different branches and only need one. List devices with their UDIDs:

xcrun simctl list devices available

Delete a specific device (apps, photos, caches: everything in its data folder):

xcrun simctl delete <device-udid>

To wipe a device's content but keep the device itself (useful before a clean test run):

xcrun simctl erase <device-udid>

Do not delete CoreSimulator with rm

rm -rf ~/Library/Developer/CoreSimulator/Devices/… removes the files and leaves Xcode's device list pointing at directories that are gone. The same applies to runtime disk images: they live in system-managed storage, and deleting the mount with Finder or rm is not the supported removal. simctl updates the registry and the files together.

FAQ

How often should I run simctl delete unavailable?
After an Xcode upgrade that removes a runtime, the devices that used it become unavailable. Run xcrun simctl delete unavailable then. It does not remove runtime disk images.
Does erasing a simulator free as much space as deleting it?
Erase clears the device's apps and data and leaves the device. Delete removes the device. Use delete for a device you will not use again, and erase for one you will keep.
Can I remove simulators from Xcode's GUI?
Yes. For devices, use Window, Devices and Simulators, then delete a simulator. For runtimes, use Xcode, Settings, Components, and delete the platform you no longer need. xcrun simctl delete unavailable is the bulk command for devices whose runtime is already gone.
What about watchOS and tvOS simulators?
The same commands cover them. xcrun simctl list devices shows every platform, and xcrun simctl delete unavailable removes unavailable devices on all of them. Runtime disk images for those platforms show up in xcrun simctl runtime list.

See every simulator sized before you delete

DevCleaner lists unavailable simulators, older runtimes, and individual devices as separate rows, each with a size. Unavailable devices are selected by default. Runtime and device deletions stay off until you choose them. Removal goes through simctl, which deletes the device or the disk image. Move to Trash does not apply to these commands. Filesystem cleanup elsewhere follows Settings → General → Deletion. On macOS 1.17.0 the default is By risk: Safe items are deleted permanently, and Warning and Danger items move to the Trash. Always move to Trash and Always delete permanently are the other choices.

Download DevCleaner: free ↓
Safe cleanup free · ~13 MB · macOS 14+
Developer ID signed · notarized by Apple

References and scope

Reviewed October 19, 2026 against Apple's Xcode component docs and the Xcode 14 release notes on runtime disk images, and against the simctl commands DevCleaner runs. Device data is under ~/Library/Developer/CoreSimulator/Devices. Runtime images stay in Apple's system-managed store. Check xcrun simctl help runtime on your Mac before you delete an image.

Featured on TryMacApps Featured on UsefulShelf Featured on Formac Listed on MacTools Pro Fazier badge