5

I have an available update for Xcode that is in the 7gb range, and when I try to update I get an alert saying there isn't enough disk space - I checked my space and I have 19gb available (of 120gb).

Is this correct, or some kind of error? It seems like I have more than enough space.

Update: I deleted some earlier device support files and I now have 24gb free space and I still don't have enough space for the update. I feel like something's amiss here, as the update is only 7gb - I'm not sure if I should keep deleting things to free up space - will it even make a difference?

Update 2: I restarted my computer with 24gb free space and when I clicked Update, the update seemed to go forth and download - however when the download completed, the button switched back to "Update". When I clicked on it again, I got the "not enough space" alert again - even though now I have 26.5gb free space. I restarted again and keep getting the same message. Truly don't know what's going on here! Here's a screenshot, as requested, of my storage window:

enter image description here

Update 3:

Screenshot after running df -h in terminal as per request:

enter image description here

  • Can you edit your question to include a screenshot of your 'About the Mac -> Storage' so we can see how you're calculating free space? – fsb Sep 21 at 18:34
  • @fsb I made another update which includes a screenshot of my storage window. – KingTim Sep 21 at 18:45
  • Can you please run df -h in Terminal and post a screenshot of the result. Then, see this Reddit thread for some additional troubleshooting steps (multiple steps so I don't want to post them here unless they actually help the OP). – fsb Sep 21 at 19:16
  • @fsb I've added the screenshot to my question. I'll check out that thread, thanks. – KingTim Sep 24 at 13:51
2

You might be close, but I downloaded from the developer website and I had freed ~22 GB.

Try freeing up some more, like cache or movies you have watched, or software you don't use.

  • I'll give it a shot. Just so I understand, if I were to free up, say 21gb and it works, would the 7gb update actually take up an additional 7ish gb, or does it just need that space to install, then Xcode will go back to its regular size? – KingTim Sep 21 at 18:07
  • Also, why does it need that much space to install if it says it's 7gb? That's 3x as much as it says. – KingTim Sep 21 at 18:08
  • But going by some obvious logic, yes updates should need a lot space too. Xcode will revert to original size. Maybe a lot to unpack.. I. just hope that update file gets deleted automatically. mine was a zip, I had to delete it. – ankii Sep 21 at 18:08
  • 1
    I deleted some earlier device support files and I now have 24gb free space and I still don't have enough space for the update. I feel like something's amiss here, as the update is only 7gb - I'm not sure if I should keep deleting things to free up space - will it even make a difference? – KingTim Sep 21 at 18:19
  • 1
    According to DaisyDisk I still have 18gb of "Hidden Space" - I'm not sure if that's safe to delete. In that, there's 1.1gb of "Purgeable Space" which is described as "system caches" – KingTim Sep 21 at 18:20

You must log in to answer this question.

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