Cocoapods私有库

来源:互联网 发布:linux查看硬盘使用情况 编辑:程序博客网 时间:2024/06/05 07:38

Cocoapods私有库

pod update --verbose --no-repo-update


创建仓库

pod repo add Specs https://github.com/jinchangzhi/Specs.git


创建项目和索引spec



6、上传git并打tag

git add -A && git commit -m msg

git tag '1.0.0'

git push --tags

git push origin master


 7、验证podspec

pod spec lint



 8、把该版本的索引推送到本地私有仓库

pod repo push Specs JCZSView.podspec


或者把索引推送到pod主干

pod trunk push JCZSView.podspec


原创粉丝点击