DevCleaner for Xcode is a free app with a focused job: reclaiming the space Xcode fills in ~/Library/Developer. But if coding agents are part of how you build, most of your clutter lives elsewhere: in agent sessions and scratch folders, in git worktrees, in node_modules and target folders across every project. That's the space Devbroom is made for.
One scan for everything agents leave
Devbroom knows where your agents keep their sessions, scratch folders and caches, and follows each agent's own rules. It finds git worktrees even outside your project folders, build folders like node_modules, .next, target and .venv, and developer caches such as npm, pnpm and Cargo. On the Xcode side it handles DerivedData, simulator caches and simulators whose runtime is gone (through xcrun simctl delete unavailable).
DevCleaner goes deeper into Xcode alone: Device Support files, Archives, the documentation cache and old logs. It doesn't look at agents, worktrees or other languages' build folders.
Safety you can see
DevCleaner removes what you select directly, so nothing goes to the Trash, and its README asks you to make a backup first. It has a dry-run setting, in the app and in its command-line tool, to see what would go.
Devbroom is built so a mistake can't cost you work:
- A worktree with uncommitted changes is Blocked. Devbroom never uses
--force. - If an agent session runs in a folder, a process runs from it or a file in it is held open, the item is Blocked.
- A name alone is no evidence:
DerivedDatais Ready only with Xcode's files inside. - Every item is checked again when you press Clean, goes to the Trash, and can be put back from History.
Every rule is on the Rules page.
Made to work with your agents
Devbroom's MCP server lets Claude Code, Codex or Cursor check a folder before deleting it, or ask for a cleanup that waits for your OK. The devbroom command and the menu bar panel show the last scan at a glance. See Integrations.
Price
Scanning, verdicts, cleaning, History, the command line and MCP are free. Pro is a one-time $29 for 2 Macs and adds Automatic upkeep, Analytics and the session tools. Details on the Pricing page. DevCleaner is free on the Mac App Store, with optional tips.
Related
- DerivedData step by step: How to clear Xcode DerivedData on a Mac.
- The other build folders on the same Mac: How to find and clean node_modules and build folders on a Mac.
- What each verdict means: Verdicts.
When DevCleaner is enough
If you only build for Apple platforms without coding agents and your space goes to Device Support and Archives, DevCleaner does that well. If you build with agents, you can keep it for those Xcode files and let Devbroom handle everything else.
Facts checked on October 9, 2026. Website: DevCleaner for Xcode
DevCleaner for Xcode is a trademark of its owner. Devbroom is not affiliated with it. What this page says about DevCleaner for Xcode comes from its own site and repository; if something has changed, write to support@devbroom.com.