cocoapods 常见问题

记录下用cocoapods时遇到的错误(持续更新中)

1.错误一:pod update或pod install时

[!] Error installing YYWebImage
[!] /usr/bin/git clone https://github.com/ibireme/YYWebImage.git /var/folders/wt/krmcg58n3yd9ghpqp2kkndqc0000gn/T/d20180206-64346-yq1dnr --template= --single-branch --depth 1 --branch 1.0.5

Cloning into '/var/folders/wt/krmcg58n3yd9ghpqp2kkndqc0000gn/T/d20180206-64346-yq1dnr'...
error: RPC failed; curl 56 LibreSSL SSL_read: error:060BC064:digital envelope routines:AEAD_AES_GCM_OPEN:bad decrypt, errno 0
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

解决办法:多试几次pod install或pod update就好了

posted @ 2018-02-06 12:27  张林峰  阅读(579)  评论(0编辑  收藏  举报