1、
在 Terminal 输入 Cocoapods 命令时,有时会一直等待,出现“Performing a deep fetch of the `master` specs repo to improve future performance ”,
出现这种情况时,需要删除 master 分支。sudo rm -fr ~/.cocoapods/repos/master
再执行: pod update
2、
出现以下错误:
ERROR: While executing gem ... (OpenSSL::SSL::SSLError)
hostname "upyun.gems.ruby-china.org" does not match the server certificate
方法一:
1) outdate open SSL
$ rvm -v
$ rvm get head
2) outdate bundle
$ gem install bundle
方法二:
$ gem update --system
方法三:
$ apt-get install openssl