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

Ensure app can be built on xcode 14, since xcode 15 is in beta #1

Merged
merged 1 commit into from
Sep 19, 2023

Conversation

DAcodedBEAT
Copy link
Owner

upstream PR: creepymonster#564

Previous PR description:

Currently the following error is reported when building with the latest stable Xcode: Error: Value of type 'EKEventStore' has no member 'requestFullAccessToEvents'.

requestFullAccessToEvents is a new method only available in iOS 17, which is in beta, and is also only supported by Xcode 15, which is also in beta.

Since this feature is dependent on beta APIs which aren't available on older Xcodes, this application will not build. As a result, this conditional needs additional safeguards in order to compile properly on the latest stable Xcode.

note: Since there isn't a way to check which version of Xcode is used, I needed to check based on the available Swift version, which is published on Apple's documentation: https://developer.apple.com/support/xcode/

Resolves creepymonster#563

@DAcodedBEAT DAcodedBEAT merged commit 3be700d into develop Sep 19, 2023
@DAcodedBEAT DAcodedBEAT deleted the fix-xcode-14-build branch August 26, 2024 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant