Swipe and Tap functionality not working after upgrade to Xcode 16

After upgrading my Xcode version to 16.2, the swipe and tap functionalities are no longer working.

I have tried:

  • Upgrading Katalon to 10.1.0
  • Upgrading Xcuitest to 7.21.1 and above
  • Using a variety of simulated iOS devices
  • Upgrading and downgrading appium to 2.16 and 2.11.1
  • Using TouchAction with PointerInput interactions
  • Using katalon-mobile-util library

Nothing seems to be working. I am consistently receiving the following error:

=============== ROOT CAUSE =====================
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 0x600002c07480
================================================

Test Cases/myTest FAILED.
Reason:
com.kms.katalon.core.exception.StepFailedException: Failed to tap at [100, 200]
	at com.kms.katalon.core.mobile.keyword.internal.MobileKeywordMain.stepFailed(MobileKeywordMain.groovy:64)
	at com.kms.katalon.core.mobile.keyword.internal.MobileKeywordMain.runKeyword(MobileKeywordMain.groovy:34)
	at com.kms.katalon.core.mobile.keyword.builtin.TapAtPositionKeyword.tapAtPosition(TapAtPositionKeyword.groovy:69)
	at com.kms.katalon.core.mobile.keyword.builtin.TapAtPositionKeyword.execute(TapAtPositionKeyword.groovy:61)
	at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:74)...

Specs

*Operating System
MacOS

*Katalon Studio version
Version 10.1.0

Environment (for Mobile Testing)
Appium version: 2.11.1

Xcuitest version: 7.21.1+

Mobile platform/version under test: iOS 17.5 and iOS 18.3

Simulator: iPhone 15 and iPhone 16

Xcode version: Xcode 16.2

1 Like

Hi there, and thanks for posting in the Katalon community! :hugs:

To help you faster, please review our guide on Swipe here:

Double-checking the steps and configurations might resolve the issue.

If the doc doesn’t help, feel free to provide more details, and a community member will assist you soon. Thanks for being a part of our community!

Best,
Albert Le

Hi @sean.grecco,

Thank you for sharing the issue. I will ask my team about this and back to you soon

Hi @Elly_Tran,

Any update on this issue?

@sean.grecco swipe functionality is working for me on xcode 16 with iOS 15-18 on real devices. I am using a slightly older version of Katalon v10.0.0.

I am using Appium 2.12.1 and xcuitest version 7.32.0

Can you try upgrading appium and the driver to see if that fixes your issue? I believe the driver version is what fixed swiping for me previously.

Solution

@kreno Thank you for your response. It prompted me to take a deeper dive into my driver list.

The issue was based on the my APPIUM_HOME path variable. Katalon was using an older version of appium and xcuitest I had installed in a different location before the Xcode 16 update.

By modifying my APPIUM_HOME path to the new location, I was able to update the appium to 2.16.2 and xcuitest driver to 7.32.0. Swipe and Tap functionalities are now working.

1 Like