添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

Hi Chris_Trevarthen

I took an exception from Katalon Studio when ı run start the mobile record.
I really spent too much time to fix it but unfortunately I could not cope with the problem becasue I could not understood the root cause actually, So when I looking for solution from this forum I feced with your answers and I think you can help me about the problem.

I’m using the followings:
appium version: 1.17.1
xcode: 11.5
katalon studio: 7.5.10
I seen your answer to another guy about the support of xcode and appium so on and you suggest yo install appium 1.8.1 but I tried it as well. Unfortunately it does not solve my problem.
On the other hand I can start emulator with appium version 1.17.1, xcode version 11.4 two weeks ago! But when I upgrade xcode version to 11.5 it doesn’t work. Even though I reinstall xcode version 11.4 I never make it to run in any case!

This is the error log:

java.util.concurrent.ExecutionException: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Simulator architecture is unsupported by the ‘/Users/veyselkayaturk/Documents/son ipalar/e-Devlet.app’ application. Make sure the correct deployment target has been selected for its compilation in Xcode.

Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’

System info: host: ‘Veysels-MacBook-Pro.local’, ip: ‘fe80:0:0:0:8ad:d04a:c557:a115%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.15.2’, java.version: ‘1.8.0_181’

Driver info: driver.version: IOSDriver

remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Simulator architecture is unsupported by the ‘/Users/veyselkayaturk/Documents/son ipalar/e-Devlet.app’ application. Make sure the correct deployment target has been selected for its compilation in Xcode.

at getResponseForW3CError (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:804:9)

at asyncHandler (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:392:37)

Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’

System info: host: ‘Veysels-MacBook-Pro.local’, ip: ‘fe80:0:0:0:8ad:d04a:c557:a115%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.15.2’, java.version: ‘1.8.0_181’

Driver info: driver.version: IOSDriver

at com.kms.katalon.composer.components.impl.dialogs.ProgressMonitorDialogWithThread.runAndWait(ProgressMonitorDialogWithThread.java:49)

at com.kms.katalon.composer.mobile.objectspy.components.MobileLocalAppComposite$12.run(MobileLocalAppComposite.java:474)

at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)

Caused by: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Simulator architecture is unsupported by the ‘/Users/veyselkayaturk/Documents/son ipalar/e-Devlet.app’ application. Make sure the correct deployment target has been selected for its compilation in Xcode.

Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’

System info: host: ‘Veysels-MacBook-Pro.local’, ip: ‘fe80:0:0:0:8ad:d04a:c557:a115%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.15.2’, java.version: ‘1.8.0_181’

Driver info: driver.version: IOSDriver

remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Simulator architecture is unsupported by the ‘/Users/veyselkayaturk/Documents/son ipalar/e-Devlet.app’ application. Make sure the correct deployment target has been selected for its compilation in Xcode.

at getResponseForW3CError (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:804:9)

at asyncHandler (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:392:37)

Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’

System info: host: ‘Veysels-MacBook-Pro.local’, ip: ‘fe80:0:0:0:8ad:d04a:c557:a115%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.15.2’, java.version: ‘1.8.0_181’

Driver info: driver.version: IOSDriver

at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:208)

at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:217)

at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239)

at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)

at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)

at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)

at io.appium.java_client.ios.IOSDriver.execute(IOSDriver.java:1)

at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)

at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)

at io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:38)

at io.appium.java_client.AppiumDriver.(AppiumDriver.java:84)

at io.appium.java_client.ios.IOSDriver.(IOSDriver.java:85)

at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:496)

at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:480)

at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.startLocalMobileDriver(MobileDriverFactory.java:517)

at com.kms.katalon.composer.mobile.objectspy.dialog.MobileInspectorController.startMobileApp(MobileInspectorController.java:192)

at com.kms.katalon.composer.mobile.objectspy.components.MobileLocalAppComposite$12$1.call(MobileLocalAppComposite.java:479)

at com.kms.katalon.composer.components.impl.dialogs.ProgressMonitorDialogWithThread.startThreadAndWait(ProgressMonitorDialogWithThread.java:36)

at com.kms.katalon.composer.components.impl.dialogs.ProgressMonitorDialogWithThread.runAndWait(ProgressMonitorDialogWithThread.java:48)

… 2 more

Caused by: java.lang.reflect.InvocationTargetException

at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:186)

… 20 more

Caused by: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Simulator architecture is unsupported by the ‘/Users/veyselkayaturk/Documents/son ipalar/e-Devlet.app’ application. Make sure the correct deployment target has been selected for its compilation in Xcode.

Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’

System info: host: ‘Veysels-MacBook-Pro.local’, ip: ‘fe80:0:0:0:8ad:d04a:c557:a115%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.15.2’, java.version: ‘1.8.0_181’

Driver info: driver.version: IOSDriver

remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Simulator architecture is unsupported by the ‘/Users/veyselkayaturk/Documents/son ipalar/e-Devlet.app’ application. Make sure the correct deployment target has been selected for its compilation in Xcode.

at getResponseForW3CError (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:804:9)

at asyncHandler (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:392:37)

at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$errorHandler$0(W3CHandshakeResponse.java:62)

at org.openqa.selenium.remote.HandshakeResponse.lambda$getResponseFunction$0(HandshakeResponse.java:30)

at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:126)

at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:128)

… 21 more

I would be grateful if you suggest a solution.
Thanks
Veysel Kayaturk

To resolve java.util.concurrent.ExecutionException: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session, you have to follow below steps

• Upgrade Appium server version
• Remove io.appium.uiautomator2.server.test and appium.uiautomator2.server from your devices.
adb uninstall io.appium.uiautomator2.server.test
adb uninstall appium.uiautomator2.server
• Delete folder C:Users//<user_folder>/.katalon/tools/android_sdk and let Katalon download again

watch the below video for detail explaination
@manikanta.reddy
Thank you so much for your solution.
The problem is same but I took the error on IOS emulators, your solution is focused on Android emulators or devices. So it doesn’t solve my problem unfortunately, but I’m sure you can give me the correct solution for this error

I would be grateful if you suggest a solution.
Thanks
Veysel Kayaturk

Hi veysel,

Sorry i didn’t check your reply.

I didn’t work on IOS, so don’t have much knowledge.
But from the error, i see below line and suspect compatibility issue. Did you try installing manually on the simulator? is it successful?

“Simulator architecture is unsupported by the ‘/Users/veyselkayaturk/Documents/son ipalar/e-Devlet.app’ application”

Thanks,