我的工作就是端口BLE鼠标(蓝牙低功耗鼠标)在Mac 10.10类驱动程序到10.12 ..BLE interfce MAC OS 10.12类移植
我的旧内核扩展从IOHIDEventDriver类派生的。在info.plist中提供类是IOHIDInterfcae
当我建立上面的kext与10.12 SDK,编译完成,但在加载内核扩展我得到以下错误:
The vtable '__ZTV15CbBLEInterface' is malformed. Make sure your kext has been built against the correct headers
下面是sudo kextutil -n -print-diagnostics myble.kext
输出
Warnings: Dependency lacks appropriate value for OSBundleRequired and may not be availalble during early boot: com.apple.iokit.IOBluetoothFamily - Safe Boot com.apple.driver.IOBluetoothHIDDriver - Safe Boot