私有库组件化-组件更新步骤

2018-07-30  本文已影响0人  开发我东哥

项目中用到pod私有库中,自定义的组件需更新的操作

git clone http://自定义私有库url/组件名称.git
pod lib lint 组件名称.podspec --sources=https://github.com/CocoaPods/Specs.git,http://私有库url/自定义spec.git --private --verbose --no-clean --allow-warnings --use-libraries
git add .
git commit -m '注释'
git push

git tag 6.6.6
git push --tag
pod repo push 私有库名称 组件名称.podspec --sources=https://github.com/CocoaPods/Specs.git,http://私有库url/自定义spec.git  --private --verbose --allow-warnings
pod repo update 私有库名称

在项目中的Podfile中,更新组件版本号为新版本

pod install
上一篇 下一篇

猜你喜欢

热点阅读