这是我的podspec:
Pod::Spec.new do |s|
s.name = "MXMarkdownKeyboard"
s.version = "0.0.3"
s.summary = "MarkdwonKeyboard for iOS"
s.homepage = "https://github.com/mexiQQ/MXMarkdownKeyboard"
s.license = { :type => "MIT", :file => "LICENSE.md" }
s.author = { "mexiqq" => "ljw040426@gmail.com" }
s.platform = :ios
s.source = { :git => "https://github.com/mexiQQ/MXMarkdownKeyboard.git",:tag => '0.0.3'}
s.source_files = "MXMarkdownKeyboard", "MXMarkdownKeyboard/*.{h,m}"
end
回购在这里:https://github.com/mexiQQ/MXMarkdownKeyboard
当我执行pod spec lint
时,它会返回:
MXMarkdownKeyboard.podspec passed validation.
但是,当我执行pod trunk push
时,我收到此错误:
[!] The Pod Specification did not pass validation.
如何解决此问题并将我的规范推送到主干?
答案 0 :(得分:1)
它期望在你的仓库的根目录中有一个名为LICENSE的文件,但它无法找到。