cocoaPods 安装 curl18 ,curl56, unable to find...

1.RPC failed curl 18 transfer

导致原因:

curl的postBuffer默认值太小,需要在终端重新配置这个值

git config --http.postBuffer  524288000

设置完查看结果:

git config —list

2.curl 56问题

Cloning into 'master'...

remote: Counting objects: 2197190, done.       

remote: Compressing objects: 100% (480/480), done.       

error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 60

fatal: The remote end hung up unexpectedly

fatal: early EOF

fatal: index-pack failed

解决方式:

xcode-select --switch /Applications/Xcode.app/Container/Developer


3.[!] Unable to find a pod with name, author, summary, or description matching `tableview`

pod setup成功后,依然不能pod search,是因为之前你执行pod search生成了search_index.json,此时需要删掉。

终端输入:rm ~/Library/Caches/CocoaPods/search_index.json

删除成功后,再执行pod search。

你可能感兴趣的:(cocoaPods 安装 curl18 ,curl56, unable to find...)