diff --git a/.changes/increase-target-ios.md b/.changes/increase-target-ios.md new file mode 100644 index 000000000..eae9e9a41 --- /dev/null +++ b/.changes/increase-target-ios.md @@ -0,0 +1,7 @@ +--- +"tauri-cli": minor:feat +"@tauri-apps/cli": minor:feat +"tauri-utils": minor:feat +--- + +Increase default iOS deployment target iOS to 14.0. diff --git a/crates/tauri-cli/config.schema.json b/crates/tauri-cli/config.schema.json index adb707224..7d026b00c 100644 --- a/crates/tauri-cli/config.schema.json +++ b/crates/tauri-cli/config.schema.json @@ -88,7 +88,7 @@ }, "createUpdaterArtifacts": false, "iOS": { - "minimumSystemVersion": "13.0" + "minimumSystemVersion": "14.0" }, "icon": [], "linux": { @@ -2217,7 +2217,7 @@ "iOS": { "description": "iOS configuration.", "default": { - "minimumSystemVersion": "13.0" + "minimumSystemVersion": "14.0" }, "allOf": [ { @@ -3687,7 +3687,7 @@ }, "minimumSystemVersion": { "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.", - "default": "13.0", + "default": "14.0", "type": "string" } }, diff --git a/crates/tauri-cli/templates/plugin/ios-xcode/tauri-plugin-{{ plugin_name }}.xcodeproj/project.pbxproj b/crates/tauri-cli/templates/plugin/ios-xcode/tauri-plugin-{{ plugin_name }}.xcodeproj/project.pbxproj index dc9db42a6..b2aa87f36 100644 --- a/crates/tauri-cli/templates/plugin/ios-xcode/tauri-plugin-{{ plugin_name }}.xcodeproj/project.pbxproj +++ b/crates/tauri-cli/templates/plugin/ios-xcode/tauri-plugin-{{ plugin_name }}.xcodeproj/project.pbxproj @@ -187,7 +187,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; LOCALIZATION_PREFERS_STRING_CATALOGS = YES; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; @@ -244,7 +244,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; LOCALIZATION_PREFERS_STRING_CATALOGS = YES; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; diff --git a/crates/tauri-cli/tests/fixtures/pbxproj/project.pbxproj b/crates/tauri-cli/tests/fixtures/pbxproj/project.pbxproj index 6bd3b0511..a3c74da6b 100644 --- a/crates/tauri-cli/tests/fixtures/pbxproj/project.pbxproj +++ b/crates/tauri-cli/tests/fixtures/pbxproj/project.pbxproj @@ -302,7 +302,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -364,7 +364,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; ONLY_ACTIVE_ARCH = YES; diff --git a/crates/tauri-cli/tests/fixtures/pbxproj/snapshots/tauri_cli__helpers__pbxproj__tests__project-modified.pbxproj.snap b/crates/tauri-cli/tests/fixtures/pbxproj/snapshots/tauri_cli__helpers__pbxproj__tests__project-modified.pbxproj.snap index bee97940b..a3dc6bf5e 100644 --- a/crates/tauri-cli/tests/fixtures/pbxproj/snapshots/tauri_cli__helpers__pbxproj__tests__project-modified.pbxproj.snap +++ b/crates/tauri-cli/tests/fixtures/pbxproj/snapshots/tauri_cli__helpers__pbxproj__tests__project-modified.pbxproj.snap @@ -306,7 +306,7 @@ expression: pbxproj.serialize() GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -368,7 +368,7 @@ expression: pbxproj.serialize() GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; ONLY_ACTIVE_ARCH = YES; diff --git a/crates/tauri-cli/tests/fixtures/pbxproj/snapshots/tauri_cli__helpers__pbxproj__tests__project.pbxproj.snap b/crates/tauri-cli/tests/fixtures/pbxproj/snapshots/tauri_cli__helpers__pbxproj__tests__project.pbxproj.snap index 4ce462a29..d84a8c0e7 100644 --- a/crates/tauri-cli/tests/fixtures/pbxproj/snapshots/tauri_cli__helpers__pbxproj__tests__project.pbxproj.snap +++ b/crates/tauri-cli/tests/fixtures/pbxproj/snapshots/tauri_cli__helpers__pbxproj__tests__project.pbxproj.snap @@ -262,7 +262,7 @@ Pbxproj { identation: "\t\t\t\t", line_number: 304, key: "IPHONEOS_DEPLOYMENT_TARGET", - value: "13.0", + value: "14.0", }, BuildSettings { identation: "\t\t\t\t", @@ -584,7 +584,7 @@ Pbxproj { identation: "\t\t\t\t", line_number: 366, key: "IPHONEOS_DEPLOYMENT_TARGET", - value: "13.0", + value: "14.0", }, BuildSettings { identation: "\t\t\t\t", diff --git a/crates/tauri-schema-generator/schemas/config.schema.json b/crates/tauri-schema-generator/schemas/config.schema.json index adb707224..7d026b00c 100644 --- a/crates/tauri-schema-generator/schemas/config.schema.json +++ b/crates/tauri-schema-generator/schemas/config.schema.json @@ -88,7 +88,7 @@ }, "createUpdaterArtifacts": false, "iOS": { - "minimumSystemVersion": "13.0" + "minimumSystemVersion": "14.0" }, "icon": [], "linux": { @@ -2217,7 +2217,7 @@ "iOS": { "description": "iOS configuration.", "default": { - "minimumSystemVersion": "13.0" + "minimumSystemVersion": "14.0" }, "allOf": [ { @@ -3687,7 +3687,7 @@ }, "minimumSystemVersion": { "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.", - "default": "13.0", + "default": "14.0", "type": "string" } }, diff --git a/crates/tauri-utils/src/config.rs b/crates/tauri-utils/src/config.rs index 26d31c773..bd1adef1f 100644 --- a/crates/tauri-utils/src/config.rs +++ b/crates/tauri-utils/src/config.rs @@ -690,7 +690,7 @@ fn macos_minimum_system_version() -> Option { } fn ios_minimum_system_version() -> String { - "13.0".into() + "14.0".into() } /// Configuration for a target language for the WiX build.