How to uninstall older version of Xcode

前端 未结 2 760
[愿得一人]
[愿得一人] 2020-12-24 11:36

I have Xcode 4.0.2 and 3.2.5 both installed on my macbook. How do I uninstall the older version without uninstalling the newer version?

相关标签:
2条回答
  • 2020-12-24 11:53
    sudo <Xcode>/Library/uninstall-devtools --mode=all
    

    where <Xcode> is the path to the Developer folder (the one with 'Xcode 3.2.5' in it) This won't affect the 'Xcode 4.0.2' installation since it's in a completely different folder.

    0 讨论(0)
  • 2020-12-24 11:58
    • Your XCode 4.x is installed in your /Applications/ folder
    • The old XCode 3.x is installed in /Developer/ and can be independently uninstalled by running the following command :

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

    It is a nice mv from the XCode Apple Developers Team :)

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