-
Notifications
You must be signed in to change notification settings - Fork 347
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
12 additions
and
8 deletions.
There are no files selected for viewing
Submodule cordova-android
updated
from f224b1 to 59a018
Submodule cordova-ios
updated
from d4d0c3 to d712fb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -84,8 +84,9 @@ module.exports = exports = function prePrepareCommand(context) { | |
var hasIos = fs.existsSync(path.join('platforms', 'ios')); | ||
if (hasIos) { | ||
var platforms = cordovaLib.cordova_platforms; | ||
var parser = new platforms.ios.parser(path.join('platforms','ios')); | ||
var infoPlistPath = path.join('platforms', 'ios', parser.originalName, parser.originalName + '-Info.plist'); | ||
var parser = platforms.getPlatformApi('ios'); | ||
var infoPlistPath = path.join('platforms', 'ios', parser._parser.originalName, parser._parser.originalName + '-Info.plist'); | ||
console.log('adsf') | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
agrieve
Author
Member
|
||
var infoPlistXml = et.parse(fs.readFileSync(infoPlistPath, 'utf-8')); | ||
|
||
var rootPlistElement = infoPlistXml.getroot(); | ||
|
adsf?