创建 .podspec
来源:互联网 发布:netbeans开发php 编辑:程序博客网 时间:2024/06/05 00:31
1.cd 项目
2.pod spec create 项目 git 地址
After commiting the specification, consider opening a ticket with the template displayed above:
- link: https://github.com/songMW/CustomPageControl/issues/new
- title: Please add semantic version tags
Specification created at XX.podspec
说明创建成功了 XX.podspec 在项目目录下
3.给项目加tag
$ git tag -a 1.0.0 -m "Tag release 1.0.0"
$ git push --tags
输入完之后会提示输入 git 的帐号和密码,等待....
* [new tag] 1.0.0 -> 1.0.0 成功
rm -rf XX.podspec
pod spec create 项目 git 地址
就不会出现为项目添加 tag 的提示了了,直接提示
Specification created at XX.podspec
4.打开.podspec
不需要改什么s.summary 需要填写
s.description需要填写
5.push
git add xx.podspec
git commit -am "add xx.podspec file"
git push
6.在自己的项目中添加这个第三方库的地址
pod 'xx',:git => .podspec 文件中 s.source 地址
- 创建 .podspec
- CocoaPods创建私有podspec
- 使用Cocoapods创建私有podspec
- 使用Cocoapods创建私有podspec
- 使用Cocoapods创建私有podspec
- 使用Cocoapods创建私有podspec
- 使用Cocoapods创建私有podspec
- 使用Cocoapods创建私有podspec
- 使用Cocoapods创建私有podspec
- 使用Cocoapods创建私有podspec
- 使用Cocoapods创建私有podspec
- 使用Cocoapods创建私有podspec
- 使用Cocoapods创建私有podspec
- 使用Cocoapods创建私有podspec
- cocoapods_从安装使用到创建自己的podspec
- podspec转podspec.json
- podspec编写
- .podspec文件
- Android自定义控件实战——实现仿IOS下拉刷新上拉加载 PullToRefreshLayout
- Java写发送邮件服务碰到的一些异常
- 火狐扩展推荐——Evernote Web Clipper:印象笔记·剪藏
- 前端性能优化概述
- Spring框架
- 创建 .podspec
- 探究支付宝android客户端的动态加载
- 百度地图内容运行后没有出现内容,只出现网格
- iOS多线程中performSelector: 和dispatch_time的不同
- svnMonitor svn监控工具
- 链接局域网内HP打印机
- GCD 函数大全
- 禁止Android 横屏竖屏切换
- 京东分类栏