2013-08-21 42 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

相關問題