We meant update update from Xcode 14.2 to Xcode 14.3
Post
Replies
Boosts
Views
Activity
Submitted request in Feedback Assistance: FB11774768
@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?
@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?
@NanoCarlos try to open Console.app and click Start. Next start(o tryr restart) your driver.
OK. We will send another request for distribution.
We've sent request. @Quinn any way to expedite this request?
@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?
Reported issue in Feedback Assistance: FB11609671. But Apple replies that they can't reproduce the issue
Reported Feedback assistance - FB11570579
It looks like it was false alarm. We found issue in our code with wrong buffer size. inPipe->IO works as expected
@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];
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.
@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
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
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