美文网首页
更新cocopods遇到can't find gem cocoa

更新cocopods遇到can't find gem cocoa

作者: 最慢的是活着 | 来源:发表于2021-04-06 13:33 被阅读0次

    问题记录pod install出错
    ck (most recent call last):
    2: from /usr/local/bin/pod:23:in <main>' 1: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb:302:inactivate_bin_path'
    /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb:283:in `find_spec_for_exe': can't find gem cocoapods (>= 0.a) with executable pod (Gem::GemNotFoundException)

    解决办法
    sudo gem update —system

    gem install cocoapods

    如果没有用,试试
    1.rvm get stable

    2.gem install cocoapods

    相关文章

      网友评论

          本文标题:更新cocopods遇到can't find gem cocoa

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