# Is it safe to delete Xcode simulators and CoreSimulator?

Is it safe to delete? · Developer tools · Updated 21 November 2026. By Mohit Nippanikar, who makes SiftMac.

## The short answer

- **Yes, with Xcode’s own tools.** Simulators for OS versions you’ve removed are dead weight, and ones you don’t use can go too. Delete them with Xcode or `xcrun simctl`, not in Finder, so CoreSimulator’s list of devices stays right.
- **What it costs you:** the test apps and data on each simulator you delete. Simulator runtimes, the simulated OS versions, download again from Xcode if you need one back.
- **Does it come back?** A simulator is added again in Xcode in moments, empty. A runtime comes back from Xcode › Settings › Components.
- SiftMac’s verdict: Rebuilds

## 1. What it is

A simulator is a simulated iPhone, iPad, Apple Watch or other Apple device, tied to one OS version. CoreSimulator keeps each one as a folder named by its UDID, holding everything on it: the builds you installed, their data and documents, and the device’s settings.

The OS a simulator runs comes from a **simulator runtime**. Runtimes are separate downloads you manage in Xcode, and they live outside your home folder. If a runtime goes, its simulators don’t: they stay on disk as *unavailable*, listed but impossible to start.

SwiftUI previews run in simulators of their own, kept apart from the ones in Xcode’s run destinations, so they don’t show up in the usual device list.

## 2. Where it is

```
~/Library/Developer/CoreSimulator/Devices
~/Library/Developer/CoreSimulator/Caches
~/Library/Developer/Xcode/UserData/Previews
```

`Devices` holds the simulators you pick as run destinations. `Caches` holds files CoreSimulator makes for itself. `Previews` belongs to SwiftUI previews. Runtimes are listed by `xcrun simctl runtime list` and in Xcode › Settings › Components, which Apple says shows how much storage you can recover by removing each component.

## 3. How big it gets

A fresh simulator is small; it grows with every build you install and every file your app writes, and nothing trims it. The runtimes are the large part, and Xcode’s Components settings show what each would free. To measure what’s in your home folder and list what you have:

```
du -sh ~/Library/Developer/CoreSimulator/* ~/Library/Developer/Xcode/UserData/Previews 2>/dev/null
xcrun simctl list devices
xcrun simctl runtime list
```

`simctl list devices` groups simulators by OS version and marks the ones whose runtime is gone as unavailable.

## 4. How to delete it safely

**Simulators for OS versions you’ve removed.** They can’t run any more, so they can all go at once. Quit Simulator, then:

```
xcrun simctl delete unavailable
```

**Simulators you don’t use.** Take the UDID from `xcrun simctl list devices` and delete just that one:

```
xcrun simctl delete <UDID>
```

**Runtimes you no longer target.** In Xcode, choose Xcode › Settings, click Components, click the info button next to the runtime and choose Delete. Apple’s support staff describe this as the intended way. From Terminal:

```
xcrun simctl runtime list
xcrun simctl runtime delete <runtime-id>
```

**SwiftUI preview simulators.** With Xcode quit, `xcrun simctl --set previews delete all` clears the preview device set; developers on Apple’s forums report previews working normally afterwards.

> Avoid deleting folders inside `Devices` by hand. CoreSimulator keeps its own record of the devices it manages, and `simctl` removes the record and the folder together.

## 5. What happens afterwards

- Deleted simulators disappear from Xcode’s run destinations, together with every app and file that was on them.
- To get one back, add a simulator again in Xcode with the device type and OS you need. It starts out empty.
- A deleted runtime downloads again from Xcode › Settings › Components. When you open a project for a platform with no runtime installed, Xcode also shows a Get button next to the run destination.
- Apple has acknowledged a bug that can leave a deleted runtime behind in a protected system folder; [AssetsV2](https://siftmac.com/safe-to-delete/assetsv2) explains that folder, and it isn’t one to clear by hand.

## Questions

### Is `xcrun simctl delete unavailable` safe?

Yes. It only removes simulators whose OS runtime is no longer installed, which can’t be started anyway. Simulators you can still run are left alone.

### Will deleting simulators delete my Xcode projects?

No. Your projects live in your own folders. Only the test builds installed on a simulator, and the data they created, go with it.

### What’s the difference between a simulator and a runtime?

A runtime is the simulated OS, shared by every simulator of that version. A simulator is one device using it, with its own apps and data. Runtimes are usually the bigger saving, and Xcode’s Components settings show what each would free.

### Can I just delete the whole CoreSimulator folder?

It’s better not to. Use Xcode or `simctl`, which keep CoreSimulator’s record of devices in step with what’s on disk, and remove only what you don’t need.

## How SiftMac handles it

Its Developer files category lists simulators whose OS isn’t installed any more (marked Safe) and ones you haven’t started in 1, 3 or 6 months (Rebuilds), with their size and last use, and treats a simulator that’s running as in use. It removes them with `xcrun simctl delete`, the way Xcode does, so the apps and data on them go too; runtimes are left to Xcode.

Download: https://siftmac.com/SiftMac.dmg (scanning is free, and so is the first 2 GB of cleaning).

## Sources

- [Apple: Downloading and installing additional Xcode components](https://developer.apple.com/documentation/xcode/downloading-and-installing-additional-xcode-components)
- [Apple Developer Forums: deleting simulator runtimes (Apple DTS reply)](https://developer.apple.com/forums/thread/810415)
- [Apple Developer Forums: SwiftUI Previews disk space](https://developer.apple.com/forums/thread/682439)

## Related

- [Is it safe to delete Xcode’s iOS DeviceSupport folder?](https://siftmac.com/safe-to-delete/ios-device-support)
- [Is it safe to delete Xcode’s Archives folder?](https://siftmac.com/safe-to-delete/xcode-archives)
- [Is it safe to delete Xcode’s DerivedData folder?](https://siftmac.com/guides/xcode-deriveddata)
- [Xcode DerivedData, node_modules and Docker: what’s safe to delete on a developer’s Mac](https://siftmac.com/guides/developer-files-on-mac)
- [Can I delete /System/Library/AssetsV2 on a Mac?](https://siftmac.com/safe-to-delete/assetsv2)

Canonical: https://siftmac.com/safe-to-delete/xcode-simulators
