我试图在 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
跑步
Pod --版本
但我得到:
0.31.0
会是什么呢?为什么它没有更新到最新版本(.32.1)?
代码:5.1
红宝石:2.0.0p353
操作系统:10.9.2
要更新 cocoapods 只需执行以下操作
sudo gem install cocoapods
然后你应该使用正确的版本
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)