Hang issue when creating sessions on iOS 17 devices with Xcode 15+

Hello everyone,

I’m seeing an intermittent hang when attempting to create a new session on iOS devices running iOS 17 with Xcode 15 or later. I’m wondering if anyone else has experienced the same problem.

To elaborate, one of the following devicectl commands occasionally fails to get any response from the device, causing Appium to wait indefinitely (with no additional logs):

•	xcrun devicectl device info processes
•	xcrun devicectl device process launch

I’ve installed WebDriverAgent separately (using the AppiumDeviceFarm plugin), and when building the .ipa , I remove all XC*.framework folders before packaging.

It doesn’t seem to be an Appium or XCUITest driver issue—I suspect it’s on the iOS side, since the devicectl process keeps running while waiting for the device’s response.

I couldn’t find any information about this online. It tends to occur more often when running tests in parallel. Has anyone else run into this or found a workaround?

Thanks in advance for any insights!

I don’t have an answer for you but I think you should try using capability ‘showIOSLog’ set to True and see if some additional logging might point you in the right direction.