I am trying to update Xcode to 8.0. My OS is 10.11.6 El Capitan. However I am getting:

We could not complete your update
There is not enough disk space available to install the product.

I have got 14.22 GB free space. How much do I need?

UPDATE: I do not know the exact figure, though I did manage to update with 17.21 GB free space later on.

  • I now have 20.89 GB, but I couldn't update Xcode.
    – Polv
    Oct 10 '19 at 3:22
  • Log out of App Store, reboot, log back into App Store, install. Sep 16 '20 at 23:43
  • I logged out, logged back in. I have 27 gb available still won't install. Sep 18 '20 at 13:55

You'll need about 20GB free to do the install when you consider the space needed for holding/swapping files with the .dmg during the install process.

I saw this in the Apple developer forums:

Have a look at About This Mac → Storage tab. You might see a purple segment labeled "Backups." That's the local Time Machine cache, and it doesn't show up in the Finder's free space display because it can theoretically be purged if that space is needed.

Update Sept 18, 2020: Since this answer was written, Xcode free space requirements have been increasing. As of Xcode 12, I needed at least 49GB of space to complete the installation.

  • Thanks. I have cleaned system and freed for 20 GB, and its updating xcode now .
    – Bharathi
    Sep 16 '16 at 6:13
  • 8
    20G is well beyond outrageous but yeah… Apple.
    – Alper
    Oct 28 '16 at 16:45
  • 4
    I have 66 GB free, but can't install Xcode 11 for this very reason... 😱
    – Jonny
    Sep 24 '19 at 2:58
  • 2
    @JoshuaDance My answer was written a few years ago. As Xcode advances, the free space requirement keeps increasing. Yesterday, I couldn't install Xcode 12 until I had 49GB of free space.
    – fsb
    Sep 18 '20 at 14:32
  • 1
    Are you getting it from App Store or developer download @fsb ?
    – bmike
    Sep 18 '20 at 14:52

As of Sept 2020 Xcode now requires over 40 gbs of free space to install.

It finally started downloading for me today once I had 42gb of free space on my hard drive, as measured by the Get Info window. Cmd-I on your hard drive to open it.

  • 1
    Xcode 12 update is working for me with 37gb free
    – kjyv
    Sep 19 '20 at 11:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .