制作pod

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

最后編輯于
?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。

推薦閱讀更多精彩內容