From 3f5c3ed7ef7445410637b252d4aa013ec21ff49b Mon Sep 17 00:00:00 2001 From: Matt Rubin Date: Mon, 19 Aug 2024 08:58:19 -0400 Subject: [PATCH 1/2] Bump deployment targets to the current version minus one --- OneTimePassword.xcodeproj/project.pbxproj | 12 ++++++------ Package.swift | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/OneTimePassword.xcodeproj/project.pbxproj b/OneTimePassword.xcodeproj/project.pbxproj index f843407..a4f5adf 100644 --- a/OneTimePassword.xcodeproj/project.pbxproj +++ b/OneTimePassword.xcodeproj/project.pbxproj @@ -576,11 +576,11 @@ baseConfigurationReference = C996EC2C1A74D5830076B105 /* Debug.xcconfig */; buildSettings = { DEAD_CODE_STRIPPING = YES; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; - MACOSX_DEPLOYMENT_TARGET = 10.15; + IPHONEOS_DEPLOYMENT_TARGET = 16.0; + MACOSX_DEPLOYMENT_TARGET = 13.0; SWIFT_TREAT_WARNINGS_AS_ERRORS = NO; SWIFT_VERSION = 5.0; - WATCHOS_DEPLOYMENT_TARGET = 6.0; + WATCHOS_DEPLOYMENT_TARGET = 9.0; }; name = Debug; }; @@ -589,11 +589,11 @@ baseConfigurationReference = C996EC2E1A74D5830076B105 /* Release.xcconfig */; buildSettings = { DEAD_CODE_STRIPPING = YES; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; - MACOSX_DEPLOYMENT_TARGET = 10.15; + IPHONEOS_DEPLOYMENT_TARGET = 16.0; + MACOSX_DEPLOYMENT_TARGET = 13.0; SWIFT_TREAT_WARNINGS_AS_ERRORS = NO; SWIFT_VERSION = 5.0; - WATCHOS_DEPLOYMENT_TARGET = 6.0; + WATCHOS_DEPLOYMENT_TARGET = 9.0; }; name = Release; }; diff --git a/Package.swift b/Package.swift index aef688a..a93c644 100644 --- a/Package.swift +++ b/Package.swift @@ -4,9 +4,9 @@ import PackageDescription let package = Package( name: "OneTimePassword", platforms: [ - .iOS(.v13), - .macOS(.v10_15), - .watchOS(.v6), + .iOS(.v16), + .macOS(.v13), + .watchOS(.v9), ], products: [ .library( From d990b9d0140a0073daa7898b6c147877b8767b5e Mon Sep 17 00:00:00 2001 From: Matt Rubin Date: Mon, 19 Aug 2024 09:18:50 -0400 Subject: [PATCH 2/2] Drop unsupported runtimes from GitHub Actions test config --- .github/workflows/xcode.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/xcode.yml b/.github/workflows/xcode.yml index 4ae6fd8..d72b71f 100644 --- a/.github/workflows/xcode.yml +++ b/.github/workflows/xcode.yml @@ -14,10 +14,7 @@ jobs: device: "iPhone 15 Pro Max" - xcode: 15.4 runtime: "iOS 16.4" - device: "iPhone 12 mini" - - xcode: 15.4 - runtime: "iOS 15.5" - device: "iPhone SE" + device: "iPhone 8" steps: - uses: actions/checkout@v4 with: @@ -60,10 +57,7 @@ jobs: device: "Apple Watch Ultra 2 (49mm)" - xcode: 15.4 runtime: "watchOS 9.4" - device: "Apple Watch SE (44mm) (2nd generation)" - - xcode: 15.4 - runtime: "watchOS 8.5" - device: "Apple Watch Series 3 (38mm)" + device: "Apple Watch Series 4 (40mm)" steps: - uses: actions/checkout@v4 with: