创建podspec的问题

时间:2018-11-09 00:12:49

标签: cocoapods

因此,我正在尝试创建一个podspec,以尝试将某些东西推入cocoapods,以便每个人都可以使用它。

但是,当我创建podspec并运行

  

pod spec皮棉

我得到这些错误

  

-> VideoRow(1.0.0)       -错误| [iOS]文件模式:source_files模式与任何文件都不匹配。       -注意| xcodebuild:注意:使用新的构建系统       -注意| [iOS] xcodebuild:注意:规划构建       -注意| [iOS] xcodebuild:注意:构建构建说明       -注意| [iOS] xcodebuild:警告:由于目标没有Info.plist文件,因此正在跳过代码签名。 (在目标“应用”中)

直到此刻为止,我一直关注在线教程,他的验证非常完美,但我的并没有

    Pod::Spec.new do |spec|
  spec.name         = "VideoRow"
  spec.version      = "1.0.0"
  spec.summary      = "Eureka row that allows users to select videos"
  spec.description  = "This framework is an add on to the many rows that encompass the Eureka Community. This row will allow users to select videos from there media library to potentially export to some backend service."
  spec.homepage     = "https://github.com/EurekaCommunity/VideoRow"
  spec.license      = { :type => "MIT", :file => "LICENSE" }
  spec.author       = { "aaaa" => "a.b@rowan.edu" }
  spec.social_media_url = 'https://twitter.com/Apples'
  spec.platform    = :ios, "9.1"
  spec.source       = { :git => "https://github.com/Apples/AppleRow.git", :tag => "1.0.0" }
  spec.source_files  = 'VideoRow'
  spec.requires_arc = true
  spec.dependency "Eureka"
  spec.dependency "TLPhotoPicker"
  spec.swift_version = '4.2'
end

这是我的podspec当前的外观。有人注意到我做错了吗?

1 个答案:

答案 0 :(得分:0)

错误消息是正确的:spring.flyway.enabled=false # Whether to enable flyway.

就像您想要的一样:The source_files pattern did not match any file.

podspec docs中的更多详细信息。