iOS 私有Pod 记录

pod repo add demo http://demo-podspec.git    // podspec 仓

pod lib create demo          // 创建pod项目

修改spec文件

 

pod lib lint --allow-warnings --verbose

pod lib lint --no-clean --allow-warnings --verbose --sources='https://github.com/app-specs.git,https://github.com/CocoaPods/Specs.git'  依赖私有pod

git remote add origin  http://demo.git

git add .

git commit -m "init spec"

git push origin master

git push origin master -f 强制提交,会覆盖之前的文件

git tag -m "version_1" 0.1.0

git push --tags

 

pod repo push demo --allow-warnings

 

 

pod lib lint --no-clean --use-libraries --verbose

posted @ 2019-03-02 19:26  MJHelloWorld  阅读(244)  评论(0编辑  收藏  举报