美文网首页
pod init 失败

pod init 失败

作者: 自律改变现状 | 来源:发表于2018-07-13 10:34 被阅读0次

    报错信息

    [!] Oh no, an error occurred.
    
    Search for existing GitHub issues similar to yours:
    https://github.com/CocoaPods/CocoaPods/search?q=%5BXcodeproj%5D+Unknown+object+version.&type=Issues
    
    If none exists, create a ticket, with the template displayed above, on:
    https://github.com/CocoaPods/CocoaPods/issues/new
    
    Be sure to first read the contributing guide for details on how to properly submit a ticket:
    https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md
    
    Don't forget to anonymize any private data!
    
    Looking for related issues on cocoapods/cocoapods...
     - Pod init. Unknown object version
       https://github.com/CocoaPods/CocoaPods/issues/7907 [closed] [2 comments]
       a week ago
    
     - RuntimeError - [Xcodeproj] Unknown object version.
       https://github.com/CocoaPods/CocoaPods/issues/7697 [closed] [27 comments]
       a day ago
    
     - Unknown object version
       https://github.com/CocoaPods/CocoaPods/issues/7760 [closed] [1 comment]
       21 May 2018
    
    and 41 more at:
    https://github.com/cocoapods/cocoapods/search?q=[Xcodeproj]%20Unknown%20object%20version.&type=Issues&utf8=✓
    

    报错的大概意思是,CocoaPods版本与xcode版本不一样。
    百度了一下解决方法。

    gem install cocoapods --pre
    

    更新下 CocoaPods 就可以了

    相关文章

      网友评论

          本文标题:pod init 失败

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