Xcode DerivedData No Space Left
Xcode `No space left on device` errors often point at DerivedData or ModuleCache, but the safest fix is to separate rebuildable cache from archives, simulator runtimes, and project state.
SafeDisk Lite local scan
Download the Mac app and scan in this same page.
The website alone cannot read Mac folders. SafeDisk Lite adds the local permission bridge, then this web UI shows the largest visible buckets and one optional cleanup candidate.
Usually safer to clean
- DerivedData after Xcode and xcodebuild jobs are stopped
- ModuleCache.noindex when the build can regenerate modules
- Old build logs and temporary intermediates after preserving failure logs you need
Review before deleting
- Archives used for releases, crash symbolication, or App Store history
- Simulator runtimes required by active projects or CI matrix jobs
- DeviceSupport folders for devices still used by QA or release testing
Read-only checks first
du -sh ~/Library/Developer/Xcode/DerivedData
du -sh ~/Library/Developer/Xcode/Archives
du -sh ~/Library/Developer/CoreSimulator
du -sh ~/Library/Developer/Xcode/iOS\ DeviceSupport 2>/dev/null
Need this as a repeatable team rule?
SafeDisk turns one representative Xcode scan into a safe/review/do-not-touch cleanup plan for developers, QA automation, or macOS CI runners.
Deep Cleanup
Still full after the SafeDisk Lite scan?
Start with the SafeDisk Lite scan. If the scan shows review-first storage that still needs judgment, send one request for the $29 Deep Cleanup next step.