无法安装CocoaPods

时间:2013-06-21 20:52:44

标签: xcode rubygems cocoapods

我正在使用CocoaPods在我的Xcode工作区上安装一些依赖项......这是终端输出:

MacBook-Pro-de-Oscar:EM-iOS Swanros$ pod install
Analyzing dependencies

CocoaPods 0.21.0.rc1 is available.

/Users/Swanros/.rvm/gems/ruby-2.0.0-p195/gems/xcodeproj-0.6.0/ext/xcodeproj/xcodeproj_ext.bundle: [BUG] Segmentation fault
ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0]

Abort trap: 6

我该如何解决这个问题?

1 个答案:

答案 0 :(得分:10)

我首先尝试卸载并重新安装CocoaPods。

[sudo] gem uninstall cocoapods

然后

[sudo] gem install cocoapods