Hi colleagues,
I am trying to learn macOS kext programming. After some researches I've made a very simple IOKit kext which works. Now I want to try to make a command line client that could communicate with this kext. I created a new project in XCode as a C++ "Command Line Tool" and "HelloWorld" example compiles and builds fine. But, when I add #include <IOKit/IOLib.h>, I immediately got an error "File not found". I have added IOKit.framework to the "Frameworks and Libraries" but have no idea what to do next. Please help. I'd also appreciate any links with examples and/or documentation about how to make a simple kext and client for it.
Thank you