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 at 3:22

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 app developer forum:

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.

  • Thanks. I have cleaned system and freed for 20 GB, and its updating xcode now . – Bharathi Sep 16 '16 at 6:13
  • It appears you don't need to clear out enough free space, the OP was able to get it work by some method not mentioned in either the question or the answer. – fsb Sep 20 '16 at 19:30
  • 3
    20G is well beyond outrageous but yeah… Apple. – Alper Oct 28 '16 at 16:45
  • The Xcode app itself is roughly 10G. And I noticed that each user that has ever used Xcode has about 1G of files in the home directory. (NOTE: I didn't delete Xcode.app to get an easy 10G, but gave it some serious thought. – benc Jan 2 at 21:44
  • 1
    I have 66 GB free, but can't install Xcode 11 for this very reason... 😱 – Jonny Sep 24 at 2:58

You must log in to answer this question.

protected by Tetsujin Oct 4 '16 at 9:35

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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