Post not yet marked as solved
Post marked as unsolved with 1 replies, 523 views
Hello!
I'm curious about how com.apple.developer.hid.virtual.device entitlement works with apps. So the documentation hints that it should only be used within a driver. However, on macOS 13 I can successfully compile an app and create a virtual HID device.
On earlier versions, such as macOS 12, the app crashes on launch and there's a message in the console:
ASI found [libsystem_secinit.dylib] (sensitive) 'failed to compile sandbox profile
/System/Library/Sandbox/Profiles/application.sb:1010:15: unbound variable:
iokit-user-client-class-name
'
Everything seems to be working with the sandbox turned off. Is there a way to use the aforementioned entitlement in a sandboxed app or should I fall back to DriverKit?