安装pods时候遇到的一个小坑。

xiaoxiao2021-02-28  78

1.删除了原来的镜像源头

2.用了新的源。

3.可是到安装pods的时候就出现以下错误了。说是证书认证错误,反复删除安装了好几遍,最后才发现我了个去 就是应为新的源后面多加了一个斜杠。

4.提示以下错误

    hostname "upyun.gems.ruby-china.org" does not match the server certificate

5.https://gems.ruby-china.org/ 修改成https://gems.ruby-china.org 就可以了。

转载请注明原文地址: https://www.6miu.com/read-23966.html

最新回复(0)