cocoapods私有库学习

2020-12-28  本文已影响0人  ios开发_娟
  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

上一篇 下一篇

猜你喜欢

热点阅读