命令行執(zhí)行
xcode-select --install
出現(xiàn)錯(cuò)誤
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
解決辦法:
rm -rf /Library/Developer/CommandLineTools
xcode-select --install
如果還是報(bào)錯(cuò)唆貌,加上sudo
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install