【发布时间】:2014-12-13 03:35:57
【问题描述】:
我正在尝试将库发送到 CocoaPods 存储库,但推送过程失败。
但是,正如我们在此处看到的,它并没有通过 lint 检查:
$ pod spec lint GUIPlayerView.podspec
-> GUIPlayerView (0.0.1)
Analyzed 1 podspec.
GUIPlayerView.podspec passed validation.
$ pod trunk push GUIPlayerView.podspec
Validating podspec
-> GUIPlayerView (0.0.1)
[!] The Pod Specification did not pass validation.
没有错误或警告消息。我的本地 git repo 已与远程的 master 同步并保持最新。我能做什么?
编辑:这是 podspec 文件:
Pod::Spec.new do |s|
s.name = "GUIPlayerView"
s.version = "0.0.1"
s.summary = "GUIPlayerView is a simple video player embedded into a UIView."
s.homepage = "https://github.com/guilhermearaujo/GUIPlayerView"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Guilherme Araújo" => "me@mail.com" }
s.platform = :ios, "7.0"
s.source = { :git => "https://github.com/guilhermearaujo/GUIPlayerView.git", :tag => "0.0.1" }
s.source_files = "GUIPlayerView/Classes", "Classes/**/*.{h,m}"
s.exclude_files = "GUIPlayerView/Classes/Exclude"
s.resources = "GUIPlayerView/Resources/*.png"
s.framework = "AVFoundation"
end
【问题讨论】:
-
你安装了什么版本的 CocoaPods?
pod --version -
这是以前报告的一个问题,但应该在版本
0.35.0中修复,如果您不相信它已修复,请评论该问题。 -
我有 0.35.0,我会在这个问题上发布消息。
标签: cocoapods