cordova-plugin-cocoapods-support icon indicating copy to clipboard operation
cordova-plugin-cocoapods-support copied to clipboard

Not reading podspec tags in Plugins

Open willnix86 opened this issue 5 years ago • 1 comments

I have cordova-plugin-firebase-analytics in my app. In it's plugin.xml file it contains:

  <podspec>
     <config>
         <source url="https://github.com/CocoaPods/Specs.git"/>
     </config>
     <pods>
           <pod name="Firebase/Analytics" spec="~> 6.1.0" />
      </pods>
   </podspec>

cocoapods-support doesn't recognize this and therefore doesn't add it to my Podfile

willnix86 avatar Jun 21 '19 14:06 willnix86

  <podspec>
     <config>
         <source url="https://github.com/CocoaPods/Specs.git"/>
     </config>
     <pods>
           <pod name="Firebase/Analytics" spec="~> 6.1.0" />
      </pods>
   </podspec>

This is cordova 9 syntax.

If you are using cordova 9, then you don't need this plugin and you sould make an issue in the cordova-ios repo. If you are using cordova 8, have a look at the readme for the correct syntax.

bbjay avatar Jul 02 '19 16:07 bbjay