美文网首页
利用cocoapods在新建本地私有库时候遇到的问题

利用cocoapods在新建本地私有库时候遇到的问题

作者: hui8685291 | 来源:发表于2021-05-12 10:45 被阅读0次

1, pod lib create XXXXXX

Cloning `https://github.com/CocoaPods/pod-template.git` into `HuEduPro`.
Configuring HuEduPro template.
<internal:/usr/local/Cellar/ruby/3.0.1/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- xcodeproj (LoadError)
    from <internal:/usr/local/Cellar/ruby/3.0.1/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
    from /Users/ecarx/Desktop/PracticeLib/HuEduPro/setup/ProjectManipulator.rb:1:in `<top (required)>'
    from ./configure:5:in `require_relative'
    from ./configure:5:in `block in <main>'
    from ./configure:4:in `each'
    from ./configure:4:in `<main>'

To learn more about the template see `https://github.com/CocoaPods/pod-template.git`.
To learn more about creating a new pod, see `https://guides.cocoapods.org/making/making-a-cocoapod`.

出现以上问题的解决方式:
在终端输入:gem install xcodeproj
然后重新输入:pod lib create XXXXXX
问题解决。
参考: https://www.jianshu.com/p/ed90f0c59104?utm_campaign=maleskine&utm_content=note&utm_medium=seo_notes&utm_source=recommendation

相关文章

  • 利用cocoapods在新建本地私有库时候遇到的问题

    1, pod lib create XXXXXX 出现以上问题的解决方式:在终端输入:gem install xc...

  • CocoaPods使用总结

    CocoaPods 公共库的创建CocoaPods 本地私有库的创建(模板创建方式)CocoaPods 本地私有库...

  • iOS 组件化-本地私有库

    CocoaPods本地私有库 组件化-使用CocoaPods管理的本地私有库,可以分为3种 本地私有引用 本地工程...

  • CocoaPods公有库

    最近在学习CocoaPods公有库、本地私有库、远程私有库,其中遇到了许多问题,怕过后又忘记了,所以记录下来...

  • pod私有库

    接着上两篇文章CocoaPods公有库和CocoaPods本地私有库,这篇就来讲解下CocoaPods远程私有库,...

  • 本地cocoapods相关

    Cocoapods 在mac中的位置 更新本地私有库

  • CocoaPods本地私有库

    接着上一篇文章CocoaPods公有库,这篇就写下CocoaPods本地私有库,啥叫CocoaPods本地私...

  • pod 私有库

    如何创建私有 CocoaPods 仓库 制作 CocoaPods 依赖库 cocoapods本地的类库更新方法 使...

  • iOS组件化-CocoaPods

    组件化练手,首先先使用CocoaPods创建本地私有库和远程私有库。CocoaPods大家都用过,那就废话不多说了...

  • iOS组件化学习(4)

    cocoapods 上传私有库或者远程库遇见的问题汇总 一、本地验证报错 $ pod lib lint 根据提示信...

网友评论

      本文标题:利用cocoapods在新建本地私有库时候遇到的问题

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