【问题标题】:Why is my library not able to expand on the CocoaPods website?为什么我的库无法在 CocoaPods 网站上扩展?
【发布时间】:2015-05-28 05:37:38
【问题描述】:

我正在尝试通过 CocoaPods 网站访问我图书馆的信息,但我无法访问。所有其他库似乎都可以扩展(我的是 MKWeatherUndergroundKit)

这是我的 podspec

Pod::Spec.new do |s|

s.name         = "MKWeatherUndergroundKit"
s.version      = "0.6"
s.summary      = "A simple iOS and OS X library for retrieving weather information using the Weather Underground API"
s.homepage     = "https://github.com/MendyK/MKWeatherUndergroundKit"
s.license      = { :type => "MIT", :file => "LICENSE" }
s.author             = { "MendyK" => "myEmail@gmail.com" }
s.social_media_url   = "https://twitter.com/MenndK"
s.platform     = :ios, '8.0'
s.source       = { :git => "https://github.com/MendyK/MKWeatherUndergroundKit.git", :tag => "0.6"}

s.source_files  = "MKWeatherUndergroundKit/*.{h,m}"
s.resources = "MKWeatherUndergroundKit/Climacons.ttf"
s.requires_arc = true
s.frameworks = 'CoreGraphics', 'CoreLocation'
end

【问题讨论】:

    标签: ios objective-c cocoapods podspec


    【解决方案1】:

    你现在应该很好了,http://cocoapods.org/pods/MKWeatherUndergroundKit

    问题是我们的 CocoaDocs 服务器已关闭,我已手动重新部署您的版本并正在查看。

    我还在我的博文中写了一篇文章,里面有很多有用的提示:http://orta.io/rebase/why-cant-i-expand/

    【讨论】:

    • 请你看看我的问题,类似于这个问题:stackoverflow.com/questions/31128927/…
    • 博文导致了 404。你可以在这里发布提示吗?
    • 我将它移至 CocoaDocs 的问题模板:github.com/CocoaPods/cocoadocs.org/blob/master/.github/… - 虽然我不知道为什么我的网站是 404ing
    • 你能检查一下我的 pod FTLinearActivityIndicator 是否有同样的问题?我检查了 GH 问题中的提示。 CocoaDocs 页面 404s 但查看错误的链接不起作用,因为找不到服务器 api.cocoadocs.org
    猜你喜欢
    • 1970-01-01
    • 2016-09-28
    • 2015-09-16
    • 1970-01-01
    • 2015-06-27
    • 1970-01-01
    • 2017-10-06
    • 1970-01-01
    • 2015-09-28
    相关资源
    最近更新 更多