0

I recently reformated my Macbook and lost all my projects, luckily I had them all up on my GitHub page so I downloaded them all again

the problem is when I try to install pods using "pod install" Cocoapods returns an error that goes like this:

/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.0/lib/cocoapods/command.rb:118:in `git_version': Failed to extract git version from `git --version` ("") (RuntimeError)
from /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.0/lib/cocoapods/command.rb:130:in `verify_minimum_git_version!'
from /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.0/lib/cocoapods/command.rb:49:in `run'
from /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.0/bin/pod:55:in `<top (required)>'
from /usr/local/bin/pod:22:in `load'
from /usr/local/bin/pod:22:in `<main>'

I already removed Git and Cocoapods and reinstalled them & I selected the Git version in the drop down menu from Xcode/locations and nothing changed

mbm
  • 57
  • 6

0 Answers0