Hi, I am trying to run an example driver project from https://developer.apple.com/documentation/driverkit/communicating_between_a_driverkit_extension_and_a_client_app?language=objc
The project compiles fine, the driver extension is successfully installed and running, however when the client application tries to communicate with the driver (calls IOConnectCallScalarMethod CppUserClient/main.cpp, line 236), the driver crashes, even though there are no modifications of the example code. Does anybody know how to fix it?
The project doesn't use any provisioning profile, all three targets are signed to run locally as described in the link.
My system:
-
MacOS 11.5.2 BigSur
-
Apple M1 chip
-
XCode 13.2.1
-
System Integrity Protection status: disabled.
-
systemextensionsctl developer: Developer mode is on
-
also ran command "sudo nvram boot-args=-arm64e_preview_abi"