The actual error seems to be hidden, and only "private" is displayed. I noticed that the same thing happens if a formatting string for string types is used in log messages, obviously due to security reasons.
2022-05-24 08:46:16.759215+0200 0xfff2 Default 0x0 0 0 kernel: (com.mycompany.mydriver) <private>
Another error is logged when the driver tries to access a file outside of the bundle path. But this is irrelevant, as you say that only files inside the bundle are accessible.
2022-05-24 08:46:16.759301+0200 0xfff2 Error 0x0 0 0 kernel: (Sandbox) Sandbox: com.mycompany.mydriver(5517) deny(1) file-read-data /Library/Application Support/mycompany/cooldriver/configfile.conf
Opening the Info.plist doesn't work for me. Should be specified a full or a relative path? Passing a full path is a bit tricky, as I do not have control over the path from which the driver runs (according to Activity monitor: /Library/SystemExtensions//com.mycompany.mydriver.dext/com.mycompany.mydriver) after it is installed.
Topic:
App & System Services
SubTopic:
Drivers
Tags: