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

fix build issue on Mac Catalyst #485

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lukaskollmer
Copy link

When compiling the iOS SDK as part of a Mac Catalyst app, the selector int32Value is ambiguous, because it's defined both by NSNumber as well as NSAppleEventDescriptor (which isn't available on iOS, hence why everything works fine when compiling for that).

This PR fixes this issue, thereby adding the ability for Mac Catalyst applications to use the SDK and connect to polar devices.

(We know that the NSNumber cast is fine, bc we only ever add NSNumber instances to the array...)

@samulimaa samulimaa force-pushed the master branch 2 times, most recently from 0ade256 to 7c821ca Compare September 4, 2024 07:14
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.

2 participants