原文:https://blog.csdn.net/xufengxufeng123/article/details/82501077
1、pod lib create xxx
2、创建git
3、上传
git init
git commit -m "first commit"
git remote add origin https://github.com/xxx/xxx.git
git push -u origin master
4、验证
pod lib lint xxx.podspec --allow-warnings
git tag 0.1.0
git push origin 0.1.0
pod lib lint xxx.podspec --allow-warnings
pod trunk push xxx.podspec --allow-warnings