Xcode on Mac App Store can't install , show disk space not enough

dickfala picture dickfala · Nov 22, 2018 · Viewed 81.2k times · Source

I'm using the Mac OS to install the XCode10.1.

I have 18.43GB free disk space in the mac,

but when I click the install button on the Xcode from the app store,

it's always show the "Not enough storage disk space, you can't install the product" alert message.

How to fix the problem in the MacOS Mojave(10.14.1)?

Thank you very much.

enter image description here

enter image description here

Answer

Biba picture Biba · Apr 4, 2019

What you can also do is manually download Xcode and install it. (Without using the app store update) Therefor do the following steps:

  1. go to https://developer.apple.com/download/more/
  2. search for Xcode (or latest version e.g Xcode 10.2) and manually download and install it.

See also this post here: https://discussions.apple.com/thread/8622103?answerId=250008933022#250008933022