Skip to content

Fix compilation on Xcode 26.4#421

Merged
simonbs merged 1 commit intosimonbs:mainfrom
xavierLowmiller:bug/#420-xcode-26-4
Mar 25, 2026
Merged

Fix compilation on Xcode 26.4#421
simonbs merged 1 commit intosimonbs:mainfrom
xavierLowmiller:bug/#420-xcode-26-4

Conversation

@xavierLowmiller
Copy link
Contributor

Fixes #420

Copilot AI review requested due to automatic review settings March 25, 2026 09:36
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR addresses an Xcode 26.4 build failure by adjusting API availability annotations so the UIFindInteractionDelegate conformance is only declared on supported iOS versions, matching the availability of the underlying Find Interaction APIs used by Runestone.

Changes:

  • Move @available(iOS 16, *) from the delegate method to the UIFindInteractionDelegate conformance extension to satisfy the protocol availability requirement during compilation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@simonbs simonbs enabled auto-merge (squash) March 25, 2026 09:59
Copy link
Owner

@simonbs simonbs left a comment

Choose a reason for hiding this comment

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

@xavierLowmiller This is great! Thanks for contributing the fix 🙌

@simonbs simonbs merged commit 592434a into simonbs:main Mar 25, 2026
12 of 13 checks passed
@xavierLowmiller xavierLowmiller deleted the bug/#420-xcode-26-4 branch March 25, 2026 10:32
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.

Xcode 26.4 compilation breaks

3 participants