Last Updated: February 25, 2016
·
880
· nickcheng

CocoaPods 使用流程

更新 CocoaPods

$ gem update CocoaPods

更新 Pods 库

pod repo update

建立 Spec

$ pod spec create Bananas
$ pod spec create https://github.com/nickcheng/NCChineseConverter

要先给项目打个 Tag

$ git tag -a 1.0.0 -m "Tag release 1.0.0"
$ git push --tags

编辑你的 Spec 文件

检验你的 Spec 文件

$ pos spec lint xxx.podspec

提交 Ticket/PR 或直接放到 CocoaPods/Spec 项目里. 要按版本建目录