Unable to start application on device

OS: 12.14.5
Xcode: 10.2.1
Katalon: 6.2.0
Appium: 1.12.1
iOS Simulator: 12.2
Simulator device: iPhone XS

Been trying to run my first test in Katalon, but I can’t get the application to open. Installed/reinstalled all of the required components a number of times, rolled Appium back to 1.8.2-beta, uninstalled io.uiautomator2.server and io.automator2.server.test, etc. etc… I’m sure I’ve probably missed something simple, but for the life of me I can’t find what it is. Application path is accurate and I’ve built the app directly from XCode to the simulator successfully several times - it just won’t build in Katalon.

I had a similar problem while trying to test this in Appium and found I needed to use session-override in the server configuration. Is there a way to include this in Katalon’s custom desired capabilities? If so, I’ve not found any documentation for it and would appreciate a pointer.

Thanks in advance for assistance!
11%20AM

e[35m[Appium]e[39m Welcome to Appium v1.12.1
e[35m[Appium]e[39m Non-default server args:
e[35m[Appium]e[39m port: 53596
e[35m[Appium]e[39m loglevel: info
e[35m[Appium]e[39m chromeDriverPort: 53597
e[35m[Appium]e[39m tmpDir: /var/folders/b4/544_42_n6yl0wzqswmq8m6pc0000gn/T//Katalon/Appium/Temp1560878306145
e[35m[Appium]e[39m Appium REST http interface listener started on 0.0.0.0:53596
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[90m4 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[90m2 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/shawnfoster/Library/Developer/Xcode/DerivedData/Loop-gnsrwsrfawyxmqadwacbfuabsmfy/Build/Products/Debug-iphonesimulator/Loop.app”,“showIosLog”:true,“noReset”:true,“xcodeOrgId”:“F8XLN5PB93”,“wdaEventloopIdleDelay”:4,“deviceId”:“10989C93-952C-4CFA-9A9A-0E35F2AC582C”,“deviceName”:“iPhone Xs”,“fullReset”:false,“launchTimeout”:0,“xcodeSigningId”:“iPhone Developer”,“wdaLocalPort”:53610,“shouldUseSingletonTestManager”:false,“waitForQuiescence”:false,“wdaStartupRetryInterval”:800,“newCommandTimeout”:1800,“realDeviceLogger”:“/Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/tools/deviceconsole”,“platformVersion”:“12.2”,“automationName”:“XCUITest”,“useNewWDA”:false,“waitForAppScript”:“true;”,“platformName”:“iOS”,“udid”:“10989C93-952C-4CFA-9A9A-0E35F2AC582C”},“capabilities”:{“firstMatch”:[{“appium:app”:"/Users/shawnfoster/Library/Developer/Xcode/DerivedData/Loop-gnsrwsrfawyxmqadwacbfuabsmfy/Build/Products/Debug-iphonesimulator/Loop.app"e[39m
e[35m[BaseDriver]e[39m The capabilities [“deviceId”,“realDeviceLogger”,“showIosLog”,“waitForQuiescence”,“wdaEventloopIdleDelay”] are not standard capabilities and should have an extension prefix
[Appium] Appium v1.12.1 creating new XCUITestDriver (v2.110.1) session
[Appium] Capabilities:
[Appium] deviceId: 10989C93-952C-4CFA-9A9A-0E35F2AC582C
[Appium] platformName: ios
[Appium] realDeviceLogger: /Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/tools/deviceconsole
[Appium] showIosLog: true
[Appium] waitForQuiescence: false
[Appium] wdaEventloopIdleDelay: 4
[Appium] app: /Users/shawnfoster/Library/Developer/Xcode/DerivedData/Loop-gnsrwsrfawyxmqadwacbfuabsmfy/Build/Products/Debug-iphonesimulator/Loop.app
[Appium] automationName: XCUITest
[Appium] deviceName: iPhone Xs
[Appium] fullReset: false
[Appium] launchTimeout: 0
[Appium] newCommandTimeout: 1800
[Appium] noReset: true
[Appium] platformVersion: 12.2
[Appium] shouldUseSingletonTestManager: false
[Appium] udid: 10989C93-952C-4CFA-9A9A-0E35F2AC582C
[Appium] useNewWDA: false
[Appium] waitForAppScript: true;
[Appium] wdaLocalPort: 53610
[Appium] wdaStartupRetryInterval: 800
[Appium] xcodeOrgId: F8XLN5PB93
[Appium] xcodeSigningId: iPhone Developer
[BaseDriver] The following capabilities were provided, but are not recognized by Appium:
[BaseDriver] deviceId
[BaseDriver] showIosLog
[BaseDriver] Session created with session id: 6b6100c0-2f87-4597-9f3f-02f299b21912
[iOSSim] Constructing iOS simulator for Xcode version 10.2.1 with udid ‘10989C93-952C-4CFA-9A9A-0E35F2AC582C’
[XCUITest] Determining device to run tests on: udid: ‘10989C93-952C-4CFA-9A9A-0E35F2AC582C’, real device: false
[XCUITest] Xcode version set to ‘10.2.1’ (tools v11.0.0.0.1.1559496560)
[XCUITest] iOS SDK Version set to ‘12.2’
[BaseDriver] Using local app ‘/Users/shawnfoster/Library/Developer/Xcode/DerivedData/Loop-gnsrwsrfawyxmqadwacbfuabsmfy/Build/Products/Debug-iphonesimulator/Loop.app’
[XCUITest] Setting up simulator
[iOSSim] Both Simulator with UDID 10989C93-952C-4CFA-9A9A-0E35F2AC582C and the UI client are currently running
[XCUITest] Using WDA path: ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent’
[XCUITest] Using WDA agent: ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj’
[WD Proxy] Got an unexpected response: {“errno”:“ECONNREFUSED”,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:53610}
[XCUITest] Launching WebDriverAgent on the device
[WD Proxy] Got an unexpected response: {“errno”:“ECONNREFUSED”,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:53610}
[WD Proxy] Got an unexpected response: {“errno”:“ECONNREFUSED”,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:53610}
[WD Proxy] Got an unexpected response: {“errno”:“ECONNREFUSED”,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:53610}
[WD Proxy] Got an unexpected response: {“errno”:“ECONNREFUSED”,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:53610}
[WD Proxy] Got an unexpected response: {“value”:“The application under test with bundle id ‘com.F8XLN5PB93.loopkit.Loop’ is not running, possibly crashed”,“sessionId”:“13B13403-9875-4873-A6EF-FA03CA7D843E”,“status”:889}
[WD Proxy] Got an unexpected response: {“value”:“The application under test with bundle id ‘com.F8XLN5PB93.loopkit.Loop’ is not running, possibly crashed”,“sessionId”:“0C24D265-49D6-46F4-B1DF-92426835E1B8”,“status”:889}
[WD Proxy] Got an unexpected response: {“value”:“The application under test with bundle id ‘com.F8XLN5PB93.loopkit.Loop’ is not running, possibly crashed”,“sessionId”:“FFEF5766-8F80-44C1-81A7-63B262079D01”,“status”:889}
[WD Proxy] Got an unexpected response: {“value”:“The application under test with bundle id ‘com.F8XLN5PB93.loopkit.Loop’ is not running, possibly crashed”,“sessionId”:“86A6DA23-0012-42A8-8BB7-2A8E24D609C1”,“status”:889}
[WD Proxy] Got an unexpected response: {“value”:“The application under test with bundle id ‘com.F8XLN5PB93.loopkit.Loop’ is not running, possibly crashed”,“sessionId”:“9C5C794F-D6CC-47C0-B833-DE4A6FFF8222”,“status”:889}
[WD Proxy] Got an unexpected response: {“value”:“The application under test with bundle id ‘com.F8XLN5PB93.loopkit.Loop’ is not running, possibly crashed”,“sessionId”:“9148CEE0-F16E-4B2E-9FC2-B50543C68434”,“status”:889}
[WD Proxy] Got an unexpected response: {“value”:“The application under test with bundle id ‘com.F8XLN5PB93.loopkit.Loop’ is not running, possibly crashed”,“sessionId”:“9701E607-2275-48CA-AB72-C4216B585319”,“status”:889}
[WD Proxy] Got an unexpected response: {“value”:“The application under test with bundle id ‘com.F8XLN5PB93.loopkit.Loop’ is not running, possibly crashed”,“sessionId”:“66A7BD05-56B9-4130-B561-A863662A6688”,“status”:889}
[WD Proxy] Got an unexpected response: {“value”:“The application under test with bundle id ‘com.F8XLN5PB93.loopkit.Loop’ is not running, possibly crashed”,“sessionId”:“C51AFB4B-02ED-4B49-8A9D-18741B059B68”,“status”:889}
[WD Proxy] Got an unexpected response: {“value”:“The application under test with bundle id ‘com.F8XLN5PB93.loopkit.Loop’ is not running, possibly crashed”,“sessionId”:“FA3CBA0C-F23E-44D9-8606-82E31610F3F7”,“status”:889}
[WD Proxy] Got an unexpected response: {“value”:“The application under test with bundle id ‘com.F8XLN5PB93.loopkit.Loop’ is not running, possibly crashed”,“sessionId”:“7F634D41-A0BF-456F-BF70-A8CA759D486F”,“status”:889}
[WD Proxy] Got an unexpected response: {“value”:“The application under test with bundle id ‘com.F8XLN5PB93.loopkit.Loop’ is not running, possibly crashed”,“sessionId”:“202CE543-A9C9-40C9-B8D2-43CEB7210B7C”,“status”:889}
[WD Proxy] Got an unexpected response: {“value”:“The application under test with bundle id ‘com.F8XLN5PB93.loopkit.Loop’ is not running, possibly crashed”,“sessionId”:“F88E0097-3C7F-450F-AAE9-EE6A687FE88E”,“status”:889}
[WD Proxy] Got an unexpected response: {“value”:“The application under test with bundle id ‘com.F8XLN5PB93.loopkit.Loop’ is not running, possibly crashed”,“sessionId”:“1A4C452C-3952-4BB1-863B-FE393B720C96”,“status”:889}
[WD Proxy] Got an unexpected response: {“value”:“The application under test with bundle id ‘com.F8XLN5PB93.loopkit.Loop’ is not running, possibly crashed”,“sessionId”:“123D9FF6-BFAE-426E-91A3-325C19F75F4A”,“status”:889}
[XCUITest] Quitting and uninstalling WebDriverAgent
[XCUITest] Shutting down sub-processes
[XCUITest] Shutting down xcodebuild process (pid 6725)
[XCUITest] Launching WebDriverAgent on the device
[WD Proxy] Got an unexpected response: {“errno”:“ECONNREFUSED”,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:53610}
[WD Proxy] Got an unexpected response: {“errno”:“ECONNREFUSED”,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:53610}
[WD Proxy] Got an unexpected response: {“errno”:“ECONNREFUSED”,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:53610}
[WD Proxy] Got an unexpected response: {“errno”:“ECONNREFUSED”,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:53610}
[WD Proxy] Got an unexpected response: {“value”:“The application under test with bundle id ‘com.F8XLN5PB93.loopkit.Loop’ is not running, possibly crashed”,“sessionId”:“6D690840-7C45-4117-B3AA-25B2C5662E1F”,“status”:889}
[WD Proxy] Got an unexpected response: {“value”:“The application under test with bundle id ‘com.F8XLN5PB93.loopkit.Loop’ is not running, possibly crashed”,“sessionId”:“68522319-BABE-49E1-9697-8465BE28E014”,“status”:889}
[WD Proxy] Got an unexpected response: {“value”:“The application under test with bundle id ‘com.F8XLN5PB93.loopkit.Loop’ is not running, possibly crashed”,“sessionId”:“3DEF9E06-579D-4E30-96F1-FC8A0A42F165”,“status”:889}
[WD Proxy] Got an unexpected response: {“value”:“The application under test with bundle id ‘com.F8XLN5PB93.loopkit.Loop’ is not running, possibly crashed”,“sessionId”:“5852F972-DD15-45FE-8100-F562F4EFDD00”,“status”:889}
[WD Proxy] Got an unexpected response: {“value”:“The application under test with bundle id ‘com.F8XLN5PB93.loopkit.Loop’ is not running, possibly crashed”,“sessionId”:“D8AF669F-17E0-42F3-961D-3E9E884EA35C”,“status”:889}
[WD Proxy] Got an unexpected response: {“value”:“The application under test with bundle id ‘com.F8XLN5PB93.loopkit.Loop’ is not running, possibly crashed”,“sessionId”:“31E49BC7-D7F9-46D2-BE46-D5AA60DEF4AA”,“status”:889}
[WD Proxy] Got an unexpected response: {“value”:“The application under test with bundle id ‘com.F8XLN5PB93.loopkit.Loop’ is not running, possibly crashed”,“sessionId”:“9A790439-9662-4ED6-AF33-1DCB72E31D8D”,“status”:889}
[WD Proxy] Got an unexpected response: {“value”:“The application under test with bundle id ‘com.F8XLN5PB93.loopkit.Loop’ is not running, possibly crashed”,“sessionId”:“41578499-9EEA-4AAB-9687-EBAE07C599D0”,“status”:889}
[WD Proxy] Got an unexpected response: {“value”:“The application under test with bundle id ‘com.F8XLN5PB93.loopkit.Loop’ is not running, possibly crashed”,“sessionId”:“2E9E5FF4-78CE-4058-BDF9-8B0072CB02CD”,“status”:889}
[WD Proxy] Got an unexpected response: {“value”:“The application under test with bundle id ‘com.F8XLN5PB93.loopkit.Loop’ is not running, possibly crashed”,“sessionId”:“64B75958-F1BF-495F-AB4F-596650F86F47”,“status”:889}
[WD Proxy] Got an unexpected response: {“value”:“The application under test with bundle id ‘com.F8XLN5PB93.loopkit.Loop’ is not running, possibly crashed”,“sessionId”:“623DE66A-AE07-438B-8276-55DE8385DE59”,“status”:889}
[WD Proxy] Got an unexpected response: {“value”:“The application under test with bundle id ‘com.F8XLN5PB93.loopkit.Loop’ is not running, possibly crashed”,“sessionId”:“F131BB33-0EEC-45A2-ACB9-A5388677AF8C”,“status”:889}
[WD Proxy] Got an unexpected response: {“value”:“The application under test with bundle id ‘com.F8XLN5PB93.loopkit.Loop’ is not running, possibly crashed”,“sessionId”:“3EB093EA-222E-4E77-AD57-AB77934DCB49”,“status”:889}
[WD Proxy] Got an unexpected response: {“value”:“The application under test with bundle id ‘com.F8XLN5PB93.loopkit.Loop’ is not running, possibly crashed”,“sessionId”:“908616FE-A80F-4273-A943-CD6129EB05B7”,“status”:889}
[WD Proxy] Got an unexpected response: {“value”:“The application under test with bundle id ‘com.F8XLN5PB93.loopkit.Loop’ is not running, possibly crashed”,“sessionId”:“E078F6C5-19F6-47D7-B527-A77FB9EE3CF2”,“status”:889}
[XCUITest] Quitting and uninstalling WebDriverAgent
[XCUITest] Shutting down sub-processes
[XCUITest] Shutting down xcodebuild process (pid 6781)

HI @shawn,

You can add desired capabilities before starting iOS application in Project/ Settings/ Desired Capabilities/ Mobile/ iOS.