Skip to content

Unrecognized 'swift_version' key #8635

@kenworley

Description

@kenworley

Report

What did you do?

pod spec lint -> passes
pod lib lint -> passes
pod trunk push -> FAILS

What did you expect to happen?

successful publication of new version of pod

What happened instead?

error reported:

-> "{"error":"The Pod Specification did not pass validation.","data":{"warnings":["Unrecognized swift_version key."]}}"
read 116 bytes
Conn keep-alive
[!] The Pod Specification did not pass validation.
The following validation failed:

  • Warnings: Unrecognized swift_version key.

Note: I haven't changed the swift_version key through the last few versions of the pod.
Also tried from two different computers - same error.

CocoaPods Environment

Stack

   CocoaPods : 1.6.1
        Ruby : ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin18]
    RubyGems : 2.5.2.3
        Host : Mac OS X 10.14.3 (18D109)
       Xcode : 10.1 (10B61)
         Git : git version 2.17.2 (Apple Git-113)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib
Repositories : master - https://github.com/CocoaPods/Specs.git @ c804ac110760771f335b810c3533e4d2da92bc00

Installation Source

Executable Path: /usr/local/bin/pod

Plugins

cocoapods-deintegrate : 1.0.2
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.0
cocoapods-stats       : 1.0.0
cocoapods-trunk       : 1.3.1
cocoapods-try         : 1.1.0

Project that demonstrates the issue

WrapModel

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions