podspec specification does not validate

Andrey Chernukha picture Andrey Chernukha · Jan 15, 2016 · Viewed 7.4k times · Source

I'm trying to create a cocoa pod following this tutorial. I'm stuck at the moment where I'm doing the following command:

pod repo push RWPodSpecs RWPickFlavor.podspec

the problem is that I've got the following error:

Validating spec
[!] The `RWPickFlavor.podspec` specification does not validate.

And not further error description unfortunately. What I tried was reinstalling cocoapods and installing cocoapods keys, but it didn't help. I'm still getting the same error. Any ideas, guys?

Answer

Shuitao picture Shuitao · Nov 2, 2018

I solved this issue by adding option --allow-warnings.