I'm developing the following files.
- driver.dext: User-mode driver
- Driver.app: Application to install the user-mode driver
I created new App IDs and provisioning profiles for the executable files. And I added the keys and values of the entitlements.
I set the certificates, provisioning profiles and entitlement files in Xcode. The build in Xcode succeeded and the notarization also succeeded by command. But a crash occurs when I execute Driver.app. The crash log says the following message.
Termination Reason: Namespace CODESIGNING, Code 0x01
I tried security command and the output shows that the Provisioning Profile lacks the DriverKit USB transport entitlement. But I confirmed the App ID with the DriverKit USB transport capability has the bundle ID, and that the provisioning profile for the dext has the identical bundle ID in the App ID section.
Do you have any solution about it?
from the security command for Driver.app:
<key>Entitlements</key>
<dict>
<key>com.apple.developer.driverkit</key>
<true/>
<key>com.apple.developer.system-extension.redistributable</key>
<true/>
<key>com.apple.developer.driverkit.allow-any-userclient-access</key>
<true/>
<key>com.apple.developer.driverkit.userclient-access</key>
<true/>
<key>com.xxxx.driver.xxxxDriver</key>
<true/>
<key>com.apple.application-identifier</key>
<string>xxxxxxxx.***.xx.driver.***</string>
<key>keychain-access-groups</key>
<array>
<string>xxxxxx.*</string>
</array>
<key>com.apple.developer.team-identifier</key>
<string>xxxxxx</string>
</dict>