From bafebf6ebb87dae621eaef727595f29d212f3338 Mon Sep 17 00:00:00 2001 From: Matthew Mathias Date: Thu, 6 Apr 2023 13:24:14 -0700 Subject: [PATCH 1/3] Bump iOS minimum version in podspec to support Xcode 14.3 --- AppAuth.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppAuth.podspec b/AppAuth.podspec index 4aeae48b5..f6a236739 100644 --- a/AppAuth.podspec +++ b/AppAuth.podspec @@ -31,7 +31,7 @@ It follows the OAuth 2.0 for Native Apps best current practice # classes of AppAuth with tokens on watchOS and tvOS, but currently the # library won't help you obtain authorization grants on those platforms. - s.ios.deployment_target = "7.0" + s.ios.deployment_target = "9.0" s.osx.deployment_target = "10.9" s.watchos.deployment_target = "2.0" s.tvos.deployment_target = "9.0" From a0023e9e44525636e4bebd635a2402bc3ebf67cb Mon Sep 17 00:00:00 2001 From: Matthew Mathias Date: Thu, 6 Apr 2023 15:14:56 -0700 Subject: [PATCH 2/3] Update macOS support to 10.12 --- AppAuth.podspec | 2 +- Package.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AppAuth.podspec b/AppAuth.podspec index f6a236739..33dda9f1b 100644 --- a/AppAuth.podspec +++ b/AppAuth.podspec @@ -32,7 +32,7 @@ It follows the OAuth 2.0 for Native Apps best current practice # library won't help you obtain authorization grants on those platforms. s.ios.deployment_target = "9.0" - s.osx.deployment_target = "10.9" + s.osx.deployment_target = "10.12" s.watchos.deployment_target = "2.0" s.tvos.deployment_target = "9.0" diff --git a/Package.swift b/Package.swift index b031680df..ae72258ac 100644 --- a/Package.swift +++ b/Package.swift @@ -23,7 +23,7 @@ import PackageDescription let package = Package( name: "AppAuth", platforms: [ - .macOS(.v10_10), + .macOS(.v10_12), .iOS(.v9), .tvOS(.v9), .watchOS(.v2) From 669a75a11a189fbfbbf0f2e3b091302019b262dd Mon Sep 17 00:00:00 2001 From: Matthew Mathias Date: Thu, 6 Apr 2023 15:20:35 -0700 Subject: [PATCH 3/3] Use variables for iOS and macOS deployment targets --- AppAuth.podspec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/AppAuth.podspec b/AppAuth.podspec index 33dda9f1b..f023a4fa3 100644 --- a/AppAuth.podspec +++ b/AppAuth.podspec @@ -31,8 +31,10 @@ It follows the OAuth 2.0 for Native Apps best current practice # classes of AppAuth with tokens on watchOS and tvOS, but currently the # library won't help you obtain authorization grants on those platforms. - s.ios.deployment_target = "9.0" - s.osx.deployment_target = "10.12" + ios_deployment_target = "9.0" + osx_deployment_target = "10.12" + s.ios.deployment_target = ios_deployment_target + s.osx.deployment_target = osx_deployment_target s.watchos.deployment_target = "2.0" s.tvos.deployment_target = "9.0" @@ -52,13 +54,13 @@ It follows the OAuth 2.0 for Native Apps best current practice # iOS externalUserAgent.ios.source_files = "Source/AppAuth/iOS/**/*.{h,m}" - externalUserAgent.ios.deployment_target = "7.0" + externalUserAgent.ios.deployment_target = ios_deployment_target externalUserAgent.ios.frameworks = "SafariServices" externalUserAgent.ios.weak_frameworks = "AuthenticationServices" # macOS externalUserAgent.osx.source_files = "Source/AppAuth/macOS/**/*.{h,m}" - externalUserAgent.osx.deployment_target = '10.9' + externalUserAgent.osx.deployment_target = osx_deployment_target externalUserAgent.osx.weak_frameworks = "AuthenticationServices" end