We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46cbb29 commit 385f2a7Copy full SHA for 385f2a7
1 file changed
scripts/lib/utilities.js
@@ -66,7 +66,7 @@ Utilities.writeJsonToXmlFile = function(jsonObj, filepath, parseOpts){
66
* The xcodeCordovaProj directory path is defined in the locations property of the Cordova-iOS platform's API.
67
*/
68
Utilities.getAppName = function(){
69
- if(_context.opts.platforms.indexOf('ios') !== -1){
+ if(_context.opts.cordova.platforms.indexOf('ios') !== -1){
70
const projectRoot = _context.opts.projectRoot;
71
const platformPath = path.join(projectRoot, 'platforms', 'ios');
72
const cordova_ios = require('cordova-ios');
0 commit comments