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...)
When compiling the iOS SDK as part of a Mac Catalyst app, the selector
int32Value
is ambiguous, because it's defined both byNSNumber
as well asNSAppleEventDescriptor
(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 addNSNumber
instances to the array...)