美文网首页
iOS cocoapods /Library/Ruby/Ge

iOS cocoapods /Library/Ruby/Ge

作者: 奔跑吧小蚂蚁 | 来源:发表于2020-01-11 10:52 被阅读0次
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:118:in git_version': Failed to extract git version fromgit --version("xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun\n") (RuntimeError) from /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:130:inverify_minimum_git_version!'
from /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:49:in run' from /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/bin/pod:55:in<top (required)>'
from /usr/local/bin/pod:22:in load' from /usr/local/bin/pod:22:in<main>'

去Xcode - > Preferenced - > Locations并选择Command Line Tools,查看是否选择了当前xcode

相关文章

网友评论

      本文标题:iOS cocoapods /Library/Ruby/Ge

      本文链接:https://www.haomeiwen.com/subject/ngpvactx.html