Xcode: Link kernel framework to kernel extension?

I am attempting to write a kernel extension (kext) that uses some parts of the Kernel framework.

I added Kernel.framework to the list of Frameworks and Libraries in the target settings.

However, when I try to build my kext and link against it, Xcode refuses to do this and claims to not be able to find the framework, even though it had shown up in the list of available frameworks.

Am I doing this wrong? Is it not possible to use this framework even for kexts?



Read more here: https://stackoverflow.com/questions/64418393/xcode-link-kernel-framework-to-kernel-extension

Content Attribution

This content was originally published by Bytopo at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: