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

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

    After trying almost everything that i found can filter what exactly worked for me. Catalina 10.15.7 Xcode12.

    1. Go to your home folder in finder and make sure to enable hidden files shift + command + . //yes its a **dot** key on keyboard
    2. type dd if=/dev/zero of=/Users//file bs=15m hit enter
    3. monitor the size growth of file named file in finder
    4. when it reaches something around 4-5GB kill the terminal with cntrl+c
    5. open disk utility and check purge size start copying and pasting that huge file named file that you just made and monitor the purge size. When it will get 3-4GB its now time to delete all that huge files and empty trash.
    6. restart
    7. open terminal go to /library/developer/
    8. delete all folder and files inside coreSimulator (this was the only resort for me)
    9. go to /library/developer/xcode/deriveddata and delete all folders and files inside
    10. empty trash

    Go to App Store and update the Xcode.

提交回复
热议问题