Closed pjorquera closed 5 years ago
according to the cordava-lib changes, the Context.requireCordovaModule
is currently being considered for deprecation and eventually removed in the next major version of cordava-lib.
relevant quote:
I can see the logic.
Since the workaround is pretty straight forward (npm install ) this can be easily overcome with a deprecation message & documentation.
A clear message of library xyz is relying on package abc which is no longer provided by cordova. Run npm install abc yourself could do magic to cordova developers hours of work and sanity...
source: https://github.com/apache/cordova-lib/issues/706#issuecomment-425314051
recommendation: the plugin should install the xcode
npm package via npm install xcode
and use it directly in the ios helper scripts
unfortunately I am having the same issue but npm install xcode doesn't work for me :/ any help on that?
Fixed with Cordova version 8.1.2
This issue is fixed with Cordova version 8.1.2
Adding plugin to a project using Cordova CLI 8.1.x (8.1.0, 8.1.1) fails to install displaying the following error:
Steps to reproduce
Output error: