xcode-select: error: command line tools are already installed, use "Software Update" to install updates

报错如下:

1
2
xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates

解决方法:

1
2
sudo rm -rf /Library/Developer/CommandLineTools
xcode-select --install