Post

Replies

Boosts

Views

Activity

Reply to Xcode 15.3 device connection issues
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.
Sep ’24
Reply to Proper way to use IOKit in iOS app?
[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 :))
Topic: App & System Services SubTopic: Drivers Tags:
Jun ’24
Reply to Can iOS communicates with a non-MFi 3rd party device over USB-C?
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?
Jun ’24
Reply to Pass an enum to notification userInfo in would lead to crash in iOS 14.6
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)
Topic: App & System Services SubTopic: General Tags:
Apr ’24
Reply to Unable to access web view & text fields in SFSafariViewController UI test with Xcode 11.3
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
Oct ’22
Reply to Xcode 15 will not connect to ios17 device via network
You can try to enable your personal host for your dev mac and destination iOS device to connect, it work for me.
Replies
Boosts
Views
Activity
Mar ’25
Reply to Upload Symbols Failed on Xcode 16
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.
Replies
Boosts
Views
Activity
Oct ’24
Reply to Xcode 15.3 device connection issues
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.
Replies
Boosts
Views
Activity
Sep ’24
Reply to How to download iOS 14 Simulator on Xcode 15?
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.
Replies
Boosts
Views
Activity
Jul ’24
Reply to Proper way to use IOKit in iOS app?
[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 :))
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
Jun ’24
Reply to Can iOS communicates with a non-MFi 3rd party device over USB-C?
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?
Replies
Boosts
Views
Activity
Jun ’24
Reply to Proper way to use IOKit in iOS app?
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?"
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
Jun ’24
Reply to How to make keyboard extension available for a MDM 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.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
May ’24
Reply to Pass an enum to notification userInfo in would lead to crash in iOS 14.6
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)
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’24
Reply to iOS 15 - UI Test keeps asking pin code for "Enable UI Automation"
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
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jan ’24
Reply to Unable to access web view & text fields in SFSafariViewController UI test with Xcode 11.3
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
Replies
Boosts
Views
Activity
Oct ’22