25

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.

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

2 Answers 2

21

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.

14
  • Thanks. I have cleaned system and freed for 20 GB, and its updating xcode now .
    – Bharathi
    Commented Sep 16, 2016 at 6:13
  • 9
    20G is well beyond outrageous but yeah… Apple.
    – Alper
    Commented Oct 28, 2016 at 16:45
  • 4
    I have 66 GB free, but can't install Xcode 11 for this very reason... 😱
    – Jonny
    Commented Sep 24, 2019 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
    Commented Sep 18, 2020 at 14:32
  • 1
    Are you getting it from App Store or developer download @fsb ?
    – bmike
    Commented Sep 18, 2020 at 14:52
5

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.

2
  • 1
    Xcode 12 update is working for me with 37gb free
    – kjyv
    Commented Sep 19, 2020 at 11:32
  • 1
    The new bar to cross with XCode 13.2.1, you need at least 45GB.
    – George L
    Commented Dec 31, 2021 at 2:16

You must log in to answer this question.

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