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

后端 未结 30 1773
执念已碎
执念已碎 2021-01-29 18:33

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,<

相关标签:
30条回答
  • 2021-01-29 19:27

    Same thing occurred to me when I was trying to install xcode 12.0.1 from app store even though I had around 40GB of free space and the xcode 12 is taking only around 12GB. This helped me resolve the issue.

    cd ~/Library/Developer
    rm -rf Xcode
    

    Hope this will help for someone in need.

    0 讨论(0)
  • 2021-01-29 19:28

    in my MacBook had 31 GB available (14 GB purgeable), macOS 10.14.5 still said it had not enough free space to complete my purchase of Xcode 10.2, just deleted directory ~/Library/Caches/storedownloadd, started downloading.

    0 讨论(0)
  • 2021-01-29 19:29

    I had the same problem (also a 120gb ssd), but 18gb is still not enough to install Xcode.

    See this post: https://forums.developer.apple.com/thread/30235

    0 讨论(0)
  • 2021-01-29 19:29

    Try installing any other small app in the App Store and then install Xcode. It worked for me. In my case, I had 40 GB empty space but could not install Xcode due to the same error. Deleting ~/Library/Caches/storedownloadd did not work for me either.

    0 讨论(0)
  • 2021-01-29 19:29

    I also have this problem with a whopping 240GB available.

    It seems that purging simply does not happen. I created a really big file, but it died because of no disk space:

    paul-> dd if=/dev/zero of=~/zeroes bs=100M
    dd: error writing '/Users/paul/zeroes': No space left on device
    151+0 records in
    150+0 records out
    15728640000 bytes (16 GB, 15 GiB) copied, 33.0689 s, 476 MB/s
    [~/Library/Caches ]
    paul-> ls -lh ~/zeroes 
    -rw-r--r-- 1 paul staff 15G Nov 17 09:27 /Users/paul/zeroes
    

    It certainly should not have stopped at 15 GB

    paul-> df -h
    Filesystem      Size  Used Avail Use% Mounted on
    /dev/disk1s1    466G  268G  197G  58% /
    /dev/disk1s4    466G  1.1G  197G   1% /private/var/vm
    

    Oddly enough, after removing the big file, I was able to download Xcode from the App Store.

    0 讨论(0)
  • 2021-01-29 19:30

    For me, I had an extra folder in my Macintosh HD/Volumes/ folder, Im not sure how it was created, but it was some sort of copy of my external harddrive. After deleting it, I was able to download xcode

    Hope this helps

    0 讨论(0)
提交回复
热议问题