2 symbols not found in any library kext

I just updated the version of Xcode I was using to build a KEXT project. I needed to run kextlibs on the Kext in order to update the OSBundleLibraries key in the Info.plist for the KEXT. When I do this, I get the following output:


For all architectures:
    com.apple.iokit.IOSerialFamily = 11.0
    com.apple.iokit.IOUSBHostFamily = 1.2
    com.apple.kpi.iokit = 18.7
    com.apple.kpi.libkern = 18.7

For x86_64:
    2 symbols not found in any library kext:
  __ZN9IOService8DispatchE5IORPC
  __ZN15OSMetaClassBase8DispatchE5IORPC


When I run the two symbols that were not found through the demangler, it is telling me they are:

IOService::Dispatch(IORPC)

and

OSMetaClassBase::Dispatch(IORPC)


I double checked to make sure that I had not made any code changes - the only change is moving to Xcode Version 11.2.1 (11B500).


I would appreciate any ideas as to how I can solve this issue.

Replies

I was able to solve the issue (temporarily) by switching back to Xcode 10.3.

These symbols are related to the new I/O Kit infrastructure needed to support DriverKit. I do not know enough this to offer any great insight, alas. If no one else chimes in, my recommendation is that you open a DTS tech support incident and talk with our DriverKit specialist.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"