Skip to content

Xcode DerivedData in a project

Last updated 1 November 2026

What it is, where it lives on your Mac, and whether it’s safe to delete.

Safe to delete

Yes. Rebuilds on the next Xcode or xcodebuild build that uses it.

Where it is

Usually a DerivedData folder an Xcode build was pointed at (xcodebuild -derivedDataPath, or a custom location in Xcode's settings). DiskCity recognises it by what's inside, wherever it is.

What it is

Xcode writes build products, indexes and logs to the DerivedData folder a build names (xcodebuild -derivedDataPath, or a custom location in Xcode's settings) and makes it again on the next build.

Only a folder holding nothing but what Xcode makes there (Build, Logs, its .noindex caches, SourcePackages, TestResults, info.plist) and no archive, so never a project's own folder; your sources, schemes and archives live elsewhere. Nothing goes while Xcode or xcodebuild runs, or within 3 days of a build.

Is it safe to delete?

Yes. Rebuilds on the next Xcode or xcodebuild build that uses it.

How to remove it

  1. Quit Xcode, xcodebuild, XCBBuildService, SWBBuildService first.
  2. Leave anything opened or changed less than 3 days ago (for a folder, its newest file counts). DiskCity waits that long too.
  3. Remove it from inside the app or tool that made it, or find it in Finder and move it to the Trash.

What DiskCity does with it

DiskCity labels it as rebuildable and removes it when you approve, or on its own if you turn on Autopilot. It only suggests it once it hasn't been used for 3 days. It waits until Xcode is closed.

Sources

Checked 2026-10-28.