Can't swipe on iOS Real Device

Hi My Environment is
appium 2.5.4 (xcode version 15.4)
katalon Studio version 9.4.0 (free ARM64)
Mac OS Sonoma 14.5 / iOS Real device : iPhone 14pro max 17.4.1

I can’t using ‘Mobile.swipe()’ on iOS real device
even I tried
“Mobile.swipe(200, 650, 200, 150)”

and this is error code
2024-05-30 11:24:21.623 ERROR c.k.k.core.keyword.internal.KeywordMain - :x: Cannot swipe on device. (Root cause: com.kms.katalon.core.exception.StepFailedException: Cannot swipe on device.
at com.kms.katalon.core.mobile.keyword.internal.MobileKeywordMain.stepFailed(MobileKeywordMain.groovy:38)
at com.kms.katalon.core.mobile.keyword.internal.MobileKeywordMain.runKeyword(MobileKeywordMain.groovy:21)
at com.kms.katalon.core.mobile.keyword.builtin.SwipeKeyword.swipe(SwipeKeyword.groovy:71)
at com.kms.katalon.core.mobile.keyword.builtin.SwipeKeyword.execute(SwipeKeyword.groovy:66)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:74)
at com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords.swipe(MobileBuiltInKeywords.groovy:192)
at swipe.run(swipe:22)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:448)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:439)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:418)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:410)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:285)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:137)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:128)
at TempTestCase1717035820340.run(TempTestCase1717035820340.groovy:25)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

How do I solve this problem?

1 Like

Hi there,

Thank you very much for your topic. Please note that it may take a little while before a member of our community or from Katalon team responds to you.

Thanks!

Hi @sqe.kdnavien,

Welcome to our community. I found this guidance on your issue: Unable to perform Swipe action after upgrading to Appium 2.x | Katalon Docs. Please take a look and let me know if it works/ does not work. :wink:

2 Likes

Thank you, I can using ‘Mobile.Swipe’
It was xcuitest version issue, I used 7.16.2

1 Like