2013-08-21 43 views
0

我已经成功安装了一个容器(SDWebImage),现在正试图添加一个名为“MFSideMenu”的库。我Podfile看起来如下:CocoaPods:无法找到可执行文件`git`

platform :ios, '6.0' 

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

当我做了“吊舱安装”,我得到以下(无差错)输出:

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` 

有谁知道什么是这里的问题?

在此先感谢!

回答

2

你没有安装git。大多数使用CocoaPods分发的软件使用github作为托管和git进行分发。你需要install git

+0

thx男人,不知道.. – user944351

相关问题