Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR addresses the issue: #434
Key Changes:
SignInWithApple
functionality still requires macOS 10.15 due to Apple's platform restrictions.Why is this change important?
Previously, even if the
SignInWithAppleButton
was only required for iOS, the build would still fail on macOS 10.14 due to missing APIs introduced in macOS 10.15. This meant that any project targeting macOS 10.14, even if only for non-sign-in functionality, would encounter build errors.Purpose:
This change allows developers to conditionally include
SignInWithAppleButton
for iOS without breaking the build on macOS 10.14. For example, this code pattern will now work as expected:By making the build compatible with macOS 10.14, we ensure that developers who don’t need macOS-specific sign-in functionality can still compile their apps, while the sign-in feature remains available for macOS 10.15 and above.
Testing:
I have tested this on macOS 10.14. Further testing on macOS 10.15 and higher is recommended to confirm that the
SignInWithApple
functionality works as expected on those versions.