美文网首页
升级Xcode9.3,pod init报错

升级Xcode9.3,pod init报错

作者: ioido | 来源:发表于2018-04-16 17:00 被阅读0次

解决办法,升级coocpod 到 1.5.0

报错信息:

Command

/usr/local/bin/pod init

Report

  • What did you do?

  • What did you expect to happen?

  • What happened instead?

Stack

   CocoaPods : 1.4.0
        Ruby : ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-darwin17]
    RubyGems : 2.6.14
        Host : Mac OS X 10.13.4 (17E199)
       Xcode : 9.3 (9E145)
         Git : git version 2.13.1
Ruby lib dir : /usr/local/Cellar/ruby/2.4.2_1/lib
Repositories : master - https://github.com/CocoaPods/Specs.git @ aa5e116f5a953d9f52a88cc51fa75584593a741c

Plugins

cocoapods-deintegrate : 1.0.2
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.0
cocoapods-stats       : 1.0.0
cocoapods-trunk       : 1.3.0
cocoapods-try         : 1.1.0

Error

RuntimeError - [Xcodeproj] Unknown object version.
/usr/local/lib/ruby/gems/2.4.0/gems/xcodeproj-1.5.4/lib/xcodeproj/project.rb:217:in `initialize_from_file'
/usr/local/lib/ruby/gems/2.4.0/gems/xcodeproj-1.5.4/lib/xcodeproj/project.rb:102:in `open'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.4.0/lib/cocoapods/command/init.rb:41:in `validate!'
/usr/local/lib/ruby/gems/2.4.0/gems/claide-1.0.2/lib/claide/command.rb:333:in `run'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.4.0/lib/cocoapods/command.rb:52:in `run'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.4.0/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:23:in `load'
/usr/local/bin/pod:23:in `<main>'

相关文章

  • 2018-04-26

    升级到新Xcode9.3后,新项目集成CocoaPods报错 执行pod init 报错 解决方法: 首先执行 g...

  • 升级xcode9.3后创建工程pod init失败

    如题,使用xcode9.3后新建工程,然后初始化pod init,结果报错: 报错信息 pod init ――― ...

  • pod init失败

    用xcode9.3新建的项目 pod init居然报错 pod init 之后 出现以下输出 我搜索有半天 错误应...

  • 升级Xcode9.3,pod init报错

    解决办法,升级coocpod 到 1.5.0 报错信息: Command Report What did you ...

  • pod init 报错

    今天创建项目在终端输入pod init 后报错,错误如下 ――― MARKDOWN TEMPLATE ――――――...

  • pod init报错

    今天想熟悉一下ReactiveCocoa框架.然后是千篇一律的操作,来新建一个空项目,深思熟虑的起名之后一顿Nex...

  • pod init 报错

    Command Report What did you do? What did you expect to ha...

  • Pod Init RuntimeError - [Xcodep

    Pod Init 报错 RuntimeError - [Xcodeproj] Unknown object ver...

  • 执行pod init报错

    笔记在执行pod init时报错如下:――― MARKDOWN TEMPLATE ――――――――――――――――...

  • mac11.3.1系统 xcode13 pod报错解决办法

    升级了Mac 11.3.1 系统 XCode Version 13.1pod init 或 pod ins...

网友评论

      本文标题:升级Xcode9.3,pod init报错

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