iOS GitHub 庫創建 與 pod發佈

iOS GitHub 庫創建 與 pod發佈


 0 創建 項目工程 ,及 podspec 文件。

 1 pod lib lint  // 測試 pod spec 文件 語法

 2 git tag 0.0.1  // 打tag

 3 git push --tags

 4 pod trunk register '[email protected]' 'xxx' --description='mac pro'  //  註冊 pod 官方public 庫

 5 pod trunk push  xxxxxx.podspec// 推送到 pod 官方public 庫


請參考:
1、iOS開發-- 創建podspec文件,爲自己的項目添加pod支持
https://www.jianshu.com/p/d7d1942dd3f1


2 、Cocoapods 使用pod trunk發佈程序
http://blog.csdn.net/jeikerxiao/article/details/54377341

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章