Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump iOS minimum version in podspec to support Xcode 14.3 #761

Merged
merged 3 commits into from
Apr 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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