系统更新之后,打开Xcode文件,使用终端pod install 出现
百度之后打算重新安装,但是根据步骤更换源的时候
这里有个坑,taobao这个源也是不能用了的,结果如下
ERROR: Could not find a valid gem 'cocoapods' (>= 0), here is why:
Unable to download data from https://ruby.taobao.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://ruby.taobao.org/specs.4.8.gz)
需要将源替换为 (原文链接:http://blog.youkuaiyun.com/smuglx/article/details/71479545)
https://gems.ruby-china.org/
替换成这个之后,按照步骤一步步走下去,重新安装即可。