Unable to start app in mobile recorder


#1

Hey Katalon community!

I’m having trouble starting up my application from the mobile recorder. I am able to get the Integration App and WebDriverAgent to install successfully on my simulators, but my application doesn’t install. One thing that stands out to me is the following error message:

[35m[XCUITest]e[39m Simulator architecture appears to be unsupported by the '/Users/ac/Downloads/Ubii-2 copy/Payload/Ubii.app' application. Make sure the correct deployment target has been selected for its compilation in Xcode.
e[35m[XCUITest]e[39m Don't be surprised if the application fails to launch.

Please help as I do not know what the issue is! I’ve pasted the full system log below:

e[35m[Appium]e[39m Welcome to Appium v1.15.0
e[35m[Appium]e[39m Non-default server args:
e[35m[Appium]e[39m   port: 49632
e[35m[Appium]e[39m   loglevel: info
e[35m[Appium]e[39m   chromeDriverPort: 49633
e[35m[Appium]e[39m Welcome to Appium v1.15.0
e[35m[Appium]e[39m   tmpDir: /var/folders/72/k_b6gg8x17337v5l0txyf9yr0000gp/T//Katalon/Appium/Temp1572896722653
e[35m[Appium]e[39m Non-default server args:
e[35m[Appium]e[39m Appium REST http interface listener started on 0.0.0.0:49632
e[35m[Appium]e[39m   port: 49632
e[35m[HTTP]e[39m e[37m-->e[39m e[37mGETe[39m e[37m/wd/hub/statuse[39m
e[35m[Appium]e[39m   loglevel: info
e[35m[HTTP]e[39m e[90m{}e[39m
e[35m[Appium]e[39m   chromeDriverPort: 49633
e[35m[HTTP]e[39m e[37m<-- GET /wd/hub/status e[39me[32m200e[39m e[90m5 ms - 68e[39m
e[35m[Appium]e[39m   tmpDir: /var/folders/72/k_b6gg8x17337v5l0txyf9yr0000gp/T//Katalon/Appium/Temp1572896722653
e[35m[HTTP]e[39m e[90me[39m
e[35m[Appium]e[39m Appium REST http interface listener started on 0.0.0.0:49632
e[35m[HTTP]e[39m e[37m-->e[39m e[37mGETe[39m e[37m/wd/hub/statuse[39m
e[35m[HTTP]e[39m e[90m{}e[39m
e[35m[HTTP]e[39m e[37m<-- GET /wd/hub/status e[39me[32m200e[39m e[90m5 ms - 68e[39m
e[35m[HTTP]e[39m e[90me[39m
e[35m[HTTP]e[39m e[37m-->e[39m e[37mGETe[39m e[37m/wd/hub/statuse[39m
e[35m[HTTP]e[39m e[90m{}e[39m
e[35m[HTTP]e[39m e[37m<-- GET /wd/hub/status e[39me[32m200e[39m e[90m1 ms - 68e[39m
e[35m[HTTP]e[39m e[90me[39m
e[35m[HTTP]e[39m e[37m-->e[39m e[37mGETe[39m e[37m/wd/hub/statuse[39m
e[35m[HTTP]e[39m e[90m{}e[39m
e[35m[HTTP]e[39m e[37m<-- GET /wd/hub/status e[39me[32m200e[39m e[90m1 ms - 68e[39m
e[35m[HTTP]e[39m e[90me[39m
e[35m[HTTP]e[39m e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/sessione[39m
e[35m[HTTP]e[39m e[90m{"desiredCapabilities":{"app":"/Users/ac/Downloads/Ubii-2 copy/Payload/Ubii.app","AutomationName":"XCUITest","noReset":true,"bundleID":"com.ubii.ubii","--session-override":true,"deviceId":"4C21468F-C93E-4951-982E-BD7AD7BAA364","deviceName":"iPhone 11","fullReset":false,"appWaitActivity=*":"","wdaLocalPort":49642,"newCommandTimeout":1800,"realDeviceLogger":"/Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/tools/deviceconsole","platformVersion":"13.2","automationName":"XCUITest","useNewWDA":true,"waitForAppScript":"true;","platformName":"iOS","udid":"4C21468F-C93E-4951-982E-BD7AD7BAA364"},"capabilities":{"firstMatch":[{"--session-override":true,"AutomationName":"XCUITest","appium:app":"/Users/ac/Downloads/Ubii-2 copy/Payload/Ubii.app","appWaitActivity=*":"","appium:automationName":"XCUITest","bundleID":"com.ubii.ubii","deviceId":"4C21468F-C93E-4951-982E-BD7AD7BAA364","appium:deviceName":"iPhone 11","appium:fullReset":false,"appium:newCommandTimeout":1800,"appium:e[39m
e[35m[BaseDriver]e[39m The capabilities ["--session-override","AutomationName","appWaitActivity=*","bundleID","deviceId","realDeviceLogger"] are not standard capabilities and should have an extension prefix
e[35m[HTTP]e[39m e[37m-->e[39m e[37mPOSTe[39m e[37m/wd/hub/sessione[39m
e[35m[HTTP]e[39m e[90m{"desiredCapabilities":{"app":"/Users/ac/Downloads/Ubii-2 copy/Payload/Ubii.app","AutomationName":"XCUITest","noReset":true,"bundleID":"com.ubii.ubii","--session-override":true,"deviceId":"4C21468F-C93E-4951-982E-BD7AD7BAA364","deviceName":"iPhone 11","fullReset":false,"appWaitActivity=*":"","wdaLocalPort":49642,"newCommandTimeout":1800,"realDeviceLogger":"/Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/tools/deviceconsole","platformVersion":"13.2","automationName":"XCUITest","useNewWDA":true,"waitForAppScript":"true;","platformName":"iOS","udid":"4C21468F-C93E-4951-982E-BD7AD7BAA364"},"capabilities":{"firstMatch":[{"--session-override":true,"AutomationName":"XCUITest","appium:app":"/Users/ac/Downloads/Ubii-2 copy/Payload/Ubii.app","appWaitActivity=*":"","appium:automationName":"XCUITest","bundleID":"com.ubii.ubii","deviceId":"4C21468F-C93E-4951-982E-BD7AD7BAA364","appium:deviceName":"iPhone 11","appium:fullReset":false,"appium:newCommandTimeout":1800,"appium:e[39m
e[35m[BaseDriver]e[39m The capabilities ["--session-override","AutomationName","appWaitActivity=*","bundleID","deviceId","realDeviceLogger"] are not standard capabilities and should have an extension prefix
e[35m[Appium]e[39m Appium v1.15.0 creating new XCUITestDriver (v2.133.1) session
e[35m[BaseDriver]e[39m The following capabilities were provided, but are not recognized by Appium:
e[35m[BaseDriver]e[39m   --session-override
e[35m[BaseDriver]e[39m   AutomationName
e[35m[BaseDriver]e[39m   appWaitActivity=*
e[35m[BaseDriver]e[39m   bundleID
e[35m[BaseDriver]e[39m   deviceId
e[35m[BaseDriver]e[39m Session created with session id: cb307a63-f56e-45c2-be04-9aa1ad1a0dab
e[35m[Appium]e[39m Appium v1.15.0 creating new XCUITestDriver (v2.133.1) session
e[35m[BaseDriver]e[39m The following capabilities were provided, but are not recognized by Appium:
e[35m[BaseDriver]e[39m   --session-override
e[35m[BaseDriver]e[39m   AutomationName
e[35m[BaseDriver]e[39m   appWaitActivity=*
e[35m[BaseDriver]e[39m   bundleID
e[35m[BaseDriver]e[39m   deviceId
e[35m[BaseDriver]e[39m Session created with session id: cb307a63-f56e-45c2-be04-9aa1ad1a0dab
e[35m[iOSSim]e[39m Constructing iOS simulator for Xcode version 11.2 with udid '4C21468F-C93E-4951-982E-BD7AD7BAA364'
e[35m[XCUITest]e[39m Determining device to run tests on: udid: '4C21468F-C93E-4951-982E-BD7AD7BAA364', real device: false
e[35m[BaseDriver]e[39m Using local app '/Users/ac/Downloads/Ubii-2 copy/Payload/Ubii.app'
e[35m[iOSSim]e[39m Constructing iOS simulator for Xcode version 11.2 with udid '4C21468F-C93E-4951-982E-BD7AD7BAA364'
e[35m[XCUITest]e[39m Determining device to run tests on: udid: '4C21468F-C93E-4951-982E-BD7AD7BAA364', real device: false
e[35m[BaseDriver]e[39m Using local app '/Users/ac/Downloads/Ubii-2 copy/Payload/Ubii.app'
e[35m[XCUITest]e[39m Continuing without capturing device logs: iOS Simulator with udid 4C21468F-C93E-4951-982E-BD7AD7BAA364 is not running
e[35m[XCUITest]e[39m Setting up simulator
e[35m[XCUITest]e[39m Continuing without capturing device logs: iOS Simulator with udid 4C21468F-C93E-4951-982E-BD7AD7BAA364 is not running
e[35m[XCUITest]e[39m Setting up simulator
e[35m[iOSSim]e[39m Booting Simulator with UDID 4C21468F-C93E-4951-982E-BD7AD7BAA364...
e[35m[iOSSim]e[39m Booting Simulator with UDID 4C21468F-C93E-4951-982E-BD7AD7BAA364...
e[35m[iOSSim]e[39m Starting Simulator UI with command: open -Fn /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app --args -CurrentDeviceUDID 4C21468F-C93E-4951-982E-BD7AD7BAA364 -ConnectHardwareKeyboard 0
e[35m[iOSSim]e[39m Starting Simulator UI with command: open -Fn /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app --args -CurrentDeviceUDID 4C21468F-C93E-4951-982E-BD7AD7BAA364 -ConnectHardwareKeyboard 0
e[35m[iOSSim]e[39m Simulator with UDID 4C21468F-C93E-4951-982E-BD7AD7BAA364 booted in 6 seconds
e[35m[XCUITest]e[39m idb will not be used for Simulator interaction. Original error: 'idb' has not been found in PATH. Is it installed? Read https://www.fbidb.io for more details
e[35m[iOSSim]e[39m Simulator with UDID 4C21468F-C93E-4951-982E-BD7AD7BAA364 booted in 6 seconds
e[35m[XCUITest]e[39m idb will not be used for Simulator interaction. Original error: 'idb' has not been found in PATH. Is it installed? Read https://www.fbidb.io for more details
e[35m[XCUITest]e[39m *********************************
e[35m[XCUITest]e[39m Simulator architecture appears to be unsupported by the '/Users/ac/Downloads/Ubii-2 copy/Payload/Ubii.app' application. Make sure the correct deployment target has been selected for its compilation in Xcode.
e[35m[XCUITest]e[39m Don't be surprised if the application fails to launch.
e[35m[XCUITest]e[39m *********************************
e[35m[XCUITest]e[39m *********************************
e[35m[XCUITest]e[39m Simulator architecture appears to be unsupported by the '/Users/ac/Downloads/Ubii-2 copy/Payload/Ubii.app' application. Make sure the correct deployment target has been selected for its compilation in Xcode.
e[35m[XCUITest]e[39m Don't be surprised if the application fails to launch.
e[35m[XCUITest]e[39m *********************************
e[35m[XCUITest]e[39m Using WDA path: '/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent'
e[35m[XCUITest]e[39m Using WDA agent: '/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'
e[35m[DevCon Factory]e[39m Requesting connection for device 4C21468F-C93E-4951-982E-BD7AD7BAA364 on local port 49642, device port 49642
e[35m[DevCon Factory]e[39m Successfully requested the connection for 4C21468F-C93E-4951-982E-BD7AD7BAA364:49642
e[35m[XCUITest]e[39m Shutting down sub-processes
e[35m[XCUITest]e[39m Using WDA path: '/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent'
e[35m[XCUITest]e[39m Using WDA agent: '/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'
e[35m[DevCon Factory]e[39m Requesting connection for device 4C21468F-C93E-4951-982E-BD7AD7BAA364 on local port 49642, device port 49642
e[35m[DevCon Factory]e[39m Successfully requested the connection for 4C21468F-C93E-4951-982E-BD7AD7BAA364:49642
e[35m[XCUITest]e[39m Shutting down sub-processes
e[35m[XCUITest]e[39m Launching WebDriverAgent on the device
e[35m[WebDriverAgent]e[39m Fetching dependencies
e[35m[WebDriverAgent]e[39m Dependencies up-to-date
e[35m[XCUITest]e[39m Launching WebDriverAgent on the device
e[35m[WebDriverAgent]e[39m Fetching dependencies
e[35m[WebDriverAgent]e[39m Dependencies up-to-date
e[35m[WD Proxy]e[39m Got an unexpected response with status undefined: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":49642}
e[35m[WD Proxy]e[39m Got an unexpected response with status undefined: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":49642}
e[35m[WD Proxy]e[39m Got an unexpected response with status undefined: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":49642}
e[35m[WD Proxy]e[39m Got an unexpected response with status undefined: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":49642}
e[35m[WD Proxy]e[39m Got an unexpected response with status undefined: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":49642}
e[35m[WD Proxy]e[39m Got an unexpected response with status undefined: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":49642}
e[35m[WD Proxy]e[39m Got an unexpected response with status undefined: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":49642}
e[35m[WD Proxy]e[39m Got an unexpected response with status undefined: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":49642}
e[35m[WD Proxy]e[39m Got an unexpected response with status undefined: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":49642}
e[35m[WD Proxy]e[39m Got an unexpected response with status undefined: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":49642}
e[35m[WD Proxy]e[39m Got an unexpected response with status undefined: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":49642}
e[35m[WD Proxy]e[39m Got an unexpected response with status undefined: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":49642}

#2

Hi everyone,

I am also facing the exact same issue. .ipa file and webdriver agent gets installed successfully. But the app fails to start.

Katalon Version : 7
Appium Version : 1.15.1

Could this failure be caused due to a compatibility issue with new versions of Katalon and Appium?


#3

Hi @acostan, @n.ariyawansa,

Please rebuild the app that’s under this path /Users/ac/Downloads/Ubii-2 copy/Payload/Ubii.app with XCode then relaunch again