macOS: Check for macOS 10.10 using kCFCoreFoundationVersionNumber instead of AppKit (#611)

Effectivelty removes the dependency on AppKit for HIDAPI.

Fixes: #587
This commit is contained in:
Brendan Shanks
2023-08-27 07:28:01 -07:00
committed by GitHub
parent 8a4de63b56
commit 4009466d59
5 changed files with 5 additions and 8 deletions
+1 -1
View File
@@ -26,6 +26,6 @@ Pod::Spec.new do |spec|
spec.public_header_files = "hidapi/hidapi.h", "mac/hidapi_darwin.h"
spec.frameworks = "IOKit", "CoreFoundation", "AppKit"
spec.frameworks = "IOKit", "CoreFoundation"
end