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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop support for iOS 12, tvOS 12, macOS 10.15, watch0S < 7, and Xcode 13 #775

Merged
merged 1 commit into from Jun 14, 2023

Conversation

Widcket
Copy link
Contributor

@Widcket Widcket commented Jun 13, 2023

  • All new/changed/fixed functionality is covered by tests (or N/A)
  • I have added documentation for all new/changed functionality (or N/A)

馃搵 Changes

This PR raises the deployment target of Auth0.swift as follows:

  • iOS 12.0 -> 13.0
  • tvOS 12.0 -> 13.0
  • macOS 10.15 -> 11.0
  • watchOS 6.2 -> 7.0

As a result, a lot of conditional compilation checks and version constraints pertaining to Swift concurrency and Combine were removed, simplifying the codebase.

Additionally, support for Xcode 13 was dropped, and as such the minimum Swift version was raised to 5.7 (the version shipped with Xcode 14.0).

@Widcket Widcket added the review:large Large review label Jun 13, 2023
@Widcket Widcket requested a review from a team as a code owner June 13, 2023 22:45
github "Quick/Quick" "v6.1.0"
github "asana/OHHTTPStubs" "9.1.0-asana"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OHHTTPStubs no longer compiles with Xcode 14.3+. This library seems to no longer be maintained; it might be necessary to replace it altogether in the future.
The Asana fork includes the changes for Xcode 14.3+, which suffices for the time being.

@@ -54,11 +54,11 @@ class SafariProviderSpec: QuickSpec {

beforeEach {
root = SpyViewController()
UIApplication.shared.keyWindow?.rootViewController = root
UIApplication.shared.windows.last(where: \.isKeyWindow)?.rootViewController = root
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

keyWindow was deprecated on iOS 13.

Copy link
Contributor

@poovamraj poovamraj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 馃憤

@Widcket Widcket merged commit b8e2bf5 into master Jun 14, 2023
9 checks passed
@Widcket Widcket deleted the chore/drop-old-platforms-xcode branch June 14, 2023 16:24
@Widcket Widcket mentioned this pull request Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review:large Large review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants