How Much Space Xcode Really Takes, and What Is Safe to Delete
Xcode is only a few gigabytes. The 50–150 GB is DerivedData, simulators, device support and archives. Here is what is safe to delete and what to keep.

The short answer
Xcode itself is only a few gigabytes (about 3.7 GB installed). The 50–150 GB that builds up on a development Mac is DerivedData, simulator runtimes, device support symbols and archives. Almost all of it can be deleted and rebuilt or re-downloaded; the exception is archives of shipped versions, whose dSYMs cannot be regenerated.
The App Store number is the least useful number. Xcode 27 is a 3.1 GB download and about 3.7 GB once installed. What fills your disk is everything Xcode creates after you install it: build caches, simulator runtimes, debug symbols for every iPhone you have ever plugged in, and archives of every build you have shipped.
A Mac used for iOS development for a year or more typically carries 50–150 GB of Xcode-related files. Almost all of it can be deleted and rebuilt or re-downloaded. The one exception is your archives of shipped app versions: delete those and the crash-report symbols for that exact build are gone for good.
Where the space goes
| Folder | What it is | Typical size | Grade |
|---|---|---|---|
Xcode.app | The app itself | ~3.7 GB (Xcode 27); older versions 12–20 GB | Keep |
~/ | Build products, indexes, module caches | 10–50 GB | Rebuilds |
~/ | Debug symbols for each iOS version you have connected | 1–3 GB per version; 10–40 GB after a few years | Safe (old versions) |
| Simulator runtimes | The iOS, watchOS and tvOS versions simulators boot | 5–8 GB each | Safe (unused ones) |
~/ | Per-simulator apps and data | 5–20 GB, occasionally much more | Safe (unused ones) |
~/ | Shipped builds and their dSYMs | Depends on how much you ship | Review |
/ | Compilers without full Xcode | ~1.3 GB | Keep |
Sizes are typical ranges from published guides checked in November 2026. Your Mac will differ, and the commands near the end of this guide show your exact numbers in seconds.
DerivedData: safe, and the biggest easy win
~/ holds everything Xcode generates while building: compiled objects, the index behind autocomplete, module caches and build logs. It grows with every project and Xcode never cleans it up.
Everything in it is regenerable. Delete it and Xcode rebuilds it the next time you build. The cost is a slower first build, from a minute or two for a small project to much longer for a large one. No source code, project settings or signing certificates live here. For more detail, see is it safe to delete Xcode DerivedData.
rm -rf ~/Library/Developer/Xcode/DerivedData/*
Quit Xcode first, and do not run it in the middle of a build.
iOS DeviceSupport: symbols for phones you no longer own
~/ holds a copy of the debug symbols for each iOS version of each device you have plugged in. A folder appears whenever a device on a new iOS version connects, and nothing removes the old ones. After a few years these easily total 20–40 GB; one Mac reported in a published guide had 242 GB across 59 folders.
Any version you no longer debug against is safe to remove. If a device on that version connects again, Xcode copies the symbols again. Keep a version only if you still symbolicate crash reports from it locally.
The same applies to watchOS DeviceSupport and tvOS DeviceSupport in the same folder.
Simulator runtimes: 5–8 GB each, and they pile up
A runtime is the operating system a simulator boots, one for each platform and OS version you install. A recent iOS runtime is about 8 GB. Xcode keeps every version you have downloaded, and an Xcode upgrade can pull a new one down while the old one stays.
Since Xcode 15, runtimes are managed by the system rather than stored in your ~/ folder, and the location has moved between Xcode versions. Do not delete runtime files by hand. Remove them with the tools Apple provides:
xcrun simctl runtime list
xcrun simctl runtime delete <runtime-identifier>
The first command lists each installed runtime with its identifier; pass the identifier of one you no longer need to the second. Or, in Xcode, open Settings → Components (called Platforms in some versions), which shows each runtime with its size and a delete button. Deleting a runtime you still need costs a multi-gigabyte re-download, so remove only versions you genuinely no longer test.
For the full picture on simulators — runtimes, devices and what is safe to delete — see How Much Space iOS Simulators Really Take.
Simulator devices: the data inside each virtual iPhone
~/ holds one folder per simulator you have created, each with its own installed apps and data. A heavily used simulator can hold 12 GB on its own. Deleting simulators you no longer use is safe; it removes their apps and data, not the runtime they boot.
xcrun simctl delete unavailable
That command removes simulators whose runtime is no longer installed. Remove the rest from Xcode's Devices and Simulators window.
Archives: think before deleting
~/ holds the archives of builds you have made for distribution. Inside each archive is the dSYM for that exact binary, the file that turns a crash report's memory addresses back into function names.
Keep the archives of every version that is live on the App Store, unless you have stored those dSYMs somewhere else, such as your crash-reporting service. A dSYM cannot be regenerated later for a build that has already shipped, so if the archive is the only copy, deleting it means crash reports from that version can never be fully symbolicated again.
Safe to delete: archives of builds you never shipped, and old versions whose dSYMs you have kept elsewhere.
What not to delete
- Xcode.app itself. Deleting it means downloading the whole thing again.
~/. Your code snippets, custom key bindings, themes and breakpoints live here. It is small; leave it alone.Library/ Developer/ Xcode/ UserData - Archives of shipped versions, unless their dSYMs are stored elsewhere.
- The whole
~/folder. It contains UserData and other things you want. Delete the specific folders in this guide, not the parent.Library/ Developer - Simulator runtime files by hand. Use
simctlor Xcode's settings, as above.
Check your own numbers
Paste these one at a time in Terminal. Each prints the size of one folder:
du -sh ~/Library/Developer/Xcode/DerivedData
du -sh ~/Library/Developer/Xcode/iOS\ DeviceSupport
du -sh ~/Library/Developer/CoreSimulator
du -sh ~/Library/Developer/Xcode/Archives
The honest bit
Deleting caches does not make your Mac faster. It makes room. The next build after clearing DerivedData will be slower, because Xcode has to rebuild what you deleted. That is the trade, and it is usually a good one: a few minutes of build time for tens of gigabytes back.
If you only need a compiler, git or Homebrew, you do not need Xcode at all. The Command Line Tools are about 1.3 GB and cover those.
Doing it without Terminal
Sizes are typical figures from published Xcode storage guides checked in November 2026, including the Mac App Store listing for Xcode, not promises. Your Mac's numbers come from the du commands above.
Quick answers
How big is Xcode?
Xcode 27 is a 3.1 GB download and about 3.7 GB once installed. The much larger figures people quote, 50–150 GB, come from what Xcode creates afterwards: DerivedData, simulator runtimes, iOS DeviceSupport symbols and archives.
How much space does Xcode use over time?
A Mac used for iOS development for a year or more typically carries 50–150 GB of Xcode-related files. The du commands in this guide show your own numbers in seconds.
Is it safe to delete Xcode caches and old simulators?
Almost all of it can be deleted and rebuilt or re-downloaded. The exception is archives of shipped versions: delete those and the crash-report symbols for that exact build are gone for good, unless you stored the dSYMs elsewhere.
Sources
- Apple Developer: Downloading and installing additional Xcode components
- Apple Developer: Building your app to include debugging information
Keep reading
- Guide 2: How Much Space iOS Simulators Really Take — The 17 GB of simulator runtimes and how to prune them.
- Guide 3: How Much Space Do Developer Caches Really Take — The caches every other toolchain leaves behind: node_modules, npm, Gradle, Cargo and pip.
- Is It Safe to Delete Xcode DerivedData? — The short answer on whether DerivedData is safe to delete, and what it costs.
- How to Clean Up Your Startup Disk on Mac — Clear space on a nearly full startup disk, in a safe order.
- What Is System Data on Mac? What to Do About It — What System Data is and why it grows.