pod 报错:Failed to extract git version from `git --version` ("xcrun: error: invalid active develope...

今天pod install的时候,报了一个错误

Failed to extract git version from `git --version` ("xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun\\n") (RuntimeError)

执行

xcode-select --install

就可以了

你可能感兴趣的:(pod 报错:Failed to extract git version from `git --version` ("xcrun: error: invalid active develope...)