How to set `com.apple.developer.driverkit.transport.usb` entitlement?

前端 未结 1 640
陌清茗
陌清茗 2020-12-19 23:47

I am unsure about how to set the com.apple.developer.driverkit.transport.usb key in my dext entitlements file. The Info.plist file already contains the IO

1条回答
  •  旧巷少年郎
    2020-12-20 00:15

    My understanding is you need to effectively list your vendor/device ID matching criteria - that is, use one of these 3 patterns:

    com.apple.developer.driverkit.transport.usb
    
        
            idProduct
            123
            idVendor
            1234
        
        
            idProduct
            1024
            idProductMask
            65504
            idVendor
            1234
        
        
            idProductArray
            
                12345
                23456
                34567
            
            idVendor
            1234
        
    
    

    To be clear, that means the entitlement must be of the type array -> dictionaries.

    NB: Apple still haven't approved my client's DriverKit entitlements request after ~4 weeks, so I'm still operating with development signing and parts of SIP disabled, but at least with the above, I don't get any complaints about invalid com.apple.developer.driverkit.transport.usb entitlements in the system log (which I very much do with ).

    I assume any idVendor values listed must also be embedded in your signing certificate by Apple when it comes to distribution signing.

    0 讨论(0)
提交回复
热议问题