Skip to content

Commit

Permalink
Bump default minDeploymentTarget to 10.0 in Podfile (#635)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile authored Jun 26, 2019
1 parent 94e57cb commit 6d618c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/templates/scripts/cordova/lib/Podfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function Podfile (podFilePath, projectName, minDeploymentTarget) {

this.path = podFilePath;
this.projectName = projectName;
this.minDeploymentTarget = minDeploymentTarget || '9.0';
this.minDeploymentTarget = minDeploymentTarget || '10.0';
this.contents = null;
this.sources = null;
this.declarations = null;
Expand Down Expand Up @@ -75,7 +75,7 @@ Podfile.prototype.__parseForDeclarations = function (text) {
// split by \n
var arr = text.split('\n');

// getting lines between "platform :ios, '9.0'"" and "target 'HelloCordova'" do
// getting lines between "platform :ios, '10.0'"" and "target 'HelloCordova'" do
var declarationsPreRE = new RegExp('platform :ios,\\s+\'[^\']+\'');
var declarationsPostRE = new RegExp('target\\s+\'[^\']+\'\\s+do');
var declarationRE = new RegExp('^\\s*[^#]');
Expand Down

0 comments on commit 6d618c4

Please sign in to comment.