[iOS]彻底删除Xcode

  • touch removexcode.sh
  • chmod a+x removexcode.sh
  • vi removexcode.sh

i

echo Removing your Xcode...
sudo rm -rf /Applications/Xcode.app
sudo rm -rf /Library/Preferences/com.apple.dt.Xcode.plist
rm -rf ~/Library/Preferences/com.apple.dt.Xcode.plist
rm -rf ~/Library/Caches/com.apple.dt.Xcode
rm -rf ~/Library/Application\ Support/Xcode
rm -rf ~/Library/Developer/Xcode
rm -rf ~/Library/Developer/CoreSimulator
rm -rf ~/Library/Developer/XCPGDevices
echo Your Xcode has been removed completely.

esc,:wq

  • ./removexcode.sh
展开阅读全文

没有更多推荐了,返回首页