Can I Delete Xcode DerivedData?
Usually, yes. DerivedData contains build output, indexes, and intermediate files that Xcode can regenerate.
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.
Safe answer
Close Xcode first. Then deleting DerivedData is generally safe, though the next build may take longer because Xcode has to recreate cache and indexes.
What it does not delete
- Your source code
- Your project files
- Your App Store account
- Your installed Xcode app
Read-only check
du -sh ~/Library/Developer/Xcode/DerivedData
Want the full Xcode cleanup map?
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.