2016-10-14 99 views
0

我想完全卸載Xcode。然而,我遵循後How to Completely Uninstall Xcode and Clear All Settings完全卸載Xcode和所有設置

在按照說明後,我在我的整個系統中運行查找xcode字符串,並找到以下位置。

我可以刪除下面或不應該嗎?

/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 

回答

0

參考此鏈接,做這樣的事情使用n端你的Mac,

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

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

其工作,並很容易做到。

+0

我已經卸載xcode應用程序。我提到的列表是在刪除後爲xcode尋找。我已經分別安裝了命令行開發者工具。 – Rams

+0

因此,現在您可以刪除上面列出的所有xcode文件。因爲現在不需要xcode或模擬器。 – KAR

+0

但我讀到'/ private/var/folders/rj /'是敏感文件夾,不應該改變。所以只是謹慎,這是這個問題的郵件原因 – Rams