Skip to content

Commit 0c402bf

Browse files
authored
feat(cli): increase iOS deployment target to 14.0 (#13997)
* feat(cli): increase iOS deployment target to 14.0 closes tauri-apps/plugins-workspace#1876 ref tauri-apps/tauri-docs#3455 * fix tests
1 parent d6d5f37 commit 0c402bf

File tree

8 files changed

+22
-15
lines changed

8 files changed

+22
-15
lines changed

.changes/increase-target-ios.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"tauri-cli": minor:feat
3+
"@tauri-apps/cli": minor:feat
4+
"tauri-utils": minor:feat
5+
---
6+
7+
Increase default iOS deployment target iOS to 14.0.

crates/tauri-cli/config.schema.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
},
8989
"createUpdaterArtifacts": false,
9090
"iOS": {
91-
"minimumSystemVersion": "13.0"
91+
"minimumSystemVersion": "14.0"
9292
},
9393
"icon": [],
9494
"linux": {
@@ -2217,7 +2217,7 @@
22172217
"iOS": {
22182218
"description": "iOS configuration.",
22192219
"default": {
2220-
"minimumSystemVersion": "13.0"
2220+
"minimumSystemVersion": "14.0"
22212221
},
22222222
"allOf": [
22232223
{
@@ -3687,7 +3687,7 @@
36873687
},
36883688
"minimumSystemVersion": {
36893689
"description": "A version string indicating the minimum iOS version that the bundled application supports. Defaults to `13.0`.\n\n Maps to the IPHONEOS_DEPLOYMENT_TARGET value.",
3690-
"default": "13.0",
3690+
"default": "14.0",
36913691
"type": "string"
36923692
}
36933693
},

crates/tauri-cli/templates/plugin/ios-xcode/tauri-plugin-{{ plugin_name }}.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
188188
GCC_WARN_UNUSED_FUNCTION = YES;
189189
GCC_WARN_UNUSED_VARIABLE = YES;
190-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
190+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
191191
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
192192
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
193193
MTL_FAST_MATH = YES;
@@ -244,7 +244,7 @@
244244
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
245245
GCC_WARN_UNUSED_FUNCTION = YES;
246246
GCC_WARN_UNUSED_VARIABLE = YES;
247-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
247+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
248248
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
249249
MTL_ENABLE_DEBUG_INFO = NO;
250250
MTL_FAST_MATH = YES;

crates/tauri-cli/tests/fixtures/pbxproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@
302302
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
303303
GCC_WARN_UNUSED_FUNCTION = YES;
304304
GCC_WARN_UNUSED_VARIABLE = YES;
305-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
305+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
306306
MTL_ENABLE_DEBUG_INFO = NO;
307307
MTL_FAST_MATH = YES;
308308
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -364,7 +364,7 @@
364364
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
365365
GCC_WARN_UNUSED_FUNCTION = YES;
366366
GCC_WARN_UNUSED_VARIABLE = YES;
367-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
367+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
368368
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
369369
MTL_FAST_MATH = YES;
370370
ONLY_ACTIVE_ARCH = YES;

crates/tauri-cli/tests/fixtures/pbxproj/snapshots/tauri_cli__helpers__pbxproj__tests__project-modified.pbxproj.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ expression: pbxproj.serialize()
306306
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
307307
GCC_WARN_UNUSED_FUNCTION = YES;
308308
GCC_WARN_UNUSED_VARIABLE = YES;
309-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
309+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
310310
MTL_ENABLE_DEBUG_INFO = NO;
311311
MTL_FAST_MATH = YES;
312312
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -368,7 +368,7 @@ expression: pbxproj.serialize()
368368
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
369369
GCC_WARN_UNUSED_FUNCTION = YES;
370370
GCC_WARN_UNUSED_VARIABLE = YES;
371-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
371+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
372372
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
373373
MTL_FAST_MATH = YES;
374374
ONLY_ACTIVE_ARCH = YES;

crates/tauri-cli/tests/fixtures/pbxproj/snapshots/tauri_cli__helpers__pbxproj__tests__project.pbxproj.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ Pbxproj {
262262
identation: "\t\t\t\t",
263263
line_number: 304,
264264
key: "IPHONEOS_DEPLOYMENT_TARGET",
265-
value: "13.0",
265+
value: "14.0",
266266
},
267267
BuildSettings {
268268
identation: "\t\t\t\t",
@@ -584,7 +584,7 @@ Pbxproj {
584584
identation: "\t\t\t\t",
585585
line_number: 366,
586586
key: "IPHONEOS_DEPLOYMENT_TARGET",
587-
value: "13.0",
587+
value: "14.0",
588588
},
589589
BuildSettings {
590590
identation: "\t\t\t\t",

crates/tauri-schema-generator/schemas/config.schema.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
},
8989
"createUpdaterArtifacts": false,
9090
"iOS": {
91-
"minimumSystemVersion": "13.0"
91+
"minimumSystemVersion": "14.0"
9292
},
9393
"icon": [],
9494
"linux": {
@@ -2217,7 +2217,7 @@
22172217
"iOS": {
22182218
"description": "iOS configuration.",
22192219
"default": {
2220-
"minimumSystemVersion": "13.0"
2220+
"minimumSystemVersion": "14.0"
22212221
},
22222222
"allOf": [
22232223
{
@@ -3687,7 +3687,7 @@
36873687
},
36883688
"minimumSystemVersion": {
36893689
"description": "A version string indicating the minimum iOS version that the bundled application supports. Defaults to `13.0`.\n\n Maps to the IPHONEOS_DEPLOYMENT_TARGET value.",
3690-
"default": "13.0",
3690+
"default": "14.0",
36913691
"type": "string"
36923692
}
36933693
},

crates/tauri-utils/src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@ fn macos_minimum_system_version() -> Option<String> {
690690
}
691691

692692
fn ios_minimum_system_version() -> String {
693-
"13.0".into()
693+
"14.0".into()
694694
}
695695

696696
/// Configuration for a target language for the WiX build.

0 commit comments

Comments
 (0)