My xcframework SDK was bundled with Xcode 16 and I still got this warning when shipped the app to the TestFlight, which maybe just a bug or another annoying waring.
Post
Replies
Boosts
Views
Activity
I have filed FB14957989 with logs and reproduce steps, also tried workarounds from TN3158 and your response on 771548022.
But it seems like these workaround was mainly for developers who need cable connection instead of 'wifi build'
As the only iOS engineer in our team, I need to debug our MFi accessories via network, but it's seems like there's no workaround for wifi connect build for iOS 17.2 device.
The Xcode 15 supports the iOS 14 simulator, however, the iOS 14 simulator may not supported by macOS.
You can try to open a specified simulator manually:
Boot any simulator, and in Simulator app's File/ New Simulator/ choose preferred iOS version and device model.
[quote='790467022, DTS Engineer, /thread/756657?answerId=790467022#790467022']
On iOS (as opposed to iPadOS) there are only two ways to work with accessories over USB:
[/quote]
Thanks eskimo, your reply is pretty straightforward and that's what I need!
Last I checked that requires you to build your accessory to support MFi.
Yes, and the previous accessory was released successfully, appreciate that :-)
We're planning our new module for USB-C iPhone, and I need to evaluate every possibility for bridging an iOS device and our new barcode reader for our team, just some context :))
We're building a scanner device for iPhone15 , which can be a HID input for software keyboard, and have a USB-C port for iPhone to connect, and user can config the scanner from iOS app.
I noticed the DriverKit, IOKit and USBDriverKit are not support iOS, is there any alternatives besides join MFi program?
The External Accessory framework is only available for MFi licensed devices, right?
Thanks @DTS Engineer ! So there are no other alternatives besides the MFi program if I want to build communication over USB-C for iOS and a keyboard HID device?"
The keyboard extension works fine on China region MDM devices, which can be accessed not only by main app, but native app, ie,. Safari, Note..etc.
However, same keyboard extension can only been accessed by the main app on Taiwan region MDM devices, other app doesn't list our keyboard in the keyboard list.
I'm manage to pass parameters to userInfo with one of following methods:
// one of following methods can prevent crash issue on iPhone8 with iOS 14.6
// 1.
let userInfo: [String : Any] = [ConstValue.connectState:connectState,ConstValue.serialNumber:serialNumber]
NotificationCenter.default.post(name: Notification.Name(Global.HomeDeviceStateChange), object: nil, userInfo: userInfo)
// 2.
NotificationCenter.default.post(name: Notification.Name(Global.HomeDeviceStateChange), object: nil, userInfo: [ConstValue.connectState:connectState, ConstValue.serialNumber:serialNumber])
However it's still unclear why the original method would cause crash on iPhone8 with iOS14.6?
//This method would cause crash on iPhone8 with iOS 14.6
var userInfo: [String: Any] = [:]
userInfo[ConstValue.connectState] = connectState
userInfo[ConstValue.serialNumber] = serialNumber
NotificationCenter.default.post(name: Notification.Name(Global.HomeDeviceStateChange), object: nil, userInfo: userInfo)
There's a workaround that you can specify passcode require time of iOS device: go to settings/Face ID&Passcode/ Require Passcode.
Here you set a time to active passcode
Not fixed in Xcode 13.4.1(13F100) and build setting iOS13, with physical iOS 15.6.1 device.
When app load UIInputViewController: [AXRuntimeCommon] Unknown client:
After dismiss UIInputViewController, this shows up and app crash:
[AXRuntimeCommon] AX Lookup problem - errorCode:1100 error:Permission denied portName:'com.apple.iphone.axserver' PID:43614