The entitlement,com.apple.developer.driverkit.transport.usb, cannot take effect.


Hello,

I have requested
com.apple.developer.driverkit.transport.usb successfully, but it cannot be used according to the steps provided by Apple. The console has an error log:“Unsatisfied entitlements: com.apple.developer.driverkit.transport.usb”, has anyone encountered the same problem , If you have solved it, please tell me the solution.

Thank you
The USB transport entitlement may be a little confusing. If you want to know what the entitlement should look like, you can either quick look at your provisioning profile, or check it in the terminal with the command: 
Code Block
security cms -D -I /path-to-profile.provisionprofile

You’ll see that the format is something like:

Code Block
<key>com.apple.developer.driverkit.transport.usb</key>
<array>
<dict>
<key>idVendor</key>
<integer>1234</integer>
</dict>
<dict>

If you use that format in your entitlements file, your entitlement should work as expected.
In my provisioning profile, I can not see "com.apple.developer.driverkit.transport.usb". But in the received mail it is stated that the entitlement has been granted. No one knows why.
In order to use your vendor ID entitlement, you need to add the capability to your app identifier. In the developer portal, navigate to your identifiers and find the identifier for your driver. If you scroll to the bottom of the capabilities section, there should be an additional section called “Additional Capabilities.” This will allow you to select your vendor ID capability. Make sure to re-generate your provisioning profiles after adding this capability to your identifier.
Here is my steps:
  1. “USB Transport-VendorID” capability has been enabled when creating my dext’s App ID.

  2. Generate the new provisioning profile for my App ID and import it into Xcode. However I found "com.developer.driverkit.transport.usb" is not included listed on "additional entitlements" item. In provisioning profile, it is not include "com.apple.developer.driverkit.transport.usb".

  3. Edit my project’s entitlements file contain the following for USB Transport:

Code Block
<key>com.apple.developer.driverkit.transport.usb</key>
<array>
<dict>
<key>idProduct</key>
<integer>MyPid</integer>
<key>idVendor</key>
<integer>MyVid</integer>
</dict>
<array>

4. Sign and notarized.
5. Test my dext driver, the console log shows "unsatisfied entitlement:com.developer.driverkit.transport.usb" error.
Counld you check if my entitlements are normal? Is there any solutions?

I run in same problem now (on my first steps with DriverKit): crash after loading DEXT for unsatisfied entitlement, downloaded provisioning profiles does not contain any "USB" related string. Description of profiles on developer-area says: Enabled Capabilities DriverKit USB Transport - VendorID, In-App Purchase.

So my question is: Did you find a final solution?

I'm also experiencing same issue. I can see "com.apple.developer.driverkit.transport.usb" and "com.apple.developer.driverkit" in provisioning profiles by using security cms command. Do you have any solutions?

The entitlement,com.apple.developer.driverkit.transport.usb, cannot take effect.
 
 
Q