What it is
Build output, indexes and logs for every Xcode project you have built.
Can you delete it?
Yes, it is rebuilt automatically. Xcode rebuilds it on the next build. It is the most common reason a developer Mac fills up.
How to clean it safely
- Quit Xcode.
- Run:
rm -rf ~/Library/Developer/Xcode/DerivedData/* - The next build takes longer while Xcode rebuilds the index.
Related folders
- iOS DeviceSupport ·
~/Library/Developer/Xcode/iOS DeviceSupport - Xcode Archives ·
~/Library/Developer/Xcode/Archives - iOS Simulators ·
~/Library/Developer/CoreSimulator - CoreDevice (connected devices) ·
~/Library/Developer/CoreDevice - node_modules ·
<project>/node_modules
Questions
Is it safe to delete ~/Library/Developer/Xcode/DerivedData?
Yes, it is rebuilt automatically. Xcode rebuilds it on the next build. It is the most common reason a developer Mac fills up.
Let the raccoon do it, safely
Junk Raccoon finds this clutter for you, shows every file first, and keeps a one-click way back. Free beta for Mac.
Download for Mac