Home › Guides

How to delete old iOS simulators and runtimes

Updated November 24, 2026

Each simulator runtime (iOS 17, iOS 18, watchOS 11…) takes roughly 5–10 GB, and Xcode keeps old ones when you upgrade. Removing runtimes and simulator devices you no longer use is often the biggest single win on an iOS developer's Mac.

There are two different things to clean:

Step 1: see what you have

xcrun simctl runtime list
xcrun simctl list devices

The first command lists installed runtimes with their sizes and identifiers. The second lists devices grouped by runtime.

Step 2: delete simulators for runtimes that are gone Safe

Simulators whose runtime was removed, or isn't supported by your current Xcode, stay behind as "unavailable". They can't run anymore, so delete them all:

xcrun simctl delete unavailable

Step 3: remove old runtimes Safe

In Xcode: open Xcode → Settings → Components (called Platforms in Xcode 15), select an old runtime and click –.

In Terminal: copy an identifier from xcrun simctl runtime list and run:

xcrun simctl runtime delete <identifier>

Or remove every runtime you haven't used in, say, 60 days — preview first with --dry-run:

xcrun simctl runtime delete --notUsedSinceDays 60 --dry-run
xcrun simctl runtime delete --notUsedSinceDays 60

Keep the runtime that matches your app's minimum deployment target and the latest one. You can re-download any runtime later from the same Components screen.

Step 4: reset bloated devices Erases app data

Simulator devices you use every day can grow to several GB from app data, photos and caches. Erasing a device resets it to factory state but keeps the device itself:

xcrun simctl shutdown all
xcrun simctl erase all

This removes every app and its data from all simulators — fine for test data, but don't run it if a simulator holds something you need (for example a logged-in test account you'd have to set up again). To erase just one device, use xcrun simctl erase <device-udid>.

Step 5: remove devices you never use

Xcode creates a simulator for every device model of each runtime. Delete the ones you don't need in Window → Devices and Simulators → Simulators (right-click → Delete), or:

xcrun simctl delete <device-udid>

How MacDejunk handles simulators

MacDejunk lists your installed runtimes with their sizes, finds unavailable simulators, and shows how much each device's data takes. It runs the same xcrun simctl commands shown here, so Xcode stays in charge of its own files.

Do it in one click with MacDejunk

MacDejunk is a free Mac app that finds this junk (and the rest of what Xcode, Android, Node, Flutter and Homebrew leave behind), shows what's safe to delete, and frees the space. Everything stays on your Mac.

Download MacDejunk — free