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 --install` to install the standalone command line developer tools.
See `man xcode-select` for more details.
# https://stackoverflow.com/a/35034807
sudo xcode-select --reset
References
- https://stackoverflow.com/a/35034807.