Xcode build data on Mac: what it is and whether you can delete it
~/Library/Developer/Xcode/DerivedData
Yes, you can delete it without losing anything
It recreates itself: the tool that created it makes it again when needed. At most, the next time takes a little longer.
What it is
Intermediate build results. Xcode recreates them.
How to free the space
By emptying the folder's contents (the folder stays).
DiskSpace AI finds it for you
It tells you how much it takes on your Mac, what it is and whether you can delete it. It only selects what recreates itself, and your files are kept 7 days in case you change your mind.
Download the BetaGuides that cover it
- Not enough space to update macOS? How to make room safely
- What is “System Data” on a Mac, and why is it so big?
- How to free up space on your Mac without deleting anything important
- Xcode taking up space? What you can delete (and what you can't)
- DaisyDisk alternative: DiskSpace AI vs DaisyDisk
- CleanMyMac alternative without a subscription
- The best disk space analyzers for Mac in 2026