pod install
Failed to extract git version from
git --version("xcrun: error: active developer path (\\"/Users/morris/Downloads/Xcode.app/Contents/Developer\\") does not exist\\nUse
sudo xcode-select --switch path/to/Xcode.appto specify the Xcode that you wish to use for command line developer tools, or use
xcode-select --installto install the standalone command line developer tools.\\nSee
man xcode-select for more details.\\n") (RuntimeError)
xcode-select --install
xcode-select: error: command line tools are already installed, use “Software Update” to install updates
卸载重新安装
sudo rm -rf /Library/Developer/CommandLineTools
xcode-select --install
解决
sudo xcode-select -s /Library/Developer/CommandLineTools
参考
https://stackoverflow.com/questions/34617452/how-to-update-xcode-from-command-line