From 0c4b75aaf6041ca6d4112ba654680d7851d2c92f Mon Sep 17 00:00:00 2001 From: jcesarmobile Date: Tue, 25 Jun 2019 14:21:46 +0200 Subject: [PATCH] Bump default minDeploymentTarget to 10.0 --- bin/templates/scripts/cordova/lib/Podfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/templates/scripts/cordova/lib/Podfile.js b/bin/templates/scripts/cordova/lib/Podfile.js index 0a3cdcd4f..2953e18b4 100644 --- a/bin/templates/scripts/cordova/lib/Podfile.js +++ b/bin/templates/scripts/cordova/lib/Podfile.js @@ -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; @@ -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*[^#]');