Andrey Chernukha Andrey Chernukha - 3 months ago 36
iOS Question

podspec specification does not validate

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?


Oh, the problem was very simple actually. I was simply being unobservant. In my .podspec file I had one of the urls formatted like that : [""]. Once I removed the square brackets around the url the error vanished.