diff --git a/lib/Podfile.js b/lib/Podfile.js index fd7bf8db9..6a4000a6b 100644 --- a/lib/Podfile.js +++ b/lib/Podfile.js @@ -37,7 +37,7 @@ function Podfile (podFilePath, projectName, minDeploymentTarget) { this.path = podFilePath; this.projectName = projectName; - this.minDeploymentTarget = minDeploymentTarget || '11.0'; + this.minDeploymentTarget = minDeploymentTarget || '14.0'; this.contents = null; this.sources = null; this.declarations = null; @@ -73,7 +73,7 @@ Podfile.prototype.__parseForDeclarations = function (text) { // split by \n const arr = text.split('\n'); - // getting lines between "platform :ios, '11.0'"" and "target 'HelloCordova'" do + // getting lines between "platform :ios, '14.0'"" and "target 'HelloCordova'" do const declarationsPreRE = /platform :ios,\s+'[^']+'/; const declarationsPostRE = /target\s+'[^']+'\s+do/; const declarationRE = /^\s*[^#]/; diff --git a/templates/project/__PROJECT_NAME__.xcodeproj/project.pbxproj b/templates/project/__PROJECT_NAME__.xcodeproj/project.pbxproj index b703cacfc..3676d3d97 100755 --- a/templates/project/__PROJECT_NAME__.xcodeproj/project.pbxproj +++ b/templates/project/__PROJECT_NAME__.xcodeproj/project.pbxproj @@ -335,7 +335,7 @@ GCC_THUMB_SUPPORT = NO; GCC_VERSION = ""; INFOPLIST_FILE = "__PROJECT_NAME__/__PROJECT_NAME__-Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "__PROJECT_ID__"; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -359,7 +359,7 @@ GCC_THUMB_SUPPORT = NO; GCC_VERSION = ""; INFOPLIST_FILE = "__PROJECT_NAME__/__PROJECT_NAME__-Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "__PROJECT_ID__"; PRODUCT_NAME = "$(TARGET_NAME)"; diff --git a/tests/spec/unit/fixtures/ios-config-xml/SampleApp.xcodeproj/project.pbxproj b/tests/spec/unit/fixtures/ios-config-xml/SampleApp.xcodeproj/project.pbxproj index bd5c31653..b9a033ebd 100755 --- a/tests/spec/unit/fixtures/ios-config-xml/SampleApp.xcodeproj/project.pbxproj +++ b/tests/spec/unit/fixtures/ios-config-xml/SampleApp.xcodeproj/project.pbxproj @@ -324,7 +324,7 @@ GCC_THUMB_SUPPORT = NO; GCC_VERSION = ""; INFOPLIST_FILE = "SampleApp/SampleApp-Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.example.friendstring; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -349,7 +349,7 @@ GCC_THUMB_SUPPORT = NO; GCC_VERSION = ""; INFOPLIST_FILE = "SampleApp/SampleApp-Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.example.friendstring; PRODUCT_NAME = "$(TARGET_NAME)"; diff --git a/tests/spec/unit/fixtures/launch-storyboard-support/configs/legacy-only.xml b/tests/spec/unit/fixtures/launch-storyboard-support/configs/legacy-only.xml index 40c7af632..a66854b50 100644 --- a/tests/spec/unit/fixtures/launch-storyboard-support/configs/legacy-only.xml +++ b/tests/spec/unit/fixtures/launch-storyboard-support/configs/legacy-only.xml @@ -12,7 +12,7 @@ - + diff --git a/tests/spec/unit/fixtures/launch-storyboard-support/configs/modern-and-legacy.xml b/tests/spec/unit/fixtures/launch-storyboard-support/configs/modern-and-legacy.xml index 113660e08..24343b192 100644 --- a/tests/spec/unit/fixtures/launch-storyboard-support/configs/modern-and-legacy.xml +++ b/tests/spec/unit/fixtures/launch-storyboard-support/configs/modern-and-legacy.xml @@ -12,7 +12,7 @@ - + diff --git a/tests/spec/unit/fixtures/launch-storyboard-support/configs/modern-only.xml b/tests/spec/unit/fixtures/launch-storyboard-support/configs/modern-only.xml index d9ae88c39..0f4e8851b 100644 --- a/tests/spec/unit/fixtures/launch-storyboard-support/configs/modern-only.xml +++ b/tests/spec/unit/fixtures/launch-storyboard-support/configs/modern-only.xml @@ -12,7 +12,7 @@ - + @@ -29,4 +29,3 @@   - diff --git a/tests/spec/unit/fixtures/launch-storyboard-support/configs/none.xml b/tests/spec/unit/fixtures/launch-storyboard-support/configs/none.xml index 9f3f34020..a61a06a70 100644 --- a/tests/spec/unit/fixtures/launch-storyboard-support/configs/none.xml +++ b/tests/spec/unit/fixtures/launch-storyboard-support/configs/none.xml @@ -12,7 +12,7 @@ - + diff --git a/tests/spec/unit/fixtures/test-config-2.xml b/tests/spec/unit/fixtures/test-config-2.xml index 9f3f34020..a61a06a70 100644 --- a/tests/spec/unit/fixtures/test-config-2.xml +++ b/tests/spec/unit/fixtures/test-config-2.xml @@ -12,7 +12,7 @@ - + diff --git a/tests/spec/unit/fixtures/test-config-3.xml b/tests/spec/unit/fixtures/test-config-3.xml index fda80c6e0..5cf74939d 100644 --- a/tests/spec/unit/fixtures/test-config-3.xml +++ b/tests/spec/unit/fixtures/test-config-3.xml @@ -12,7 +12,7 @@ - + diff --git a/tests/spec/unit/prepare.spec.js b/tests/spec/unit/prepare.spec.js index 769a3afac..9cc6a4af8 100644 --- a/tests/spec/unit/prepare.spec.js +++ b/tests/spec/unit/prepare.spec.js @@ -622,7 +622,7 @@ describe('prepare', () => { const proj = new XcodeProject(p.locations.pbxproj); proj.parseSync(); const prop = proj.getBuildProperty('IPHONEOS_DEPLOYMENT_TARGET'); - expect(prop).toEqual('11.0'); + expect(prop).toEqual('14.0'); }); }); it('should write SwiftVersion preference (4.1)', () => {