注册trunk
pod trunk register zhanglei@163.com 'zhanglei' --description='description'
查看trunk
pod trunk me
添加维护者
pod trunk add-owner ARAnalytics zhanglei@163.com
1.新建私有库
2.新建.podspecs 文件
pod spec create filename
3.验证.podspecs文件
pod lib lint
提交代码 并打上tag
git add -A
git commit -m "first commit for version 1.0.0"
git push origin master
git tag '1.0.0'
git push --tags
提交trunk
pod trunk push ***.podspec
若查不到则
pod setup
可以查看是否提交成功
https://github.com/CocoaPods/Specs
网友评论