Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
+ related CB-5696
  • Loading branch information
Ryan Willoughby committed May 19, 2015
1 parent daea239 commit f274eeb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cordova-lib/src/plugman/platforms/ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,7 @@ module.exports = {
throw new Error('could not find PhoneGap/Cordova plist file, or config.xml file.');
}

var config_file = config_files[0];
var xcode_dir = path.dirname(config_file);
var xcode_dir = path.dirname(glob.sync(path.join(project_dir, '**', '*-Info.plist'))[0]);
var pluginsDir = path.resolve(xcode_dir, 'Plugins');
var resourcesDir = path.resolve(xcode_dir, 'Resources');
var cordovaVersion = fs.readFileSync(path.join(project_dir, 'CordovaLib', 'VERSION'), 'utf8').trim();
Expand Down

0 comments on commit f274eeb

Please sign in to comment.