Is Xcode DerivedData Safe to Delete? (Yes, and Here's How)
The Silo Team · 5 min read · September 19, 2026
Is DerivedData Safe to Delete?
Yes. 100% safe. DerivedData is Xcode's build cache directory. It stores compiled intermediates, indexes, and diagnostic logs. Deleting it forces Xcode to recompile from scratch, which takes longer on the next build — but nothing is permanently lost.
Where Is DerivedData?
~/Library/Developer/Xcode/DerivedData
This directory typically contains one folder per project you've ever built. Each folder can be 2–8 GB. Old projects accumulate here indefinitely.
Other Xcode Directories Worth Cleaning
iOS/watchOS/tvOS Simulator Runtimes (~10–30 GB)
# List all simulators
xcrun simctl list
# Delete simulators that are no longer supported by Xcode
xcrun simctl delete unavailable
DeviceSupport Symbol Caches (~5–20 GB)
~/Library/Developer/Xcode/iOS DeviceSupport
~/Library/Developer/Xcode/watchOS DeviceSupport
These contain debug symbol mappings for every device you've connected. Safe to delete; Xcode redownloads as needed.
Archives
~/Library/Developer/Xcode/Archives
IPA and dSYM archives. Review before deleting — you may need old archives for crash symbolication.
How MacPilot's Xcode Reclaimer Works
MacPilot's Developer Center runs a targeted scan of all Xcode directories and shows you exact sizes before deletion. It runs xcrun simctl delete unavailable automatically and flags old DeviceSupport entries older than 6 months as safe candidates.
Keep reading
How to Free Up Disk Space on Mac: The Developer's Complete Guide
From APFS clone-aware deduplication to DerivedData nukes and Docker.raw shrinking — the most complete storage reclaim guide for macOS engineers.
How to Kill a Process on a Port on Mac (localhost:3000, 5432, 8080)
The right way to find and kill whatever is listening on localhost:3000, 8080, or 5432 on macOS — using lsof, process tree resolution, and MacPilot.