From f4587663b56bdfe517c387cd23a08afb67a52b30 Mon Sep 17 00:00:00 2001 From: Huang Xin Date: Mon, 29 Dec 2025 03:41:12 +0100 Subject: [PATCH] chore(ios): drop support for iOS below 15.0 (#2804) --- .../tauri-plugin-native-tts/ios/Package.swift | 50 +++++++++---------- apps/readest-app/src-tauri/tauri.conf.json | 2 +- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/apps/readest-app/src-tauri/plugins/tauri-plugin-native-tts/ios/Package.swift b/apps/readest-app/src-tauri/plugins/tauri-plugin-native-tts/ios/Package.swift index 3d1f59ba..3645a71e 100644 --- a/apps/readest-app/src-tauri/plugins/tauri-plugin-native-tts/ios/Package.swift +++ b/apps/readest-app/src-tauri/plugins/tauri-plugin-native-tts/ios/Package.swift @@ -4,29 +4,29 @@ import PackageDescription let package = Package( - name: "tauri-plugin-native-tts", - platforms: [ - .macOS(.v10_13), - .iOS(.v13), - ], - products: [ - // Products define the executables and libraries a package produces, and make them visible to other packages. - .library( - name: "tauri-plugin-native-tts", - type: .static, - targets: ["tauri-plugin-native-tts"]), - ], - dependencies: [ - .package(name: "Tauri", path: "../.tauri/tauri-api") - ], - targets: [ - // Targets are the basic building blocks of a package. A target can define a module or a test suite. - // Targets can depend on other targets in this package, and on products in packages this package depends on. - .target( - name: "tauri-plugin-native-tts", - dependencies: [ - .byName(name: "Tauri") - ], - path: "Sources") - ] + name: "tauri-plugin-native-tts", + platforms: [ + .macOS(.v10_13), + .iOS(.v14), + ], + products: [ + // Products define the executables and libraries a package produces, and make them visible to other packages. + .library( + name: "tauri-plugin-native-tts", + type: .static, + targets: ["tauri-plugin-native-tts"]) + ], + dependencies: [ + .package(name: "Tauri", path: "../.tauri/tauri-api") + ], + targets: [ + // Targets are the basic building blocks of a package. A target can define a module or a test suite. + // Targets can depend on other targets in this package, and on products in packages this package depends on. + .target( + name: "tauri-plugin-native-tts", + dependencies: [ + .byName(name: "Tauri") + ], + path: "Sources") + ] ) diff --git a/apps/readest-app/src-tauri/tauri.conf.json b/apps/readest-app/src-tauri/tauri.conf.json index 31de56ca..3aead8c1 100644 --- a/apps/readest-app/src-tauri/tauri.conf.json +++ b/apps/readest-app/src-tauri/tauri.conf.json @@ -73,7 +73,7 @@ "iOS": { "developmentTeam": "J5W48D69VR", "infoPlist": "./Info-ios.plist", - "minimumSystemVersion": "14.0" + "minimumSystemVersion": "15.0" }, "fileAssociations": [ {