报错内容
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
当遇到Xcode相关问题时,通过执行`xcode-select --install`可以重新安装必要的组件,修复报错。
8558

被折叠的 条评论
为什么被折叠?



