-
Type "rm -rf ~/Library/Application Support/Xcode" and press "Enter." This removes the
-
删除xcode配置
rm -rf $HOME/Library/Application Support/Developer/Shared/Xcode
rm -rf $HOME/Library/Preferences/com.apple.dt.Xcode.*
rm -rf $HOME/Library/Saved Application State/com.apple.dt.Xcode.savedState
rm -rf $HOME/Library/Developer/Xcode
ls | grep -i xcode’
Could not find Developer Disk Image:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
- 第一步,直接到Applications中删除Xcode。如果你还有‘Install Xcode.app'也一并删除。
- 第二步,删除/Library/Developer和/Library/Xcode 两个目录。
- 第三步,删除simulator路径 /Users/INSERT_YOUR_USER_HERE/Library/Application Support/iPhone Simulator/
- 第四步,删除/Users/INSERT_YOUR_USER_HERE/Library/Developer/
- 然后这步很重要了,Xcode的一些配置其实要删除这几个目录。
~/Library/Saved Application State/
/Users/INSERT_YOUR_USER_HERE/Library/Preferences/
这两个目录中带有Xcode的文件通通删掉,可以用一个命令来查询