Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getPodSpecs is undefined #535

Closed
3 tasks done
nodh opened this issue Feb 18, 2019 · 0 comments
Closed
3 tasks done

getPodSpecs is undefined #535

nodh opened this issue Feb 18, 2019 · 0 comments
Milestone

Comments

@nodh
Copy link

nodh commented Feb 18, 2019

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

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants