/Users/kian/.rvm/gems/ruby-2.3.3/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:118:in
git_version': Failed to extract git version fromgit --version("xcrun: error: active developer path (\"/Applications/Xcode11.app/Contents/Developer\") does not exist\nUsesudo xcode-select --switch path/to/Xcode.appto specify the Xcode that you wish to use for command line developer tools, or usexcode-select --installto install the standalone command line developer tools.\nSeeman xcode-selectfor more details.\n") (RuntimeError) from /Users/kian/.rvm/gems/ruby-2.3.3/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:130:inverify_minimum_git_version!'
from /Users/kian/.rvm/gems/ruby-2.3.3/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:49:inrun' from /Users/kian/.rvm/gems/ruby-2.3.3/gems/cocoapods-1.5.3/bin/pod:55:in<top (required)>'
from /Users/kian/.rvm/gems/ruby-2.3.3/bin/pod:23:inload' from /Users/kian/.rvm/gems/ruby-2.3.3/bin/pod:23:in<main>'
from /Users/kian/.rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:ineval' from /Users/kian/.rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in<main>'
解决方案
终端输入: xcode-select --install
然后进入Xcode 在偏好设置中


指定你的xcode 然后 回到控制台 就可以 重新 git命令了