Folder

Is CoreSimulator Caches safe to delete on a Mac?

Yes, CoreSimulator Caches is safe to delete: it holds caches the Simulator builds from installed runtimes, and they rebuild on the next simulator boot, which is slower that one time.

1 safe2 careful1 never

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

The short answer

  1. 01

    Safe to delete. ~/Library/Developer/CoreSimulator/Caches holds caches the Simulator builds from its runtimes. No apps or test data live here.

  2. 02

    The Simulator service writes it when a runtime is first used. On recent setups the large dyld cache sits in /Library/Developer/CoreSimulator/Caches instead.

  3. 03

    You lose a fast first boot: the next simulator start rebuilds what it needs.

  4. 04

    The command: quit Simulator and Xcode, then rm -rf ~/Library/Developer/CoreSimulator/Caches/* (permanent).

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

What is the CoreSimulator Caches folder?

CoreSimulator Caches is scratch data the Simulator builds from its runtimes, at ~/Library/Developer/CoreSimulator/Caches. The path table Hoardless uses describes it as shared caches the simulators build from their runtimes, such as dyld caches: prelinked system libraries that make a simulator start faster.

Apple does not document the folder's contents. What is certain is that nothing in it is yours: no apps, no app data, no settings. Those live next door in CoreSimulator Devices.

What writes it and why does it grow?

The CoreSimulator service writes it as simulators boot. Apple does not document when it rebuilds, so treat it like any cache: it refills while the runtimes it comes from stay installed.

  • More runtimes, more cache: each iOS, watchOS, tvOS or visionOS runtime you boot is a source for it.
  • Two locations: on recent Xcode and macOS versions the large dyld folder is in /Library/Developer/CoreSimulator/Caches, shared by all users, and the home folder copy can be small or empty. An Apple Developer Forums report describes that system dyld cache rebuilding to about 7.6 GB (reported as 7.1 GiB) after runtimes were deleted, because the runtimes came back.

How big does CoreSimulator Caches get?

It follows the runtimes you have installed and booted. Check both locations:

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

Your per-user cache. Removes nothing.

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

The system dyld cache, where it exists. Reading it needs no administrator rights. Removes nothing.

xcrun simctl runtime list

Lists the installed runtimes the caches are built from.

Is it safe to delete CoreSimulator Caches?

WhatVerdictWhat you lose
Contents of ~/Library/Developer/CoreSimulator/CachesSafeA slower first simulator boot while caches rebuild.
Deleting while a simulator is runningCarefulThe running simulator can crash. Quit Simulator and Xcode first.
/Library/Developer/CoreSimulator/CachesCarefulSame cache, but system-owned and needs sudo. It rebuilds while its runtime stays installed.
Runtime images in /Library/Developer/CoreSimulatorNever by handSimulators for that OS stop working. Remove runtimes with Xcode or simctl.

How do I clear CoreSimulator Caches?

There is no simctl command for the cache itself, so clear it in Terminal after quitting Simulator and Xcode:

rm -rf ~/Library/Developer/CoreSimulator/Caches/*

Deletes the per-user caches permanently, without the Trash. The folder stays.

To free space for good, remove runtimes you no longer use. Apple's documentation says Xcode > Settings > Components shows the storage you can recover per component. From Terminal, simctl's help lists a dry run first:

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

Prints which runtimes not used in 90 days would be deleted. Removes nothing until you run it again without --dry-run.

What Hoardless does: its Xcode detector lists ~/Library/Developer/CoreSimulator/Caches at the Auto tier and moves it to the Trash after you review the plan, logged in the undo log. It does not list the system copy in /Library. Its Unused view lists simulator runtimes idle for 120 days or superseded by a newer one, and removes each with xcrun simctl runtime delete after you confirm.

What comes back and when?

The cache for every runtime you still boot. The first launch of each simulator after clearing rebuilds it. Caches for runtimes you have removed do not come back.

Simulator caches, devices and runtimes together

Hoardless lists CoreSimulator Caches (Auto tier) and Devices (Confirm, cleaned with xcrun simctl delete unavailable), and its Unused view finds runtimes idle for 120 days, removed with simctl after you confirm.

14-day full trial. macOS 14 or later.

Questions

Why did CoreSimulator Caches fill up again?

The caches are built from the runtimes you have installed. As long as a runtime is installed and you use it, its cache comes back. Removing unused runtimes is what makes the space stay free.

Is /Library/Developer/CoreSimulator/Caches the same folder?

No. That one is at the top of the disk, owned by root, and on recent setups holds the dyld folder. Changing it needs an administrator. The folder in your home Library is a separate, per-user cache.

Does deleting the caches delete my simulators?

No. Simulators and their apps live in ~/Library/Developer/CoreSimulator/Devices, which is a different folder.