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

SDL 3.2.0 on Mac fails to build - UIKitPen issue #12048

Closed
RustyMoyher opened this issue Jan 22, 2025 · 5 comments · Fixed by #12051
Closed

SDL 3.2.0 on Mac fails to build - UIKitPen issue #12048

RustyMoyher opened this issue Jan 22, 2025 · 5 comments · Fixed by #12051
Milestone

Comments

@RustyMoyher
Copy link
Contributor

In SDL 3.2.0 I'm setting two minor errors when building in Xcode 15.1 on macOS 14.2.1. Both errors in SDL_uikitpen.m:

Line 130 in UIKit_HandlePenHover - no visible @interface for 'UIHoverGestureRecognizer' declares the selector 'rollAngle'

if (@available(iOS 17.5, *)) {
    rollAngle = (float) [recognizer rollAngle];
}

Also line 147 in UIKit_HandlePenAxesFromUITouch - no visible @interface for 'UITouch' declares the selector 'rollAngle'

if (@available(iOS 17.5, *)) {
    rollAngle = (float) [pencil rollAngle];
}
@slouken
Copy link
Collaborator

slouken commented Jan 22, 2025

Are you able to upgrade to Xcode 15.4?

@slouken slouken added this to the 3.2.2 milestone Jan 22, 2025
@slouken
Copy link
Collaborator

slouken commented Jan 22, 2025

Actually, I have work in progress to fix this.

@slouken
Copy link
Collaborator

slouken commented Jan 22, 2025

Can you try the patch in #12051?

slouken added a commit to slouken/SDL that referenced this issue Jan 22, 2025
@RustyMoyher
Copy link
Contributor Author

Yeap! That works great.

@slouken
Copy link
Collaborator

slouken commented Jan 22, 2025

Great, thanks!

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 a pull request may close this issue.

2 participants