Wait For Quiescence Including Animations Idle unrecognized selector sent to instance error when executing mobile test

My Xcode was updated to install the iOS 18 simulator apps and my device OS was updated to iOS 17.7 after which I am seeing strange issues with my mobile test scripts. At first orientation change code started throwing this very error. I was able to ignore that exception and continue, but it looks like this error now comes up on subsequent test steps. Has anyone come across such an error before?

Caused by: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: -[XCUIApplicationProcess waitForQuiescenceIncludingAnimationsIdle:]: unrecognized selector sent to instance 0x301a18900

Build info: version: β€˜3.141.59’, revision: β€˜e82be7d358’, time: β€˜2018-11-14T08:25:53’

System info: host: β€˜', ip: '’, os.name: β€˜Mac OS X’, os.arch: β€˜aarch64’, os.version: β€˜14.6.1’, java.version: β€˜17.0.7’

Driver info: io.appium.java_client.ios.IOSDriver

Capabilities {automationName: XCUITest, browserName: , bundleId: xxx, databaseEnabled: false, deviceId: , deviceName: iPhone 13, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: false, newCommandTimeout: 1800, platform: MAC, platformName: iOS, platformVersion: 17.7, takesScreenshot: true, udid: xxxx, useJSONSource: true, waitForAppScript: true;, waitForQuiescence: true, wdaLocalPort: 62986, webStorageEnabled: false}

Katalon studio: 9.4.0
uiautomator2@2.45.1
xcuitest@5.14.1
appium: 2.5.4

1 Like

Hi there, :wave:

Thank you very much for your topic! It may take a little while before Katalon team member or others forum members respond to you.

In the meantime, you can double-check your post to see if you can add any extra information i.e. error logs, HTML codes, screenshots, etc. Check out this posting guide to help us help you better!

Thanks! :sunglasses:
Katalon Community team

@puranik Had the same issue, fix found on the page :slight_smile:

What I did:

  1. Uninstall Xcode
  2. Install Xcode 16.1 beta 2 (Sign In - Apple)
  3. uninstall appium, xcuitest, and WDA
  4. install appium, xcuitest and started new WDA
  5. Remove WDA from the iphone
  6. Run the test to get a new WDA on IOS device

After those steps I did not get the error again

1 Like

Hi @puranik,

Can you please help try the solution that @nesa984 has suggested and let us know if it solved?

Hi @Elly_Tran
I tried the steps shared by @nesa984 and unfortunately that did not solve the issue for me.

Thanks!

1 Like

I have the same problem, and after performing the steps you provided, this is the error that I’m getting in the InteliJ console: Original error: An unknown server-side error occurred while processing the command. Original error: Could not determine Xcode version: undefined. Can you please let me know if the problem can be solved somehow? I am using appium, xcuitest driver, java, JUnit for the UI automation testing with iOS devices.

Hi @nesa984
Which version of Katalon Studio and xcuitest are you using?

We are on Katalon Studio 9.7.2 and the fix is available in latest xcuitest which is 7.x whereas Katalon studio 9.7.2 only supports xcuitest 5.x.

@Elly_Tran

Thanks!

1 Like