Post

Replies

Boosts

Views

Activity

Reply to Is it possible to synchronously request configuration information within the Start method of DriverKit?
To alter the properties from the app, you should be able to use IORegistryEntrySetCFProperties from IOKitLib.h, but you may need to use IOConnectSetCFProperty or IOConnectSetCFProperties. To accomplish this, need to first establish a connection while the dext is running. I want to retrieve messages from an app or a file that the app has written to before the Start method is invoked. In any case, I would like to retrieve configuration information returned by the app within the Start method, which may have changed during the app's runtime. I have tried to use Mach RPC, but it seems that DriverKit does not support it. Is it possible to modify the dext's Info.plist in the app and add custom content so that it can be read in DriverKit? @ssmith_c
Topic: App & System Services SubTopic: Drivers Tags:
Oct ’23
Reply to load driver error:OSSystemExtensionErrorDomain error 9.
@eskimo IIRC that form is restricted to Individual and Organization teams. Are you a member of such a team? On the account page, it shows that my role is admin. However, I am wondering if only the Account Holder has the ability to request entitlements for DriverKit. Program Apple Developer Program Enrolled as Organization Your role Admin For example, the Capabilities tab in the App ID editor lists “DriverKit (development)” with Platform Support as iOS and macOS and Distribution Support as Development. I have accessed the App ID Editor page and enabled "DriverKit (development)" and "DriverKit USB Transport (development)" under the Capabilities tab. I have also enabled "DriverKit" and "DriverKit USB Transport - VendorID" under the Additional Capabilities tab. However, when I run the app to activate my DEXT, I receive an error message stating "The operation couldn't be completed. (OSSystemExtensionErrorDomain error 9.)"
Topic: Code Signing SubTopic: Entitlements Tags:
Sep ’23
Reply to load driver error:OSSystemExtensionErrorDomain error 9.
@eskimo "Unfortunately, even after making this change, I still received an error message regarding 'Sign to Run Locally' from the Xcode console." that means I adjusted the project signing settings by enabling automatic management of code signing and setting the signing certificate to 'Apple Development.' Despite these adjustments, I still encountered the error message The operation couldn't be completed. (OSSystemExtensionErrorDomain error 9.) Do I still need to request DriverKit entitlements from the developer website? However, when I visit https://developer.apple.com/system-extensions/, I don't see a 'request an entitlement' button. Additionally, when I access https://developer.apple.com/contact/request/system-extension/, it says 'Sorry, you cannot view this page'.
Topic: Code Signing SubTopic: Entitlements Tags:
Sep ’23
Reply to Is it possible to synchronously request configuration information within the Start method of DriverKit?
To alter the properties from the app, you should be able to use IORegistryEntrySetCFProperties from IOKitLib.h, but you may need to use IOConnectSetCFProperty or IOConnectSetCFProperties. To accomplish this, need to first establish a connection while the dext is running. I want to retrieve messages from an app or a file that the app has written to before the Start method is invoked. In any case, I would like to retrieve configuration information returned by the app within the Start method, which may have changed during the app's runtime. I have tried to use Mach RPC, but it seems that DriverKit does not support it. Is it possible to modify the dext's Info.plist in the app and add custom content so that it can be read in DriverKit? @ssmith_c
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
Oct ’23
Reply to Driverkit for filtering
Have you found a solution to this problem? I'm facing the same issue as well.
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
Oct ’23
Reply to load driver error:OSSystemExtensionErrorDomain error 9.
@eskimo IIRC that form is restricted to Individual and Organization teams. Are you a member of such a team? On the account page, it shows that my role is admin. However, I am wondering if only the Account Holder has the ability to request entitlements for DriverKit. Program Apple Developer Program Enrolled as Organization Your role Admin For example, the Capabilities tab in the App ID editor lists “DriverKit (development)” with Platform Support as iOS and macOS and Distribution Support as Development. I have accessed the App ID Editor page and enabled "DriverKit (development)" and "DriverKit USB Transport (development)" under the Capabilities tab. I have also enabled "DriverKit" and "DriverKit USB Transport - VendorID" under the Additional Capabilities tab. However, when I run the app to activate my DEXT, I receive an error message stating "The operation couldn't be completed. (OSSystemExtensionErrorDomain error 9.)"
Topic: Code Signing SubTopic: Entitlements Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to load driver error:OSSystemExtensionErrorDomain error 9.
@eskimo "Unfortunately, even after making this change, I still received an error message regarding 'Sign to Run Locally' from the Xcode console." that means I adjusted the project signing settings by enabling automatic management of code signing and setting the signing certificate to 'Apple Development.' Despite these adjustments, I still encountered the error message The operation couldn't be completed. (OSSystemExtensionErrorDomain error 9.) Do I still need to request DriverKit entitlements from the developer website? However, when I visit https://developer.apple.com/system-extensions/, I don't see a 'request an entitlement' button. Additionally, when I access https://developer.apple.com/contact/request/system-extension/, it says 'Sorry, you cannot view this page'.
Topic: Code Signing SubTopic: Entitlements Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to DriverKit crash at 0x1d4d60010 OSMetaClassBase::Invoke(IORPC) (.cold.1) + 44
I was able to resolve the problem by modifying the IOProviderClass key in my driver extension's Info.plist file. I changed the value of this key from IOUSBHostInterface to IOUSBHostDevice
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to Why can't Mac os 13.4 or xcode 14.3 build driverkit sign to run locally from xcode?
Hello, I have encountered the same problem. Have you resolved it?
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to IOUSBHostDevice: Exclusive open of usb object failed
Hi, is this problem resolved? I am also facing the same issue, after add "com.apple.vm.device-access" entitlement, click run my sandbox app, it crashed
Topic: Code Signing SubTopic: Entitlements Tags:
Replies
Boosts
Views
Activity
May ’22
Reply to IOUSBHostDevice fails and throws error in sandboxed app
Hi, is this problem resolved? I am also facing the same issue, after add "com.apple.vm.device-access" entitlement, click run my sandbox app, it crashed
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
May ’22