podios开发

利用pod trunk发布程序

2016-03-09  本文已影响578人  Theshy

利用pod trunk发布程序


注册
查收邮件
接下来查看个人信息
  - Name:     yuehuig
  - Email:    475993847@qq.com
  - Since:    April 20th, 01:21
  - Pods:
    - YHCategory
  - Sessions:
    - April 20th, 01:21 - October 7th, 20:29. IP: 1.202.151.202
NoMethodError - undefined method 'last' for #<Netrc::Entry:0x007fc59c246378>
准备项目名称
pod search YHCategory

若不存在会显示
[!] Unable to find a pod with name, author, summary, or description matching `YHCategory`

不存在我们就可以使用了。

创建podspec文件
填写podspec内容
Pod::Spec.new do |s|
  s.name         = "YHCategory"
  s.version      = "0.0.1"
  s.summary      = "The fastest and most convenient conversion between JSON and model"
  s.homepage     = "https://github.com/Theshy/YHCategory"
  s.license      = "MIT"
  s.author             = { "Theshy" => "xxxxx@qq.com" }
  s.social_media_url   = "http://weibo.com/exceptions"
  s.source       = { :git => "https://github.com/Theshy/YHCategory", :tag => s.version }
  s.source_files  = "YHCategory/YHCategory/YHCategory"
  s.requires_arc = true
end
检测podspec语法
发布podspec
检测
仓库更新
上一篇 下一篇

猜你喜欢

热点阅读