【发布时间】:2014-04-19 03:27:50
【问题描述】:
我正在尝试在 xcode 项目中安装可可豆荚,但是这样做时:
$ pod install
我收到以下错误:
Setting up CocoaPods master repo
[!] The `master` repo requires CocoaPods 0.32.1 -
Update CocoaPods, or checkout the appropriate tag in the repo.
/Library/Ruby/Gems/2.0.0/gems/claide-0.5.0/lib/claide/command.rb:281:in `rescue in run': undefined method `verbose?' for nil:NilClass (NoMethodError)
所以我更新了 cocoapods
$ sudo gem update cocoapods
但它告诉我没有什么要更新的:
Password:
Updating installed gems
Nothing to update
运行 吊舱--版本
但我明白了:
0.31.0
可能是什么?为什么它没有更新到最新版本(.32.1)?
Xcode:5.1
红宝石:2.0.0p353
OSX:10.9.2
【问题讨论】:
-
这里的答案stackoverflow.com/a/23266439/2314873 可能对某些人有好处。