Post

Replies

Boosts

Views

Activity

Reply to How to get distribution entitlements for DriverKit on iPadOS?
@Quinn, thank you very much for quick reply! You are correct that the docs need improving here. Once you’re done, I’d appreciate you filing a bug against any docs that you found misleading. We've filled a bug - FB11700685 Once you’re done, you can request the distribution capabilities using the form you referenced.  OK. We will send another request for distribution. BTW, how we can track progress of our request rather than check email?
Topic: Code Signing SubTopic: Entitlements Tags:
Oct ’22
Reply to DriverKit: limitations of AsyncCallback in IOConnectCallAsyncStructMethod?
@Drewbadour "Communicating Between a DriverKit Extension and a Client App" shows how to transfer struct synchronously via arguments->structureOutput. However in our case we want to save arguments->completion and transfer data asynchronously when it's provided by USB device. So we have to call AsyncCompletion that has following signature void AsyncCompletion(OSAction *action, IOReturn status, const IOUserClientAsyncArgumentsArray asyncData, uint32_t asyncDataCount, OSDispatchMethod supermethod); where typedef uint64_t IOUserClientAsyncArgumentsArray[16];
Topic: App & System Services SubTopic: Drivers Tags:
Aug ’22
Reply to How to do async IO using IOUSBHostPipe?
I think it is more or less your implementation of the ioCompleteCallback function that is missing. It's because we don't know how to read data. Here is method declaration in MyDriver.iig:     virtual void ReadComplete(OSAction *action,                               IOReturn  status,                               uint32_t  actualByteCount,                               uint64_t  completionTimestamp) TYPE(IOUSBHostPipe::CompleteAsyncIO); No data is passed
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’22
Reply to Xcode 14.3: Missing code coverage for private variables in SwiftUI views
We meant update update from Xcode 14.2 to Xcode 14.3
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’23
Reply to DriverKit: Check that driver is enabled on iPadOS
Submitted request in Feedback Assistance: FB11774768
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Nov ’22
Reply to How to get distribution entitlements for DriverKit on iPadOS?
@eskimo, how long does it usually take to review entitlements request? We sent it 2 weeks ago but unfortunately didn't get any reply. Is any way to contact to review person/team and check request status?
Topic: Code Signing SubTopic: Entitlements Tags:
Replies
Boosts
Views
Activity
Nov ’22
Reply to Launch argument "-AppleLocale en_US" doesn't change measurement system(units) to "US" on MacOs
@Quinn, unfortunately launch arguments -AppleLocale en_US -AppleMetricUnits <false/> -AppleMeasurementUnits Inches no longer work on macOS Ventura. Our environment: macOs 13.0 (22A380). Xcode 14.0.1 (14A400). Could you please suggest how we can change locale on macOs 13?
Replies
Boosts
Views
Activity
Oct ’22
Reply to DriverKit logs not coming into Сonsole App
@NanoCarlos try to open Console.app and click Start. Next start(o tryr restart) your driver.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’22
Reply to How to get distribution entitlements for DriverKit on iPadOS?
OK. We will send another request for distribution. We've sent request. @Quinn any way to expedite this request?
Topic: Code Signing SubTopic: Entitlements Tags:
Replies
Boosts
Views
Activity
Oct ’22
Reply to How to get distribution entitlements for DriverKit on iPadOS?
@Quinn, thank you very much for quick reply! You are correct that the docs need improving here. Once you’re done, I’d appreciate you filing a bug against any docs that you found misleading. We've filled a bug - FB11700685 Once you’re done, you can request the distribution capabilities using the form you referenced.  OK. We will send another request for distribution. BTW, how we can track progress of our request rather than check email?
Topic: Code Signing SubTopic: Entitlements Tags:
Replies
Boosts
Views
Activity
Oct ’22
Reply to Can't get Driver properties using IORegistryEntryCreateCFProperties on iPadOS 16.1
Reported issue in Feedback Assistance: FB11609671. But Apple replies that they can't reproduce the issue
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to Can't add custom property into IORegistry on iPadOS 16
Reported Feedback assistance - FB11570579
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to IOUSBHostPipe::IO hangs on data greater than 256 bytes
It looks like it was false alarm. We found issue in our code with wrong buffer size. inPipe->IO works as expected
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to DriverKit: limitations of AsyncCallback in IOConnectCallAsyncStructMethod?
@Drewbadour "Communicating Between a DriverKit Extension and a Client App" shows how to transfer struct synchronously via arguments->structureOutput. However in our case we want to save arguments->completion and transfer data asynchronously when it's provided by USB device. So we have to call AsyncCompletion that has following signature void AsyncCompletion(OSAction *action, IOReturn status, const IOUserClientAsyncArgumentsArray asyncData, uint32_t asyncDataCount, OSDispatchMethod supermethod); where typedef uint64_t IOUserClientAsyncArgumentsArray[16];
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
Aug ’22
Reply to DriverKit on iOS - can't actually communicate with a driver in seed 1?
Workaround: I imported IOKit #import <IOKit/IOKitLib.h> into Objective-C code and successfully complied my code. But I think issue should be fixed for Swift import IOKit since using Objective-C in 2022 is not a good option.
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
Jul ’22
Reply to DriverKit on iOS - can't actually communicate with a driver in seed 1?
@eskimo, It looks like it's not fixed. I tested on Xcode - Version 14.0 beta 3 (14A5270f), macOS 12.5 Steps: Created new iOS project On General tab -> Frameworks, Libraries and Embedded Content clicked + Found and added IOKit.framework Added import IOKit in ContentView.swift Actual result: complier error - No such module IOKit
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
Jul ’22
Reply to How to do async IO using IOUSBHostPipe?
Take a look here... We reviewed sample that you mentioned. It has callbacks with different purpose and signature. For example callbacks have IOUserClientMethodArguments* arguments param to pass and get data back. So IOUSBHostPipe::CompleteAsyncIO has different signature
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’22
Reply to How to do async IO using IOUSBHostPipe?
I think it is more or less your implementation of the ioCompleteCallback function that is missing. It's because we don't know how to read data. Here is method declaration in MyDriver.iig:     virtual void ReadComplete(OSAction *action,                               IOReturn  status,                               uint32_t  actualByteCount,                               uint64_t  completionTimestamp) TYPE(IOUSBHostPipe::CompleteAsyncIO); No data is passed
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’22