I’m new to macOS DriverKit development, after several days survey, watching System Extensions and DriverKit and several videos in apple.com, tried every DriverKit sample code that I can find, survey the developer forums, read the document about the [DriverKit]. I have a developer account, and build Identifiers and Profiles for sample projects.
I follow the Sample Code Handling Keyboard Events from a Human Interface Device, build successfully, but got a error message when running
/Applications/Xcode.app/Contents/Developer/Library/Frameworks/DriverKit.framework:
No such file or directory (in target ‘HIDKeyboardApp’ from project
‘HIDKeyboardDriver’)
ChatGPT tell me, DriverKit.framework should be in the system folder, but I can not find any.
/System/Library/PrivateFrameworks
My question is how to install DriverKit to my system?
Here is the environment: macOS Big Sur (11.7.10), Xcode 13.2.1, MacBook Pro(Retina 13″ 2013 Late).
Thanks in advanced.