无法在CocoaPods网站上扩展Cocoapod

时间:2017-05-16 17:13:50

标签: ios cocoapods podspec

我创建了我的第一个CocoaPod并发布了它。在网站上,我能够搜索并找到它,但我无法扩展。我有3个按钮 - Site,Docs和Spec,而不是扩展按钮。点击链接将我直接带到Github页面,而不是Cocoapods.org中的文档页面。

enter image description here

这是我的podspec文件:

Pod::Spec.new do |s|
s.name             = 'SpinWheelControl'
s.version          = '0.1.1'
s.summary          = 'An inertial spinning wheel UI control that allows selection of an item.'

s.description      = <<-DESC
                    'Spin Wheel Control is a wheel of fortune-style inertial spinning wheel UI control that allows selection of an item. It is written in the Swift programming language and to be used in iOS apps. The code is a Swift derivation, port, and enhancement based loosely on the Objective-C SMWheelControl CocoaPod written by Cesare Rocchi and Simone Civetta found at https://cocoapods.org/pods/SMWheelControl.'
DESC

s.homepage         = 'https://github.com/joshdhenry/SpinWheelControl'
s.license          = 'BSD 3-Clause'
s.author           = { 'Josh Henry' => 'MyEmail@MyEmail.com' }
s.source           = { :git => 'https://github.com/joshdhenry/SpinWheelControl.git', :tag => s.version.to_s }

s.ios.deployment_target = '10.3'
s.source_files = 'SpinWheelControl/*.{swift,h,m}'

end

我已按照此this指南进行操作,甚至尝试使用经过修改的podspec上传新版本,但我仍然遇到此问题。如何点击Cocoapod将我带到文档页面,而不是Github页面?

1 个答案:

答案 0 :(得分:0)

大约5天后,现在会显示Expand选项并生成CocoaDocs。我不认为这是因为我所做的改变,而是我认为这是因为Cocoapods.org服务器上的更新。现在很棒!