Bytewell
  • Features
  • Pricing
  • Menu
    • Features
    • Pricing
  • EN
    • English
    • Deutsch
    • Español
    • 日本語
    • Türkçe
    • 简体中文
    • 繁體中文
  • Download
Bytewell›Guides

Xcode taking up too much space: what's safe to delete

Updated November 1, 2026

Xcode itself takes several GB, and what it leaves behind often grows much larger: build folders, simulators, simulator runtimes and debug symbols for every device you've plugged in.

The short answer: DerivedData, Device Support folders, preview simulators and simulators you no longer use are safe to remove: Xcode builds or downloads them again when it needs them. Keep your Archives unless you're sure you won't need them.

On this page

  1. Where does Xcode keep all that data?
  2. How do I delete DerivedData?
  3. How do I remove old simulators and simulator runtimes?
  4. Is it safe to delete iOS DeviceSupport?
  5. Should I delete Xcode Archives?
  6. Why is the space back a week later?

Where does Xcode keep all that data?

  • ~/Library/Developer/Xcode/DerivedData: build output and indexes for every project you've opened. Safe: rebuilt on the next build, which is slower once.
  • ~/Library/Developer/Xcode/iOS DeviceSupport (and the watchOS, tvOS, macOS and visionOS ones): debug symbols copied from each device and system version you connected. Safe: copied again the next time you connect that device.
  • ~/Library/Developer/CoreSimulator/Devices: your simulators, with the apps and data installed in them. Simulators whose runtime is gone are dead weight.
  • Simulator runtimes (a whole iOS, watchOS or visionOS for the simulator, several GB each). macOS counts them as System Data, not as Xcode.
  • ~/Library/Developer/Xcode/UserData/Previews: simulators made for SwiftUI previews. Safe: recreated automatically.
  • ~/Library/Developer/CoreSimulator/Caches and ~/Library/Developer/XCTestDevices: simulator caches and the clones made for parallel testing. Safe.
  • ~/Library/Developer/Xcode/Archives: every build you archived for the App Store or TestFlight. Review: see below.

How do I delete DerivedData?

  1. Quit Xcode.
  2. In Finder, choose Go › Go to Folder (Shift-Command-G) and paste ~/Library/Developer/Xcode/DerivedData.
  3. Select the folders inside and move them to the Trash. To free the space, empty the Trash.

In Terminal, this does the same but skips the Trash, so there's no undo:

rm -rf ~/Library/Developer/Xcode/DerivedData/*

How do I remove old simulators and simulator runtimes?

Let Xcode's own tool do it, so its list of simulators stays right:

xcrun simctl delete unavailable
xcrun simctl runtime list
xcrun simctl runtime delete <runtime identifier>

The first line removes simulators whose runtime is no longer installed. The other two list the installed runtimes and remove one you don't test on any more. You can also remove a runtime in Xcode › Settings › Components (Platforms in older Xcode versions), and single simulators in Window › Devices and Simulators.

Is it safe to delete iOS DeviceSupport?

Yes. Each folder holds the symbols of one device and system version, so Xcode can show readable stack traces while you debug on it. Delete the folders for versions your devices no longer run. If you connect such a device again, Xcode copies the symbols again, which takes a few minutes.

Should I delete Xcode Archives?

Only the ones you're sure about. An archive holds the exact build you shipped and its debug symbols (dSYM). Without it you can't turn crash reports from that version into readable stack traces or export that build again. Keeping the archives of versions people still use is a good rule.

Why is the space back a week later?

DerivedData grows again with every build, and a new Xcode or iOS version brings new runtimes and device support. That's normal: these folders are caches. Clearing them now and then, or when the disk runs low, is enough.

Bytewell lists each of these with its size, marked safe or review, shows simulators with their runtime, and moves what you pick to the Trash, where it can be put back. For simulators and runtimes it can also give you the xcrun simctl command.

Download

Guides

  • Claude Code, Codex and Cursor disk usage: what's safe to cleanWhere Claude Code, Codex, Gemini CLI, Cursor and VS Code keep transcripts, worktrees, runtimes and editor state on a Mac, and which of it you can safely remove.
  • Docker using too much disk space on a Mac: Docker.raw explainedDocker Desktop keeps everything in one file, Docker.raw. Why it looks huge, how to see what uses it, and which docker prune commands free space safely on Mac.
  • Where Ollama, LM Studio and Hugging Face store models on a MacWhere Ollama, LM Studio and Hugging Face keep local AI models on a Mac, how big they get, how to find the same model stored twice, and how to remove them.
  • How to check your Mac's SSD health and wearmacOS only says S.M.A.R.T. Verified. How to read your Mac SSD's real wear (Percentage Used, data written, errors), what the numbers mean, and what wears it out.
  • What is System Data on a Mac, and how do I make it smaller?System Data in Mac storage settings is caches, logs, Time Machine snapshots, swap, iPhone backups, app data and VM disks. What each is and what you can remove.
  • How to find and delete old node_modules folders and package caches on a MacFind every node_modules folder on a Mac with one command, see which package caches (npm, pnpm, Yarn, Homebrew, pip, Go, Gradle) are safe to clear, and how.
  • Videos or GIFs on X are black in SafariVideos and GIFs on X (Twitter) black in Safari while the timer runs, fine in Chrome? Safari's video helper is stuck. Quit Safari with Cmd+Q and reopen it.
Refunds Privacy Terms Contact

Bytewell is made by Axleno.

© 2026 Axleno LLC. All rights reserved.