SiftMac
Error message · Updated 24 November 2026

“Not enough space” when installing an app or Xcode on a Mac

By Mohit Nippanikar, who makes SiftMac

The short answer
On this page
  1. What the messages mean
  2. How to fix it
  3. How much space does Xcode need?
  4. Questions

1. What the messages mean

macOS includes several App Store wordings for the same problem, and which one you see depends on the app and the version:

The space needed is more than the size the App Store lists: an app downloads compressed, then expands as it installs.

2. How to fix it

  1. Free space on the Mac: empty the Trash, then remove large files, old “Install macOS” apps and old iPhone backups. See “Your disk is almost full”.
  2. For Xcode, clear its own data first: Xcode › Settings › Components shows how much space you can recover from simulator runtimes and platforms; delete the ones you don’t use. ~/Library/Developer/Xcode/DerivedData can go too; Xcode rebuilds it. See developer files.
  3. Install large apps to another disk: in the App Store, choose App Store › Settings and turn on Download and install large apps to a separate disk. Apple says this applies to apps over 1 GB, the disk must be formatted APFS, and it has to stay connected to use the app.
  4. Retry the download from your Purchases or Updates once there’s room.

3. How much space does Xcode need?

Apple doesn’t publish a disk requirement for Xcode; its requirements page lists only macOS versions and SDKs. The App Store lists the download size, recently around 3 GB, but Xcode expands to many times that once installed, and each simulator runtime adds several gigabytes. A forum answer for Xcode 13 estimated about 46 GB free was needed while it unpacked. Plan for tens of gigabytes free before installing or updating it.

If the space shows as “available” but the installer still refuses, the gap is usually purgeable space, such as local Time Machine snapshots; see purgeable space. Old simulators are a common hidden cost; see Xcode simulators.

Questions

Why does the App Store need more space than the app’s size?

The download is compressed and expands when it installs, so it needs room beyond the listed size.

Can I install Xcode on an external drive?

The App Store can install apps over 1 GB to a separate APFS disk, which must stay connected while you use the app.

How much free space do I need for Xcode?

Apple doesn’t say. Allow tens of gigabytes, since Xcode expands well beyond its download and simulators are extra.

Is it safe to delete old simulator runtimes?

Yes, if you don’t test on those versions. Xcode can download them again from Settings › Components.

How SiftMac handles it. SiftMac’s developer files view finds old simulators, DerivedData, device support files and package caches, with a verdict on each and the space removing it really frees, so there’s room for the next Xcode or a big app without guessing what’s safe.

Download SiftMac · scanning is free, and so is your first 2 GB of cleaning · See how it works