For Developers

Your Xcode Cache Probably
Has 20 GB of Junk.

DerivedData, iOS Simulators, Device Support files, npm, Gradle, pip, CocoaPods, and Homebrew caches โ€” a developer Mac can accumulate 30โ€“80 GB of build artifacts that are safe to delete. CleanMachine finds them all in one scan. Free to see, $19.99 to clean.

Download & Scan Free โ†’ Unlock Cleaning โ€” $19.99

macOS 13+  ยท  Apple Silicon & Intel  ยท  Scanning always free

โš™๏ธ Xcode, npm, Gradle, pip, Homebrew
๐Ÿ“ฑ iOS Simulators & Device Support
๐Ÿ”„ Safe โ€” regenerates on next build
โ™ป๏ธ CleanMachine Trash โ€” recoverable
โšก Parallel scan across all categories

8 developer cache locations.
How big can they get?

10โ€“30 GB
Xcode DerivedData
5โ€“20 GB
iOS Simulators
5โ€“15 GB
Xcode Device Support
2โ€“10 GB
npm + Gradle + pip combined

Xcode DerivedData

Every time you build an Xcode project, the compiled artifacts go to ~/Library/Developer/Xcode/DerivedData/. Xcode keeps builds for every project you've ever worked on โ€” even projects from years ago. On an active iOS/macOS developer machine, DerivedData can easily reach 10โ€“30 GB. Clearing it is completely safe: Xcode will rebuild on next compile (taking a few extra minutes).

iOS Simulators

Each iOS Simulator in ~/Library/Developer/CoreSimulator/Devices/ is a complete virtual iPhone or iPad with its own filesystem. Every iOS version and device combination Xcode ever downloaded or ran creates a directory here. After a few years you might have 20+ simulators you no longer use. Each is 500 MBโ€“2 GB.

Xcode iOS Device Support

Every time you connect a new iOS device or upgrade iOS, Xcode copies support files (~2โ€“5 GB per version) to ~/Library/Developer/Xcode/iOS DeviceSupport/. Files for old iOS versions you no longer develop for are safe to remove.

npm Cache

Node.js stores a local package cache in ~/.npm/_cacache/. Every package you've ever installed via npm is cached here โ€” even versions from projects you've deleted. The npm team actually recommends clearing this periodically with npm cache clean. CleanMachine does this without the Terminal.

Gradle Cache

Android/Java developers: Gradle stores build caches in ~/.gradle/caches/. This can reach 5โ€“10 GB on an active Android project and is completely safe to clear โ€” Gradle will re-download what it needs on the next build.

pip Cache

Python's pip stores downloaded wheels in ~/Library/Caches/pip/. Safe to clear โ€” pip re-downloads packages when needed.

CocoaPods Cache

CocoaPods stores a local spec cache in ~/Library/Caches/CocoaPods/. On iOS developer Macs this can be 1โ€“3 GB and is safe to delete.

Homebrew Download Cache

Homebrew keeps downloaded package archives in ~/Library/Caches/Homebrew/. After brew upgrade installs new versions, the old archives stay. Usually 500 MBโ€“3 GB of safely removable data.

All of these are caches and build artifacts โ€” not source code. Your projects, git history, and actual work files are never touched. Clearing developer caches just means your tools rebuild their working directories on next use.
โœ“ Developer scan is free

See exactly how big your
developer caches are.

Download CleanMachine and run Developer Junk scan โ€” completely free. See real-time sizes for each category. Only $19.99 once to clean them all up โ€” with category-by-category control.

macOS 13+ ยท Apple Silicon native ยท No subscription ยท 30-day money-back guarantee

Common questions.

Will clearing DerivedData break my Xcode projects?

No. DerivedData contains only build artifacts โ€” compiled binaries, indexes, and build logs. Your source code is in your project directory. After clearing, Xcode will do a full rebuild on the next build (which takes longer than an incremental build, but is otherwise identical). Your breakpoints, schemes, and settings are unaffected.

If I delete iOS Simulators, can I get them back?

Yes. Simulators can be re-added through Xcode โ†’ Preferences โ†’ Components at any time. They download and install in a few minutes. CleanMachine puts deleted simulators in CleanMachine Trash first, so you can also restore them from there if you change your mind immediately.

Does it touch my actual source code or git repos?

Never. CleanMachine's Developer Junk scanner only looks at the eight specific cache/build artifact directories listed above. Your project files, git repositories, virtual environments, and installed Node modules (node_modules) are not touched.

Reclaim 20โ€“50 GB of build junk.

Free scan shows the exact size. $19.99 once to clean it all up.

Download & Scan Free โ†’