iPadOS DriverKit null driver deploys, but fails to spawn

You don't seem to be able to provision USB or PCI iPad DriverKit drivers, so I tried the null driver which requires only the driverkit entitlement, which can be automatically managed by the Xcode 14 beta.

I can get it to deploy, but when it is enabled or when it matches, I see errors like "job failed to spawn,"

Error Domain=RBSRequestErrorDomain Code=5 "Launch failed." UserInfo={NSLocalizedFailureReason=Launch failed., NSUnderlyingError=0x105706980 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" UserInfo={NSLocalizedDescription=Launchd job spawn failed}}}

I wonder why that happens for me but didn't happen in the demo.

Replies

Not resolved in iPadOS 16 beta 2

This is resolved in iPadOS 16 beta 3.