I've got an iPadOS project where I'm using a C++ class to work with devices connected via USB. This class uses IOServiceMatching
among other methods.
I'm trying to convert the C++ class to Swift but when I'm try to use IOServiceMatching
it doesn't find it, so I thought the problem would be importing the module IOKit
When I import it with import IOKit
I get No such module IOKit
I know the framework is imported fine because I'm using it in C++ and the functionality in C++ works fine.
am I missing something?