Can I Delete Xcode Caches?
Usually yes for regenerable build caches, but not every large Xcode folder is the same. Separate safe cache from simulators, archives, and device support before deleting.
Run the free Mac scan before deleting.
The Mac scan reads storage metadata locally, then shows the largest visible buckets and the files that need an AI delete / confirm / protect judgment.
Short answer
You can usually delete Xcode build cache and DerivedData after closing Xcode. The next build may be slower, but Xcode can recreate those files. Be more careful with archives, simulator data, and device support folders because they may affect testing, debugging, or old app releases.
Usually safe after closing Xcode
~/Library/Developer/Xcode/DerivedData- old build products
- regenerable indexing and preview cache
Review before deleting
~/Library/Developer/CoreSimulatorif you still test old iOS versions- Xcode Archives if you may need symbolication or old release builds
- DeviceSupport folders for devices and OS versions you still connect
Read-only checks
du -sh ~/Library/Developer/Xcode/*
du -sh ~/Library/Developer/CoreSimulator/*
du -sh ~/Library/Developer/Xcode/Archives/*
Safer deletion judgment
- Close Xcode and simulators.
- Check folder sizes first.
- Delete DerivedData/build cache first.
- Move confirm-first folders to Trash instead of permanent deletion.
- Open active projects and simulator targets before emptying Trash.
Want a risk-ranked Xcode cleanup report?
Start with the free SafeDisk Mac scan. If deletion risk is still unclear, send one request for the free SafeDisk AI deletion trial next step.
Download SafeDisk Lite from the scanner page, then run the local scan: Download free Mac scan.
Still full after the SafeDisk Lite scan?
Start with the SafeDisk Lite scan. If the scan still leaves unclear delete / confirm / protect decisions, send one request for the free SafeDisk AI deletion trial next step.