美文网首页
CocoaPods 报错误RuntimeError - [Xco

CocoaPods 报错误RuntimeError - [Xco

作者: 通哥 | 来源:发表于2018-06-03 14:20 被阅读0次

    /Users/ocean/.rvm/gems/ruby-2.2.2@global/gems/xcodeproj-1.3.0/lib/xcodeproj/project.rb:217:in initialize_from_file' /Users/ocean/.rvm/gems/ruby-2.2.2@global/gems/xcodeproj-1.3.0/lib/xcodeproj/project.rb:102:inopen'
    /Users/ocean/.rvm/gems/ruby-2.2.2@global/gems/cocoapods-1.0.1/lib/cocoapods/installer/analyzer.rb:695:in block (2 levels) in inspect_targets_to_integrate' /Users/ocean/.rvm/gems/ruby-2.2.2@global/gems/cocoapods-1.0.1/lib/cocoapods/installer/analyzer.rb:694:ineach'

    • 原因是当前xcode版本和当前CocoaPods版本不匹配,执行下面一行代码就可以了
      gem install cocoapods --pre

    • CocoaPods升级 pod repo update


      WX20180614-140101@2x.png

    相关文章

      网友评论

          本文标题:CocoaPods 报错误RuntimeError - [Xco

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