mac更新系統(tǒng)之后 pod init 報(bào)錯(cuò)
/Users/apple/.rvm/gems/ruby-2.2.2/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:118:in `git_version': 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 - > Preferenced - > Locations并選擇Command Line Tools,查看是否選擇了當(dāng)前xcode版本