-
Notifications
You must be signed in to change notification settings - Fork 999
getPodSpecs is undefined #535
Copy link
Copy link
Closed
Labels
Milestone
Description
Bug Report
Problem
I've updated cordova-ios (in an Ionic App) to 5.0.0 to use the new podspec tag in a plugin's plugin.xml. But the configuration doesn't get picked up. In Api.js I see, that plugin.getPodSpecs is undefined. I assume, thats because cordova depends on cordova-common in version 2.2.0, whereas cordova-ios requires 3.1.0 (just a guess).
What is expected to happen?
On ionic cordova add plugin ../test-plugin, the podspec elements should be read and the Podfile generated.
What does actually happen?
Instead, the dependencies are not entered in the Podfile or pods.json.
Environment, Platform, Device
Ionic:
ionic (Ionic CLI) : 4.10.3 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.1
Cordova:
cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : ios 5.0.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.2, cordova-plugin-ionic-webview 1.2.1, (and 7 other plugins)
System:
ios-deploy : 1.9.4
ios-sim : 7.0.0
NodeJS : v11.5.0 (/usr/local/Cellar/node/11.5.0/bin/node)
npm : 6.8.0
OS : macOS Mojave
Xcode : Xcode 10.1 Build version 10B61
Version information
See above.
Checklist
- I searched for existing GitHub issues
- I updated all Cordova tooling to most recent version
- I included all the necessary information above
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Fields
Give feedbackNo fields configured for issues without a type.