美文网首页
x-code9 cocoapods 错误 RuntimeErro

x-code9 cocoapods 错误 RuntimeErro

作者: SK丿希望 | 来源:发表于2018-05-07 10:50 被阅读0次

    解决步骤如下:
    1.gem source -l

    如果显示:

    2.sudo gem install cocoapods

    ERROR: While executing gem … (OpenSSL::SSL::SSLError)
    hostname “upyun.gems.ruby-china.org” does not match the server certificate

    3.gem sources –remove https://ruby.taobao.org/

    4.gem sources -a https://gems.ruby-china.org

    5.sudo gem update –system

    6.sudo gem install -n /usr/local/bin cocoapods –pre

    相关文章

      网友评论

          本文标题:x-code9 cocoapods 错误 RuntimeErro

          本文链接:https://www.haomeiwen.com/subject/xgjmrftx.html