Conclusion: iOS 17, with iPhone 15 Pro Max, does not support DriverKit drivers.
More info:
I published an updated and fixed example project that works to install and use a DriverKit driver for both macOS and iPadOS.
I created a new branch and added iOS as a supported destination, but it did not work the same as it did on iPad.
You don't have any control over driver installation on iPad, you simply enable iPad as a destination, setup a settings bundle, and iPadOS finds, installs, and surfaces the switch to enable your driver in your application's settings at the iOS level. That process does not happen on iOS, see the images for the iPad settings bundle, and then iOS-- it is simply missing on iPhone.
https://github.com/DanBurkhardt/DriverKitUserClientSample/tree/ios-support-testing
Even if you successfully compile and run a target that embeds a working DriverKit driver to your iPhone, the driver will never be seen or installed upon app installation by the system (as of Oct 2023, iPhone 15 Pro Max, iOS 17).
(iOS, no driver setting)
(iPadOS, driver setting toggle enabled)
Topic:
App & System Services
SubTopic:
Hardware
Tags: