Uninstalling Xcode 4.3

蹲街弑〆低调 提交于 2019-11-27 14:39:12

问题


I have Xcode 4.3 installed on Mac OS Lion, but I can't find a way to uninstall it. Any ideas?
I have no /Xcode4/Library/uninstall-devtools (can't find an Xcode4 folder) or /Developer/Library/uninstall-devtools(Library folder doesn't exist under Developer)

I have a Users/me/Library/Developer/Xcode with:

  • DerivedData
  • UserData
  • Installs
  • iOS DeviceSupport

I have /Developer with

  • Applications
  • Documentation
  • Extras
  • Platforms

The only other place I could find a reference to Xcode was in Applications/Xcode.app
Is there something I've overlooked? I would really appreciate any help!


回答1:


You uninstall Xcode 4.3 like you would uninstall most Mac applications, by moving it to the Trash. Xcode 4.3 is bundled as a single application so there's no need for an uninstall script.




回答2:


Maurizio Zilli:

"In new Xcode 4 and Lion You can install and uninstall from Preferences : downloads : components

If You want to uninstall completely XCode go to launchpad and push Xcode icon for two seconds, so click on the upper left checkbox."

https://discussions.apple.com/thread/3784638?start=0&tstart=0




回答3:


To uninstall xcode 4.3.x simply drag the Xcode.app to the trash. That's all.




回答4:


There's still some large docset files in ~/Library/Developer/Shared/Documentation/DocSets/. You could search for other support files with mdfind -name xcode -0 | xargs -0 du -sm | sort -rn.

For some reason, /Library/Developer/ wasn't removed when I installed Xcode 4.3. It contained about 2GB of old docset files.



来源:https://stackoverflow.com/questions/9478410/uninstalling-xcode-4-3

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