如果不喜欢用 Xcode 或者因为存储不够用,比如我习惯了VS Code(其实我就是因为想省存储),删除Xcode之后的Git无法使用,回出现以下报错。
xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") 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 --ins
tall` to install the standalone command line developer tools.
See `man xcode-select` for more details.
可以看到这里面apple有叫你做几个事情,但是...最好别了哈哈哈哈哈哈
=====================================言归正传分割线==========================================
首先