How to fully remove Xcode 4

前端 未结 7 2033
孤街浪徒
孤街浪徒 2020-11-28 02:32

I want to remove all existing SDK versions as well as Xcode 4.

Xcode 4 Guide says to do this:

sudo /Xcode4/Library/uninstall-devtools --mode=all
         


        
7条回答
  •  天命终不由人
    2020-11-28 02:47

    Ensure Xcode, iOS Simulator, and the Mac App Store apps aren't running, then trying running the uninstall script at this (different!) location:

    /Library/Developer/Shared/uninstall-devtools
    

    This is where I found it.

    Also delete Install Xcode.app from Applications folder, and Empty Trash.

    Then run App Store again, and find/install Xcode.

提交回复
热议问题