macOS: Check for macOS 10.10 using kCFCoreFoundationVersionNumber instead of AppKit #611
No reviewers
Labels
No labels
3rdparty
Android
API
Author does not respond
bsd
bug
build system/CI
ci-virtual-device
CMake
Contributions Welcome
Core
dependencies
device-specific
documentation
don't_merge
duplicate
enhancement
Example
Haiku
hidraw
hotplug
info required
invalid
libusb
macOS
Misc
Not an issue
question
Release
Test
Test GUI
Windows
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-libusb/hidapi!611
Loading…
Reference in a new issue
No description provided.
Delete branch "no_appkit"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes: #587
This looks perfect.
@nguyen-phillip can you confirm this fixes the issue in your environment?
Yes, this should work -- the issue only manifests when linked against AppKit. Thanks!
Would you be able to actually run and check?
Thanks.
We've patched out this version check entirely as we don't need to support macOS predating 10.10. However the minimal repro code for the (still open) Apple bug only has problems when AppKit is linked in. CoreFoundation and IOKit are fine.
I wasn't able to reproduce the original #587 with current master. Maybe because I'm using M2 mac machine. Thus I cannot confirm if it really fixes the original issue or not.
@mrpippy can you confirm that you had the original issue reproduced locally and not reproducible after this change?
In any case - this make one dependency less compared to "before" which is a great thing on its own.