美文网首页
pod trunk push undefined method

pod trunk push undefined method

作者: pokeey | 来源:发表于2019-10-11 17:30 被阅读0次

    Error

    NoMethodError - undefined method `url' for nil:NilClass
    /Library/Ruby/Gems/2.3.0/gems/cocoapods-trunk-1.4.0/lib/pod/command/trunk/push.rb:155:in `master_repo_url'
    /Library/Ruby/Gems/2.3.0/gems/cocoapods-trunk-1.4.0/lib/pod/command/trunk/push.rb:121:in `validate_podspec'
    /Library/Ruby/Gems/2.3.0/gems/cocoapods-trunk-1.4.0/lib/pod/command/trunk/push.rb:70:in `run'
    /Library/Ruby/Gems/2.3.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
    /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.0/lib/cocoapods/command.rb:52:in `run'
    /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.0/bin/pod:55:in `<top (required)>'
    /usr/local/bin/pod:22:in `load'
    /usr/local/bin/pod:22:in `<main>'
    

    执行 pod install
    重新建立cdn就可以了

    相关文章

      网友评论

          本文标题:pod trunk push undefined method

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