注冊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