Launch dealDiskKind Pro for $29 $14.50, once, for the first 100 buyers. Use code LAUNCH100 at checkout.See what Pro adds

How to uninstall Xcode on a Mac

Apple doesn't have an 'uninstall' page for Xcode, so you uninstall it like you uninstall any other app: quit it and then drag it to the trash. The disk space that Xcode takes up in other places is another story. Below are the names Apple's own Xcode help uses, as of 25 November 2026.

Updated

Delete app

Apple's help for deleting apps also applies to Xcode. It also mentions that deleting an app doesn't delete other files that it creates. Apple Support

1. Quit Xcode

Ensure that Xcode is not running.

2. Drag Xcode to the Trash

Find it in your Applications folder and drag it to the Trash. Enter an administrator password if your Mac asks.

3. Emptying the Trash

In Finder, choose Empty Trash. You will get your space back.

What Xcode keeps outside the app

These are the folders and parts Apple's Xcode help names. Xcode Help

Derived Data

A project index, log, and build products. Apple states that this folder can be large and can be recreated at any time from the source files.

~/Library/Developer/Xcode/DerivedData

Archives

Builds you archived for release. Keep anything you still need to submit or debug.

~/Library/Developer/Xcode/Archives

Simulators and other components

Before removing Xcode, go open Xcode > Settings > Components. Apple lets you know how much storage space it will return to you if you delete each one.

What DiskKind shows

DiskKind is an app that explores developer folders, such as the Derived Data folder, and determines which app belongs to each folder. DiskKind for developers

Developer data, with its source

DiskKind Free tells you how much space Derived Data, archives and simulators take up, and why each is or isn't OK to delete.

Trash, never delete

DiskKind only moves what you choose to the Trash, and you can Put back anything it moves.

Questions about uninstalling Xcode

How do I uninstall Xcode on a Mac?

Quit Xcode and drag it to the Trash from the Applications folder, then empty the Trash. Apple doesn't provide an official page for removing Xcode, you'll need to follow Apple's instructions for uninstalling apps.

Is it safe to delete Derived Data?

Apple claims that any Derived Data can be rebuilt anytime from your source files. Xcode rebuilds it, which takes some time when you're doing the next build.

Where do simulators take space?

Each item in the Settings > Components list in Xcode lists the amount of storage it would recover if removed.

Find out what all of your apps have installed on your Mac.

DiskKind Free tells you what each app keeps in your Library, then only moves what you want to the Trash. Never deletes anything!

The DiskKind app icon