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

Drop support for Swift < 5.3 [SDK-2896] #531

Merged
merged 1 commit into from
Nov 4, 2021
Merged

Drop support for Swift < 5.3 [SDK-2896] #531

merged 1 commit into from
Nov 4, 2021

Conversation

Widcket
Copy link
Contributor

@Widcket Widcket commented Nov 3, 2021

Changes

⚠️ THIS PR CONTAINS BREAKING CHANGES

The minimum Swift version supported was raised to 5.3.

References

The migration guide was updated on #534

Testing

  • This change adds unit test coverage
  • This change has been tested on the latest version of the platform/language or why not

Checklist

@Widcket Widcket changed the base branch from master to beta November 3, 2021 19:03
@Widcket Widcket added the review:tiny Tiny review label Nov 3, 2021
@@ -29,7 +29,7 @@ let package = Package(
name: "Auth0",
dependencies: ["SimpleKeychain", "JWTDecode", "Auth0ObjectiveC"],
path: "Auth0",
exclude: ["ObjectiveC"],
exclude: ["ObjectiveC", "Info.plist", "Info-tvOS.plist"],
Copy link
Contributor Author

@Widcket Widcket Nov 3, 2021

Choose a reason for hiding this comment

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

Swift tools version 5.3 added support for bundling resource files. If there are non-code files that are not being bundled, it will produce a warning. So we need to exclude those files.
See https://developer.apple.com/documentation/swift_packages/bundling_resources_with_a_swift_package

@Widcket Widcket marked this pull request as ready for review November 4, 2021 16:04
@Widcket Widcket requested a review from a team as a code owner November 4, 2021 16:04
@Widcket Widcket merged commit 4184b4e into beta Nov 4, 2021
@Widcket Widcket deleted the v2/drop-swift branch November 4, 2021 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review:tiny Tiny review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants