IOServiceOpen returns when the executable is signed

I am trying to use IOKIT library in an executable in my project. When the executable is signed, IOServiceOpen method returns error code : e00002c2 ((iokit/common) invalid argument).

But if the code signing is removed then it works fine. Could you please let me know if I am missing some entitlements to make this work.

What service are you trying to open?

Share and Enjoy

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

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

trying to communicate to a KEXT

Your KEXT?

Share and Enjoy

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

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

yes, using IO KIT library calls to communicate to our KEXT

Well that’s weird. I’ve no idea what’s going here. My recommendation is that you open a DTS tech support incident so that I, or one of my colleagues, can take an in-depth look.

Share and Enjoy

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

let myEmail = "eskimo" + "1" + "@apple.com"
IOServiceOpen returns when the executable is signed
 
 
Q