我正在更新可可足类的Pod库。但在通过以下命令对此进行验证
pod lib lint
我遇到以下错误:
- ERROR | [iOS] unknown: Encountered an unknown error (Malformed version number string “4.0”) during validation.
我尝试了所有,但没有发现可用。请指导。
#
# Be sure to run `pod lib lint myPod.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'myPod'
s.version = '0.2.1'
s.summary = 'A collection of toolset for image operations.'
# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
s.description = <<-DESC
A collection of toolset for image operations.
1. Create Gif from images
2. Create Video from images with background audio.
3. Boomrang.
4. Collage.
DESC
s.homepage = 'https://git.mycompany.com/mycompany/editor'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Mohit' => 'mohit.tomar@mycompany.ai' }
s.source = { :git => 'https://git.mycompany.com/mycompany/editor.git', :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
s.ios.deployment_target = '10.0'
s.source_files = 'myPod/Classes/**/*'
s.resources = ['myPod/Assets/*']
#s.resource_bundles = {
# 'myPod' => ['myPod/Assets/*']
#}
# s.public_header_files = 'Pod/Classes/**/*.h'
# s.frameworks = 'UIKit', 'MapKit'
# s.dependency 'AFNetworking', '~> 2.3'
end