iOS

pods 私有库

2018-06-05  本文已影响1人  ChiCoChiCo

创建本地私有库

  1. pod lib create QKEasyTest

2.配置QKEasyTest git版本管理

cd QKEasyTest
git init
git add . 
git commit -m "first commit" -a
git remote add origin https://gitee.com/yanzhi11/QKEasyTest.git
git push -u origin master
15280818329296.jpg

3.添加你需要的私有库文件


4.修改QKEasyTest.podspec 文件 配置源码地址


5.将修改提交到远程仓库,并打一个tag


6.讲QKEasyTest 添加到本地的索引库


15281026975863.jpg

然后推到自己的私有库

7.测试一下


上一篇 下一篇

猜你喜欢

热点阅读