ОШИБКА | [iOS] unknown: во время проверки обнаружена неизвестная ошибка (искаженная строка номера версии «4.0»). - PullRequest
1 голос
/ 10 мая 2019

Я обновляю свою библиотеку pod на cocoapods. но при подтверждении этого с помощью следующей команды

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
...