完全卸载Xcode和所有设置

时间:2016-10-14 05:27:59

标签: xcode macos xcode7 uninstall yosemite

我正在尝试完全卸载Xcode。但是我按照帖子How to Completely Uninstall Xcode and Clear All Settings

按照说明操作后,我在整个系统中运行find for xcode string并找到以下位置。

我可以删除下面的或不应该吗?

/private/var/db/receipts/com.apple.pkg.Xcode.bom
/private/var/db/receipts/com.apple.pkg.Xcode.plist
/private/var/db/xcode_select_link
/private/var/folders/rj/90swtn490tq7hgw36cmsln0m0000gn/C/com.apple.DeveloperTools/7.2-7C68/Xcode
/private/var/folders/rj/90swtn490tq7hgw36cmsln0m0000gn/C/com.apple.DeveloperTools/7.2-7C68/Xcode/CachedSpecifications-Xcode
/private/var/folders/rj/90swtn490tq7hgw36cmsln0m0000gn/C/com.apple.DeveloperTools/7.2-7C68/Xcode/CachedSpecifications-xcodebuild
/private/var/folders/rj/90swtn490tq7hgw36cmsln0m0000gn/C/com.apple.DeveloperTools/7.2-7C68/Xcode/PlugInCache-xcodebuild-Debug.xcplugincache
/private/var/folders/rj/90swtn490tq7hgw36cmsln0m0000gn/C/com.apple.DeveloperTools/7.2.1-7C1002/Xcode
/private/var/folders/rj/90swtn490tq7hgw36cmsln0m0000gn/C/com.apple.DeveloperTools/7.2.1-7C1002/Xcode/CachedSpecifications-Xcode
/private/var/folders/rj/90swtn490tq7hgw36cmsln0m0000gn/C/com.apple.DeveloperTools/7.2.1-7C1002/Xcode/CachedSpecifications-xcodebuild
/private/var/folders/rj/90swtn490tq7hgw36cmsln0m0000gn/C/com.apple.DeveloperTools/7.2.1-7C1002/Xcode/PlugInCache-xcodebuild-Debug.xcplugincache
/private/var/folders/rj/90swtn490tq7hgw36cmsln0m0000gn/C/com.apple.dt.Xcode.InstallCheckCache_14F1021_7C1002
/private/var/folders/rj/90swtn490tq7hgw36cmsln0m0000gn/C/com.apple.Xcode.501
/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/com.apple.DeveloperTools/7.2-7C68/Xcode
/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/com.apple.DeveloperTools/7.2-7C68/Xcode/CachedSpecifications-xcodebuild
/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/com.apple.DeveloperTools/7.2-7C68/Xcode/PlugInCache-xcodebuild-Debug.xcplugincache
/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/com.apple.DeveloperTools/7.2.1-7C1002/Xcode
/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/com.apple.DeveloperTools/7.2.1-7C1002/Xcode/CachedSpecifications-xcodebuild
/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/com.apple.DeveloperTools/7.2.1-7C1002/Xcode/PlugInCache-xcodebuild-Debug.xcplugincache
/private/var/folders/zz/zyxvpxvq6csfxvn_ngzzzzzvzzzzzy/C/com.apple.DeveloperTools/7.2.1-7C1002/Xcode
/private/var/folders/zz/zyxvpxvq6csfxvn_ngzzzzzvzzzzzy/C/com.apple.DeveloperTools/7.2.1-7C1002/Xcode/CachedSpecifications-xcodebuild
/private/var/folders/zz/zyxvpxvq6csfxvn_ngzzzzzvzzzzzy/C/com.apple.DeveloperTools/7.2.1-7C1002/Xcode/PlugInCache-xcodebuild-Debug.xcplugincache
/private/var/root/Library/Preferences/com.apple.dt.xcodebuild.plist
/private/var/root/Library/Preferences/xcodebuild.plist
/System/Library/Automator/Build Xcode Project.action
/System/Library/Automator/Build Xcode Project.action/Contents/MacOS/Build Xcode Project
/Users/mac1234/Library/Caches/com.apple.dt.Xcode.Playground
/Users/mac1234/Library/Preferences/com.apple.dt.Xcode.LSSharedFileList.plist
/Users/mac1234/Library/Preferences/com.apple.dt.Xcode.Playground.plist
/Users/mac1234/Library/Preferences/com.apple.dt.xcodebuild.plist
/usr/bin/xcode-select
/usr/bin/xcodebuild
/usr/share/man/man1/xcode-select.1

1 个答案:

答案 0 :(得分:0)

参考此链接并使用您的mac终端

执行此类操作

http://recomhub.com/blog/how-to-uninstall-xcode-on-mac-os-x/

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

它的工作性和易操作性。