It's not possible to use IOUSBDeviceInterface in iPadOS 16

I'm trying to adapt this example to use it in iPadOS: https://developer.apple.com/library/archive/documentation/DeviceDrivers/Conceptual/USBBook/USBDeviceInterfaces/USBDevInterfaces.html#//apple_ref/doc/uid/TP40002645-BBIDDHCI

I'm particularly having problem when I try to use IOUSBDeviceInterface.

I'm importing #include <IOKit/IOKitLib.h>

But when I'm trying to have a method like this:

IOReturn ConfigureDevice(IOUSBDeviceInterface **dev)

I've get the error:Unknown type name 'IOUSBDeviceInterface'

I'm using  Xcode - Version 14.0 beta 3 (14A5270f)

Any ideas? Thanks

So IOUSBDeviceInterface doesn't suppose to work in iPadOS 16? if not what can I use instead?

Any idea how can I use IOUSBDeviceInterface in iPadOS 16?

Thanks

It's not possible to use IOUSBDeviceInterface in iPadOS 16
 
 
Q