How to fully remove Xcode 4

前端 未结 7 2004
孤街浪徒
孤街浪徒 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条回答
  •  -上瘾入骨i
    2020-11-28 02:49

    I use this command:

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

    Edit (1 year later):

    If you've downloaded Xcode from the App Store, it's self-contained, as @mediaslave suggests. You can just drag it to the trash or use AppZapper (or a similar utility) to remove the developer tools.

    If you're looking to update it, you can also do that straight through the App Store.

提交回复
热议问题