cordova-plugin-cocoapods-support
cordova-plugin-cocoapods-support copied to clipboard
Not reading podspec tags in Plugins
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
<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.