这是我的podfile的内容:
platform :ios, '7.0' pod 'RedditKit', '~> 1.3'
它位于我的iOS项目的根目录(即不是工作区)
当我运行时,pod install
我收到此错误消息:
$ pod install Analyzing dependencies [!] An error occurred while performing `git pull` on repo `master`. [!] /usr/bin/git pull --ff-only fatal: Not possible to fast-forward, aborting.
我已经运行gem update --system
更新我的ruby安装
有关我的cocoapod
安装的更多信息
$ gem which cocoapods /Users/antkong/.rvm/gems/ruby-2.1.2@global/gems/cocoapods-0.33.1/lib/cocoapods.rb
Anthony Kong.. 5
它是由libgit2中的错误引起的.详细信息和解决方案可以在这个错误报告中找到https://github.com/CocoaPods/CocoaPods/issues/2213
它是由libgit2中的错误引起的.详细信息和解决方案可以在这个错误报告中找到https://github.com/CocoaPods/CocoaPods/issues/2213