因此,我试图创建一个podspec,试图将一些东西推向cocoapods,这样每个人都可以使用它。
但是,当我创建podspec并运行时
豆荚专用皮棉
我知道这些错误
-> VideoRow (1.0.0) -错误的iOS文件模式:
source_files模式与任何文件不匹配。-注意:注意:使用新的构建系统-注意: 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目前的样子。有人注意到我做错了什么吗?
发布于 2018-11-09 04:13:07
错误消息是准确的:The source_files pattern did not match any file.
很可能你想要这样的东西:spec.source_files = 'VideoRow/**/*.[mh]'
podspec文档中的更多细节。
https://stackoverflow.com/questions/53218029
复制相似问题