CocoaPods网站无法展开Cocoapod
Can't expand Cocoapod on CocoaPods website
我创建了我的第一个 CocoaPod 并发布了它。在网站上,我可以搜索并找到它,但我无法扩展。我有 3 个按钮,而不是展开按钮 - 站点、文档和规范。单击 link 直接进入 Github 页面,而不是 Cocoapods.org.
中的文档页面
这是我的 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 页面?
大约 5 天后,Expand 选项现在显示并且 CocoaDocs 已经生成。我认为这不是因为我所做的更改,而是因为 Cocoapods.org 的服务器更新了某些内容。现在效果很好!
我创建了我的第一个 CocoaPod 并发布了它。在网站上,我可以搜索并找到它,但我无法扩展。我有 3 个按钮,而不是展开按钮 - 站点、文档和规范。单击 link 直接进入 Github 页面,而不是 Cocoapods.org.
中的文档页面这是我的 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 页面?
大约 5 天后,Expand 选项现在显示并且 CocoaDocs 已经生成。我认为这不是因为我所做的更改,而是因为 Cocoapods.org 的服务器更新了某些内容。现在效果很好!