🍫 Podspec: Unrecognized `swift_version` key.

Open
#149 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
swift
Domain
cli

Research direction

Start with Commandant.podspec and reproduce the difference between pod lib lint and pod trunk push Commandant.podspec using CocoaPods 1.6.1. Compare the validation paths and confirm that the swift_version key no longer produces an unrecognized-key warning when pushing the spec.

Written by the indexing model from the issue text.

Description

The error below does not appear when running pod lib lint but it does appear while attempting to push a new spec version to trunk.

$ pod trunk push Commandant.podspec
...
[!] The Pod Specification did not pass validation.
The following validation failed:
- Warnings: Unrecognized `swift_version` key.

This is using CocoaPods 1.6.1.

Dominant language
Swift
Stars
420
Forks
47
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Carthage/Commandant

All issues in Carthage/Commandant

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.