Skip to content

Commit

Permalink
Bump iOS minimum version in podspec to support Xcode 14.3 (#761)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdmathias authored Apr 7, 2023
1 parent caba194 commit ecc52c5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions AppAuth.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "7.0"
s.osx.deployment_target = "10.9"
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"

Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import PackageDescription
let package = Package(
name: "AppAuth",
platforms: [
.macOS(.v10_10),
.macOS(.v10_12),
.iOS(.v9),
.tvOS(.v9),
.watchOS(.v2)
Expand Down

0 comments on commit ecc52c5

Please sign in to comment.