xcode xcode-select --install 重新安装

报错内容

admin@dev1 project1 % git status
xcrun: error: active developer path ("/Library/Developer/CommandLineTools") does not exist
Use `sudo xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools, or use `xcode-select --install` to install the standalone command line developer tools.
See `man xcode-select` for more details.

执行安装

xcode-select --install

你可能感兴趣的:(1024程序员节)