Can I Delete Xcode DerivedData?
Usually, yes. DerivedData contains build output, indexes, and intermediate files that Xcode can regenerate.
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?
DerivedData is only one part. A scan can also flag Archives, CoreSimulator, and other Xcode storage sinks.
curl -O https://site-iota-ebon-80.vercel.app/scan.sh && bash scan.sh