title: Xcode on Mac App Store can't install, show disk space not enough
body: <p>I'm using macOS to install Xcode 10.1.</p>
  <p>I have 18.43 GB free disk space on my Mac, but when I click the install button next to Xcode in the App Store, it always shows the &quot;Not enough storage disk space, you can't install the product&quot; alert message.</p>
  <p>How do I fix this problem in macOS Mojave(10.14.1)?</p>
  <p><a href="https://i.stack.imgur.com/igBgq.png" rel="noreferrer"><img src="https://i.stack.imgur.com/igBgq.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/iiApT.png" rel="noreferrer"><img src="https://i.stack.imgur.com/iiApT.png" alt="enter image description here" /></a></p>