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

后端 未结 30 1774
执念已碎
执念已碎 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:21

    Same thing here, tried most of the above. 107 gigs of space free, but not enough to install.

    So I downloaded Xcode from Apple directly (https://developer.apple.com/download/more/) and copied the .xip file to an external driven with lots of space.

    I was then able to do this:

    cd /Applications
    xip -x "/Volumes/Blue 2T/Xcode_11.3.xip"
    

    Don't forget to get rid of the xip file when you're done.

    0 讨论(0)
  • 2021-01-29 19:25
    1. Open finder: in menu above go to -> Go to folder:

      ~/Library/Developer/Xcode/

    2. Delete old simulator files on:

      ~/Library/Developer/Xcode/iOS DeviceSupport/

    3. Delete all files derived data on:

      ~/Library/Developer/Xcode/DerivedData

    An easy way to accomplish these is by using DevCleaner for Xcode: https://apps.apple.com/us/app/devcleaner/id1388020431?mt=12

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

    the problem with time machine! please remove old snapshoots

    sudo tmutil listlocalsnapshots /
    com.apple.TimeMachine.2019-09-25-135035
    com.apple.TimeMachine.2019-09-28-232824
    com.apple.TimeMachine.2019-09-29-012547
    com.apple.TimeMachine.2019-09-29-022054
    com.apple.TimeMachine.2019-09-29-031621
    com.apple.TimeMachine.2019-09-29-052318
    com.apple.TimeMachine.2019-09-29-070831
    com.apple.TimeMachine.2019-09-29-092229
    com.apple.TimeMachine.2019-09-29-101756
    com.apple.TimeMachine.2019-09-29-114952
    
    tmutil deletelocalsnapshots 2019-09-25-135035
    tmutil deletelocalsnapshots 2019-09-28-232824
    

    etc

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

    Additionally, Check the previous Xcode consumed storage through OmniDiskSweeper and delete unnecessary data and simulators that will free up too much size.

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

    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

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

    For my case: I already have xcode 10.1 in my MBP.

    1. Delete directory ~/Library/Caches/storedownloadd and storeassetd directory in the same dir.
    2. Reopen the app store and go for the upgrade page.
    3. Download the xcode 10.2 from https://developer.apple.com/download/more/
    4. Somehow the app store will automatically install the xcode 10.2 right after download is finished.

    Done.

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