nodh opened a new issue #535: getPodSpecs is undefined URL: https://github.com/apache/cordova-ios/issues/535 # 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 ([email protected]) 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 <!-- Please check the boxes by putting an x in the [ ] like so: [x] --> - [x] I searched for existing GitHub issues - [x] I updated all Cordova tooling to most recent version - [x] I included all the necessary information above
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
