ios - Pod 存储库更新不起作用
<p><p>[!] CocoaPods 无法更新 <code>master</code> 存储库。如果这是一个意外问题并且仍然存在,您可以运行 <code>pod repo update --verbose</code></p> 检查它
<p>重新安装 cocoapods 并不能解决问题..</p>
<p>详细输出:</p>
<pre><code>/Users/wojtek/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/cocoapods-1.2.1/lib/cocoapods/sources_manager.rb:112:in `rescue in update_git_repo'
/Users/wojtek/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/cocoapods-1.2.1/lib/cocoapods/sources_manager.rb:106:in `update_git_repo'
/Users/wojtek/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/cocoapods-1.2.1/lib/cocoapods/sources_manager.rb:126:in `update_git_repo'
/Users/wojtek/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/cocoapods-core-1.2.1/lib/cocoapods-core/source.rb:334:in `update'
/Users/wojtek/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/cocoapods-core-1.2.1/lib/cocoapods-core/master_source.rb:15:in `update'
/Users/wojtek/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/cocoapods-1.2.1/lib/cocoapods/sources_manager.rb:88:in `block (2 levels) in update'
/Users/wojtek/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/cocoapods-1.2.1/lib/cocoapods/user_interface.rb:64:in `section'
/Users/wojtek/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/cocoapods-1.2.1/lib/cocoapods/sources_manager.rb:87:in `block in update'
/Users/wojtek/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/cocoapods-1.2.1/lib/cocoapods/sources_manager.rb:86:in `each'
/Users/wojtek/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/cocoapods-1.2.1/lib/cocoapods/sources_manager.rb:86:in `update'
/Users/wojtek/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/cocoapods-1.2.1/lib/cocoapods/command/repo/update.rb:23:in `run'
/Users/wojtek/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/claide-1.0.1/lib/claide/command.rb:334:in `run'
/Users/wojtek/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/cocoapods-1.2.1/lib/cocoapods/command.rb:52:in `run'
/Users/wojtek/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/cocoapods-1.2.1/bin/pod:55:in `<top (required)>'
/Users/wojtek/.rbenv/versions/2.2.4/bin/pod:23:in `load'
/Users/wojtek/.rbenv/versions/2.2.4/bin/pod:23:in `<main>'
Wojtek-Juramy-Macbook-Pro:433 wojtek$
</code></pre></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>使用 <code>pod install --repo-update</code> 而不是使用 <code>pod repo update</code> 似乎可以解决问题</p></p>
<p style="font-size: 20px;">关于ios - Pod 存储库更新不起作用,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/43719275/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/43719275/
</a>
</p>
页:
[1]