Folder

Is CoreSimulator Devices safe to delete on a Mac?

Partly: simulators you no longer use are safe to delete with xcrun simctl delete, but each folder is a whole simulated device, and deleting it deletes the apps and data installed on it.

2 safe3 careful

updated read 4 minfor Xcode 15 and later on macOS 14 Sonoma and later

The short answer

  1. 01

    Careful. ~/Library/Developer/CoreSimulator/Devices has one folder per simulator, named by its UDID, with every app and file installed on it.

  2. 02

    Xcode and Simulator write it when you create a simulator or run an app on one. Devices for runtimes you removed stay behind.

  3. 03

    You lose that simulator's apps, data and settings. Xcode recreates default devices, not your test data.

  4. 04

    The command: xcrun simctl delete unavailable removes only devices the current Xcode no longer supports.

See its real size on your Mac. Hoardless measures this folder and previews the delete.Download free trial

What is the CoreSimulator Devices folder?

CoreSimulator Devices is where every iOS, watchOS, tvOS and visionOS simulator on your Mac lives, at ~/Library/Developer/CoreSimulator/Devices. Each simulator is a folder named by its UDID, a long identifier such as 0473C71C-07FF-4665-9A0F-D088C9D9E5D6.

Inside each one, device.plist describes the device and data holds its whole file system: installed apps, their documents, settings and caches. It is user data for test devices, not a cache Xcode can rebuild.

xcrun simctl list devices

Prints every simulator with its name, runtime, state and UDID, so you can match a folder to a device. Removes nothing.

What writes it and why does it grow?

Running and installing apps writes it. Every build you run on a simulator installs the app into that device's data folder, and everything the app writes stays there.

  • New devices per runtime: installing a new simulator runtime adds a set of default devices for it.
  • Old devices stay: removing a runtime leaves its devices behind as unavailable. They cannot boot, but their folders keep their space.
  • Apps accumulate: each app you ever ran stays installed on that simulator until you delete it or erase the device.

How big does CoreSimulator Devices get?

It depends on how many simulators you have and what your apps store. Measure it:

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

Prints the total. Removes nothing.

du -sh ~/Library/Developer/CoreSimulator/Devices/* | sort -h | tail -10

Shows the ten largest device folders. Look up each UDID in xcrun simctl list devices.

Is it safe to delete CoreSimulator Devices?

WhatVerdictWhat you lose
Unavailable devices (runtime gone)SafeDevices that can no longer boot, and their data.
A simulator you no longer use, via simctl deleteSafeThat device and the apps and data on it.
A simulator holding test data you set up by handCarefulLogins, fixtures and app state you would have to recreate.
Device folders deleted in FinderCarefulThe data, plus a device list that still names missing devices.
Deleting while a simulator is bootedCarefulA running device whose files vanish underneath it. Shut it down first.

How do I delete old simulators?

Use simctl, the tool that owns the folder. Its own help text says it can delete specified devices, unavailable devices, or all devices.

xcrun simctl delete unavailable

Deletes only devices that are not supported by the current Xcode SDK. Safe to run any time.

xcrun simctl delete <UDID>

Deletes one simulator and its data. Take the UDID from xcrun simctl list devices.

xcrun simctl erase <UDID>

Keeps the device but erases its contents and settings.

In Xcode: Window > Devices and Simulators, select Simulators, then delete the ones you do not need. To free the runtime images themselves, use Xcode > Settings > Components, which Apple says shows how much storage you can recover by removing each one. The full walkthrough is in how to delete old iOS simulators.

What Hoardless does: its Xcode detector lists this folder at the Confirm tier and cleans it by running xcrun simctl delete unavailable, never by trashing the folder. Its Unused view also lists single simulators not booted in 120 days, with untouched data or a missing runtime, and removes each with xcrun simctl delete <UDID> after you confirm.

What comes back and when?

Xcode recreates default devices, not yours. When a runtime has no devices, Xcode can create its default set again, but they start empty. Any app you run installs again on the next build. Custom devices, their data and their settings do not come back.

Find simulators you have not booted in months

Hoardless runs xcrun simctl delete unavailable at the Confirm tier, and its Unused view lists simulators idle for 120 days with the evidence, removing each with simctl after you confirm.

14-day full trial. macOS 14 or later.

Questions

What is the CoreSimulator folder on a Mac?

~/Library/Developer/CoreSimulator is where Xcode's Simulator keeps its devices (Devices) and their shared caches (Caches). It exists on any Mac that has run Xcode's Simulator.

What does xcrun simctl delete unavailable do?

It deletes simulator devices that are not supported by the current Xcode SDK, usually devices left over from runtimes you no longer have. Devices you can still boot are kept.

Can I delete the Devices folder in Finder?

It works, but Simulator's device list then points at missing folders. Use xcrun simctl delete, or Xcode's Devices and Simulators window, so the list stays in sync.

How do I reset a simulator instead of deleting it?

Run xcrun simctl erase with the device's UDID, or choose Device > Erase All Content and Settings in Simulator. The device stays, its apps and data go.

Does deleting simulators remove the iOS runtimes?

No. Runtimes are separate disk images managed in Xcode > Settings > Components or with xcrun simctl runtime delete. Deleting devices does not free runtime space.