美文网首页
cocoapods开源库的操作步骤

cocoapods开源库的操作步骤

作者: Jany_4a9a | 来源:发表于2021-07-19 18:48 被阅读0次
icon.png
  1. 创建版本
git tag 0.0.1

2.把0.0.1版本的tag push到github上

git push origin tag 0.0.1

3.删除名为0.0.1的tag

git tag -d 0.0.1

4.验证podspec文件

pod spec lint xxxx.podspec

如果是.a库,使用

pod spec lint xxxx.podspec --verbose --use-libraries

5.发布

pod trunk push xxxx.podspec

如果是.a库,使用

pod trunk push xxxx.podspec --allow-warnings --use-libraries

相关文章

网友评论

      本文标题:cocoapods开源库的操作步骤

      本文链接:https://www.haomeiwen.com/subject/brvhmltx.html