Simulator architecture is unsupported by and Make sure the correct deployment target has been selected for its compilation in Xcode

  • Katalon Studio Version: 7.6.2
  • OS Version: 10.15.3 (Catalina)
  • X code Version: 11.5

Steps to Reproduce:

  1. Select iOS device from Katalon Device Name
  2. It will through error

Expected behavior:
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 ‘/var/folders/34/8l6d4p8518j9rt3_4jtxxf5h0000gp/T/Katalon/Appium/Temp1597662793728/2020717-1379-12gcp6l.t1s4/Aspire Lifestyles.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: ‘APPLEs-Mac-mini.local’, ip: ‘192.168.0.8’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.15.3’, 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 ‘/var/folders/34/8l6d4p8518j9rt3_4jtxxf5h0000gp/T/Katalon/Appium/Temp1597662793728/2020717-1379-12gcp6l.t1s4/Aspire Lifestyles.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:381:37)

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

System info: host: ‘APPLEs-Mac-mini.local’, ip: ‘192.168.0.8’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.15.3’, 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 ‘/var/folders/34/8l6d4p8518j9rt3_4jtxxf5h0000gp/T/Katalon/Appium/Temp1597662793728/2020717-1379-12gcp6l.t1s4/Aspire Lifestyles.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: ‘APPLEs-Mac-mini.local’, ip: ‘192.168.0.8’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.15.3’, 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 ‘/var/folders/34/8l6d4p8518j9rt3_4jtxxf5h0000gp/T/Katalon/Appium/Temp1597662793728/2020717-1379-12gcp6l.t1s4/Aspire Lifestyles.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:381:37)

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

System info: host: ‘APPLEs-Mac-mini.local’, ip: ‘192.168.0.8’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.15.3’, 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:527)

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

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 ‘/var/folders/34/8l6d4p8518j9rt3_4jtxxf5h0000gp/T/Katalon/Appium/Temp1597662793728/2020717-1379-12gcp6l.t1s4/Aspire Lifestyles.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: ‘APPLEs-Mac-mini.local’, ip: ‘192.168.0.8’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.15.3’, 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 ‘/var/folders/34/8l6d4p8518j9rt3_4jtxxf5h0000gp/T/Katalon/Appium/Temp1597662793728/2020717-1379-12gcp6l.t1s4/Aspire Lifestyles.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:381: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

Screenshots:

What type of your devices simulator or real devices, and type of your app as well: .app or .ipa?
If you have real devices, you should run with .ipa file.
If you have simulators, you should run with .app file.

Hi Duyluong,

Thanks for quick response.

Device : iPhone 6 pro (simulator)
App type : .ipa

Hi @santhosh.saven,

Simulators can only run with the .app file. You should ask your dev team to provide the .app build.

Hi @duyluong,

Same issue with .app build also

@duyluong @santhosh.saven Hi, I have the same issue: “Simulator architecture is unsupported …”

and it doesn’t work on both .ipa and .app file. Have you found a way to resolve this issue? Is this related to the versions of Katalon, simulatos OS and Xcode?

I’m using Katalon 7.6.2
Xcode 11.6
Simulator iOS 13.6

Thanks in advance

Hi nate,
Unfortunately, didn’t get anything till now. I think this issue from katalon studio.

Any solution to this. I also get same error…

Hi, I’m also getting the same error for both .ipa and .app file.

As for your reference, I’m using:
Katalon Studio 7.8.1
iOS Simulator 14.3
Xcode 12.3
Mac OS Big Sur 11.1
Appium 1.20.0-beta.0
Carthage 0.36.0
iOS-deploy 1.11.3

Here I attached the screenshot for your reference

Hope anyone can assist me on this. Thank you in advance!

Hi, is this restriction specific to Katalon or XCUI? My dev team only creates .ipa files so wanted to get some more info on this to work with my dev team.

@Jeff_Feldman Dev team will create only .ipa but you can get .app from Derived Data like /User/YOURUSER/Library/Developer/Xcode/DerivedData/YOURAPP-emojzslcekzykiguniabvuzngvhr/Build/Products/Debug-iphonesimulator/YOURAPP.app

Even I was getting similar issue resolved by fallowing steps

go to /User/YOURUSER/Library/Developer/Xcode/DerivedData/
cd Library/Developer/Xcode/DerivedData/
remove all the files in this directory
rm -rf *
build app from Xcode
Now you can see the latest files in /User/YOURUSER/Library/Developer/Xcode/DerivedData/

got to simulator Directory

cd /User/YOURUSER/Library/Developer/Xcode/DerivedData/YOURAPP-emojzslcekzykiguniabvuzngvhr/Build/Products/Debug-iphonesimulator/YOURAPP.app

cp YOURAPP.app ~/Desktop/. (or where ever you need )