美文网首页
cocoapods私有库学习

cocoapods私有库学习

作者: ios开发_娟 | 来源:发表于2020-12-28 16:39 被阅读0次
    1. 在git上创建组件地址 https://gitee.com
    2. cd到存储的文件目录下
      3.pod lib create wwjTest(组件名称)
      4.git add .
      5.git commit
      6.git remote add origin https://github.com/(这里填gitHub用户名)/(你的公共库名).git
      7.git push -u origin master 或者 git push origin master -f(强制推送)
      8.git tag 0.1.0
      9.git push --tags
      10.pod spec lint wwjTest.podspec(验证)
      11.pod trunk push wwjTest.podspec

    学习来自
    https://www.jianshu.com/p/94b22acbe0cf

    相关文章

      网友评论

          本文标题:cocoapods私有库学习

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