pod lib create 名字
在spec文件目錄下執行 打標簽 驗證 和上傳
1>pod remote add origin 《url地址》
2>進入主工程(包含Example目錄下)在進入項目名稱的文件夾下(包含Assets和Classes文件夾)創建文件
然后執行pod install
3>git add --all
git commit -m 'jdhdd'
git tag 0.1.1
git push origin master -f (git push -u origin master)
git push --tags
注冊(注冊成功下次不需要在執行)
pod trunk register 郵箱 '用戶名' --description='電腦描述'
eg:
pod trunk register 594086882@qq.com 'LSQ' --description='LSQ'
查看
pod trunk me
驗證
pod lib lint YZText.podspec --allow-warnings
上傳
pod trunk push YZText.podspec --allow-warnings
參考鏈接
http://www.lxweimin.com/p/98407f0c175b
https://www.tuicool.com/articles/6FF7fi