$ pod repo添加XPFun http://gitlab.91jkys.com/iOS/XPFunList.git
$ pod lib创建XPFunList
$ git add&承诺与标签......
$ pod lib lint
- XPFunList(0.1.0)
- XPFunList通过验证。
$ pod repo push XPFun XPFunList.podspec
$ pod搜索XPFunList
无法找到包含与XPFunList匹配的名称,作者,摘要或说明的广告连播
$ pod --version
$ 1.1.0
$ gem --version
$ 2.6.8
$ ruby -v
$ ruby 2.0.0p648(2015-12-16修订版53162)[universal.x86_64-darwin15]
$ xcode Version 8.0(8A218a)
$ pod repo list
主人......
XPFun ......
2 repos
XPFunList.podspec
Pod::Spec.new do |s|
s.name = 'XPFunList'
s.version = '0.1.0'
s.summary = 'XPFunList.'
s.description = <<-DESC
XPFunList function list
DESC
s.homepage = 'http://originxp.com'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'originxp' => 'originxp@163.com' }
s.source = { :git => 'http://gitlab.91jkys.com/iOS/XPFunList.git', :tag => s.version.to_s }
s.platform = :ios, '7.0'
s.requires_arc = true
s.source_files = 'XPFunList/Classes/**/*.{h,m}'
s.frameworks = 'UIKit'
s.dependency 'AFNetworking', '~> 3.1.0'
end
rm~ / Library / Caches / CocoaPods / search_index.json
不适合我
答案 0 :(得分:0)
这对我有用。
rm -rf "${HOME}/Library/Caches/CocoaPods"