美文网首页
无法安装 Fastlane

无法安装 Fastlane

作者: 南国青天 | 来源:发表于2021-04-14 16:21 被阅读0次

    sudo gem install fastlane 卡住然后出现下列错误

    GET https://gems.ruby-china.com/api/v1/dependencies?gems=memoist,os
    200 OK
    ERROR:  While executing gem ... (Gem::DependencyResolutionError)
        conflicting dependencies faraday (~> 0.12) and faraday (~> 1.0)
      Activated faraday-1.0.0
      which does not match conflicting dependency (~> 0.12)
    
      Conflicting dependency chains:
        fastlane (= 2.176.0), 2.176.0 activated, depends on
        faraday (~> 1.0), 1.0.0 activated
    
      versus:
        fastlane (= 2.176.0), 2.176.0 activated, depends on
        google-api-client (>= 0.37.0, < 0.39.0), 0.37.0 activated, depends on
        googleauth (~> 0.9), 0.9.0 activated, depends on
        faraday (~> 0.12)
    
      Gems matching faraday (~> 0.12):
        faraday-0.17.3, faraday-0.15.4, faraday-0.15.0
    

    解决方案

    gem update慢就用下面的方法

    sudo gem uninstall faraday
    sudo gem uninstall google-api-client
    sudo gem uninstall googleauth
    sudo gem uninstall fastlane
    sudo gem install fastlane -v 2.162.0
    

    方案2

    sudo gem update
    

    相关文章

      网友评论

          本文标题:无法安装 Fastlane

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