Cocoapods

pod 库

2019-08-10  本文已影响0人  小明讲啥故事

1.pod lib create WYLib //创建pod 库模版

2.pod lib lint //检查库符不符合标准

3.pod spec lint //校验spec 是否上传成功

//指定管理 lib repo 的 specs repo 的 url

4.pod repo add WYLib https://github.com/huzhaohao/HxhSpec.git

//推送 podspec 到 specs repo

5.pod repo push WYLib WYLib.podspec --sources=https://github.com/huzhaohao/HxhSpec.git

//推送到公开库

6.pod trunk push WYLib.podspec

https://github.com/huzhaohao/HxhSpec.git

上一篇 下一篇

猜你喜欢

热点阅读