CocoaPods的坑

源更新了——2016.10.30
gem sources --add https://gems.ruby-china.org/
gem sources --remove https://ruby.taobao.org/
gem sources -l

确保只有 gems.ruby-china.org

$ pod setup
出现Setting up CocoaPods master repo,说明Cocoapods在将它的信息下载到 ~/.cocoapods里,cd 到该目录里,用du -sh *命令来查看文件大小,每隔几分钟查看一次,我的这个目录最终大小是862M(2016.10.30,351时等待安装),就是完成了

问题:

  1. [!] Unable to find a pod with name, author, summary, or description matching AFNetworking

输入以下命令
rm ~/Library/Caches/CocoaPods/search_index.json

你可能感兴趣的:(CocoaPods的坑)