Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃崼 Podspec: Unrecognized swift_version key. #149

Open
phatblat opened this issue Apr 11, 2019 · 1 comment
Open

馃崼 Podspec: Unrecognized swift_version key. #149

phatblat opened this issue Apr 11, 2019 · 1 comment

Comments

@phatblat
Copy link
Member

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.

@phatblat
Copy link
Member Author

Worked around this for now by allowing warnings during publishing.

$ pod trunk push Commandant.podspec --allow-warnings
...
--------------------------------------------------------------------------------
 馃帀  Congrats

 馃殌  Commandant (0.16.0) successfully published
 馃搮  April 10th, 21:01
 馃寧  https://cocoapods.org/pods/Commandant
 馃憤  Tell your friends!
--------------------------------------------------------------------------------

CocoaPods 1.7.0 changes this key to swift_versions for multiple version support. Perhaps updating the gem (after beta) will resolve this warning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant