updated requireCordovaModule to require for non-cordova modules (Support Cordova > 9.0.0)
MODIFY
src/ios/check_sdk_version.js
src/ios/check_sdk_version.js
@@ -2,8 +2,8 @@ module.exports = function (ctx) {
var PluginInfoProvider = ctx.requireCordovaModule('cordova-common').PluginInfoProvider;
- var Q = ctx.requireCordovaModule('q'),
- path = ctx.requireCordovaModule('path');
+ var Q = require('q'),
+ path = require('path');
var projectRoot = ctx.opts.projectRoot;
return Q.Promise(function (resolve, reject) {

updated requireCordovaModule to require for non-cordova modules (Support Cordova > 9.0.0)