CocoaPods 库制作流程及命令行具体实现

208 阅读1分钟

pod lib create xxx 编辑podspec文件

添加需要制作库的代码文件和资源文件

pod installl 本地安装测试

gitlab 建立私有仓库 上传到私有库

git add .

git commit -am "xxx"

git push

git tag xxx

git push --tags

pod lib lint  本地验证

pod spec lint 远程验证

推送到私有索引库 pod repo push ZXSpecs xxx.podspec --allow-warnings --verbose