美文网首页
CocoaPods 组件化项目

CocoaPods 组件化项目

作者: Lcc不想混_b503 | 来源:发表于2019-04-01 14:56 被阅读0次

1. 创建私有repo,用来存放specs文件。

参考 https://guides.cocoapods.org/making/private-cocoapods.html

2. 创建组件库,建立pod lib 工程。

3. 提交pod lib组件到私有repo中。

pod repo push ZKSpecs ZKCore.podspec --verbose --use-libraries --allow-warnings

4. 创建引用工程, 引入私有repo。

5. 完成调用。

相关文章

网友评论

      本文标题:CocoaPods 组件化项目

      本文链接:https://www.haomeiwen.com/subject/rfsvbqtx.html