pod下载不成功的问题

2017-10-14  本文已影响94人  ISwiftUI

0.更新pod

 sudo gem install -n /usr/local/bin cocoapods --pre

1.pod setup 执行不成功

2.所以只能去下载一个仓库下来
放到根目录
~/.cocoapods/repos/master

再执行命令更新一下本地的仓库:

pod repo update
pod repo update --verbose

如果出现以下错误
[!] Unable to find a pod with name, author, summary, or description matching 'mj'

rm ~/Library/Caches/CocoaPods/search_index.json 

重装Git

$ brew remove git
$ brew remove curl


$ brew install openssl
$ brew install --with-openssl curl
$ brew install --with-brewed-curl --with-brewed-openssl git
上一篇下一篇

猜你喜欢

热点阅读