← All guides

How to Review Xcode DerivedData Before Cleaning Mac Storage

Find Xcode DerivedData, review developer storage candidates and protect project files before cleaning your Mac.

OmniDisk Cleanup view showing Xcode and developer file candidates

Xcode build data can grow as projects are indexed and built. Before removing anything, identify the folder, stop active builds, and decide which data you need to retain. This guide focuses on reviewing DerivedData, not deleting every developer folder.

What is DerivedData?

Xcode commonly stores build products, indexes and related generated data in ~/Library/Developer/Xcode/DerivedData. The location can be customized, so confirm the path in your Xcode settings before taking action. Rebuilding may take longer after generated data is removed. Keep project source, signing material, backups and archives separate from cleanup candidates.

Check before cleaning

  1. Back up important projects and verify that required changes are saved or committed.
  2. Wait for builds and indexing to finish. Quit Xcode before reviewing files for removal.
  3. In Finder choose Go → Go to Folder and inspect the actual DerivedData location. Check project folders and sizes before deciding what you no longer need.
  4. Do not assume archives, simulator data or device support files are interchangeable with DerivedData. Review them independently and retain anything needed for releases or testing.

Inspect developer candidates in OmniDisk

In OmniDisk’s Cleanup view, scan and inspect the Xcode and developer files category. The image shows an English promotional screen; the sizes are examples, not an estimate for your Mac. Review each candidate and its path rather than selecting a whole category blindly. Accessible locations depend on permissions and the installed version.

OmniDisk Cleanup view with Xcode and developer file candidates

Check the folder scope

Disk analysis lets you choose a folder and review accessible results and file-size filters. Select the intended location and check the scan status; a partial scan can omit files. The following promotional screenshot shows the scope and filters, with example values.

OmniDisk disk analysis screen showing scan scope and file-size filters

After reviewing

If you choose to remove a confirmed candidate, check the action and destination carefully. Reopen your project and run a build; indexing and the first rebuild may take longer. If you are unsure whether a folder is generated, leave it in place until you can verify it. This developer guide discusses the distinction between DerivedData and Xcode’s Clean Build Folder.

Try OmniDisk

Review Mac storage and large files, or organize duplicate photos on iPhone.

Try OmniDisk ↗Review every candidate before removal and keep a current backup of important files.