美文网首页
xcode11.2.1和MacOS10.15.1 pod和Git

xcode11.2.1和MacOS10.15.1 pod和Git

作者: SuJunJun | 来源:发表于2019-12-05 11:49 被阅读0次

错误

Traceback (most recent call last):
5: from /usr/local/bin/pod:23:in <main>' 4: from /usr/local/bin/pod:23:inload'
3: from /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/bin/pod:55:in <top (required)>' 2: from /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/command.rb:49:inrun'
1: from /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/command.rb:130:in verify_minimum_git_version!' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/command.rb:118:ingit_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)

解决

MacOS10.15.1更新后Xcode没有Command Line,重新下载插件

执行命令:xcode-select --install

相关文章

网友评论

      本文标题:xcode11.2.1和MacOS10.15.1 pod和Git

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