How to uninstall older version of Xcode

馋奶兔 提交于 2019-12-29 18:34:47

问题


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?


回答1:


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.




回答2:


  • 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 :)



来源:https://stackoverflow.com/questions/10041871/how-to-uninstall-older-version-of-xcode

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!