【发布时间】:2015-03-03 19:29:07
【问题描述】:
我制作了一个 Swift 框架,我想为它制作一个 CocoaPods。
我已按照所有说明进行操作:
- 创建podspec文件,添加版本标签,推送到github
当我运行
pod lib lint时它通过了,但是当我运行 pod spec lint 时它失败了。
这是我的 podspec 文件
Pod::Spec.new do |s|
s.name = "Seru"
s.version = "0.0.3"
s.summary = "Seru is Simple Core Data stack"
s.description = <<-DESC
Seru is Swift framework for working wit Core Data. It setup your core data stack and
gives you nica actions to work with it
DESC
s.homepage = "https://github.com/kostiakoval/Seru"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Kostiantyn Koval" => "konstantin.koval1@gmail.com" }
s.social_media_url = "http://twitter.com/kostiakoval"
s.platform = :ios, "8.0"
s.source = { :git => "https://github.com/kostiakoval/Seru.git", :tag => s.version }
s.source_files = "Seru/Source", "Seru/Source/**/*.{swift}"
s.requires_arc = true
s.ios.vendored_frameworks = 'Carthage/Build/iOS/Sweet.framework'
end
它有外部框架依赖。我猜这是一个问题。 当我做 pod speck lint 时,它说我找不到那个外部框架
【问题讨论】: