cocoapods 新建

注册trunk

pod trunk register [email protected] 'zhanglei' --description='description'

查看trunk

pod trunk me

添加维护者

pod trunk add-owner ARAnalytics [email protected]


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

你可能感兴趣的:(cocoapods 新建)