ioscocoapods

CocoaPods: Unable to locate the executable `git`


I've already installed a pod successfully (SDWebImage) and now trying to add a Library called "MFSideMenu". My Podfile looks the following:

platform :ios, '6.0'

pod 'SDWebImage', '3.2'
pod 'MFSideMenu'

When i do a "pod install", i get the following (error-) output:

Analyzing dependencies
Downloading dependencies
Installing MFSideMenu (0.4.8)
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems                 
/custom_require.rb:31: command not found: git config remote.origin.url
[!] Unable to locate the executable `git`

Does anybody know whats the problem here?

Thanks in advance!


Solution

  • You don't have git installed. Most software distributed using CocoaPods uses github for hosting and git for distribution. You need to install git.