blakgeek / cordova-plugin-cocoapods-support

A Cordova/PhoneGap plugin to add support for CocoaPods dependencies.
MIT License
72 stars 72 forks source link

Not reading podspec tags in Plugins #50

Open willnix86 opened 5 years ago

willnix86 commented 5 years ago

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

bbjay commented 5 years ago
  <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.