---
id: mac-storage-basics.how-do-i-completely-remove-xcode
url: https://storagestudio.us/faq/mac-storage-basics/how-do-i-completely-remove-xcode
category: "Mac storage basics"
subcategory: "Programming languages and toolchains"
question: "How do I completely remove Xcode and the data it leaves behind?"
alt_questions:
  - "uninstall xcode fully"
  - "xcode leftover files"
  - "delete xcode and simulators"
  - "library developer folder after removing xcode"
  - "remove xcode mac space"
  - "clean uninstall xcode"
short_answer: "Remove unneeded simulators first, delete Xcode from Applications, then clear the build-data and device-support folders in your Library's Developer folder. Keep Archives if you publish apps."
tags: ["xcode", "uninstall", "developer"]
related: ["https://storagestudio.us/faq/mac-storage-basics/is-it-safe-to-delete-deriveddata", "https://storagestudio.us/faq/mac-storage-basics/can-i-delete-xcode-archives"]
applies_to: "all"
last_reviewed: 2026-10-01
---

# How do I completely remove Xcode and the data it leaves behind?

Deleting **Xcode** from Applications removes the app but leaves its data in the **Developer** folder of your Library: build data, simulators, device support files and archives.

1. Before deleting Xcode, remove simulators and platforms you don't need (Xcode's settings list installed platforms).
2. Delete Xcode from Applications.
3. In your Library's Developer folder, delete the build-data and device-support folders.

Keep **Archives** if you publish apps — they're needed to read crash reports from your releases. Details on each folder: [DerivedData](https://storagestudio.us/faq/mac-storage-basics/is-it-safe-to-delete-deriveddata), [archives](https://storagestudio.us/faq/mac-storage-basics/can-i-delete-xcode-archives).
