coh*_*n72 2 objective-c jenkins cocoapods
我成功安装了cocoapods 0.29,在尝试运行pod设置后,它声称我必须安装0.29.
有人可以向我解释一下吗?
Successfully installed cocoapods-0.29.0
Parsing documentation for cocoapods-0.29.0
1 gem installed
bash-3.2$ pod setup
Setting up CocoaPods master repo
Already up-to-date.
[!] The `master` repo requires CocoaPods 0.29.0 -
Update CocoaPods, or checkout the appropriate tag in the repo.
Run Code Online (Sandbox Code Playgroud)
更新:
更新cocoapods后,我能够运行pod设置,但仍然会收到0.29未安装的错误:(而且,当运行pod --version时,它说我在0.22.3 ???)
bash-3.2$ sudo gem update cocoapods
Updating installed gems
Nothing to update
bash-3.2$ sudo pod setup
Setting up CocoaPods master repo
Already up-to-date.
Setup completed (read-only access)
bash-3.2$ pod install
Setting up CocoaPods master repo
Already up-to-date.
[!] The `master` repo requires CocoaPods 0.29.0 -
Update CocoaPods, or checkout the appropriate tag in the repo.
/Users/me/.rvm/gems/ruby-2.0.0-p247/gems/claide-0.3.2/lib/claide/command.rb:210:in `rescue in run': undefined method `verbose?' for nil:NilClass (NoMethodError)
bash-3.2$ pod --version
0.22.3
Run Code Online (Sandbox Code Playgroud)
小智 7
导航此文件并将其删除
/Users/me/.rvm/gems/ruby-2.0.0-p247/gems/claide-0.3.2/lib/claide
然后打开你的终端添加这个
sudo gem更新
它为我工作100%
归档时间: |
|
查看次数: |
3144 次 |
最近记录: |