iOS device log capture is not getting started in 10000ms

Hi

while executing script initialing app into the device.
katalon tries to start iOS device log capture. but its failing.

katalon logs as below:

05-24-2018 11:03:04 AM - [START] - Start Test Case : Test Cases/Tri login

05-24-2018 11:03:04 AM - [INFO] - Evaluating variables for test case

05-24-2018 11:03:05 AM - [START] - Start action : startApplication

05-24-2018 11:03:05 AM - [INFO] - Starting app at: ‘/Users/ctfsmac/Desktop/Payload/Triangle.app’

05-24-2018 11:03:05 AM - [INFO] - User set preference: [‘fullReset’, ‘false’]

05-24-2018 11:03:05 AM - [INFO] - User set preference: [‘noReset’, ‘true’]

05-24-2018 11:03:05 AM - [INFO] - User set preference: [‘deviceId’, ‘’]

05-24-2018 11:03:16 AM - [INFO] - Failed to start ios_webkit_debug_proxy on default port 27753

[Appium] Welcome to Appium v1.8.0

[Appium] Non-default server args:

[Appium] port: 54995

[Appium] chromeDriverPort: 54996

[Appium] tmpDir: /var/folders/kr/jckq4pl16nbc0h30pmdcmmkr0000gn/T//Katalon/Appium/Temp1527139996009

[Appium] Appium REST http interface listener started on 0.0.0.0:54995

05-24-2018 11:03:34 AM - [INFO] - Appium server started on port 54,995

[HTTP] → GET /wd/hub/status

[HTTP] {}

[debug] [MJSONWP] Calling AppiumDriver.getStatus() with args:

[debug] [MJSONWP] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.8.0”,“revision”:null}}

[HTTP] ← GET /wd/hub/status 200 39 ms - 83

[HTTP]

[HTTP] → POST /wd/hub/session

[HTTP] {“desiredCapabilities”:{“app”:“/Users/ctfsmac/Desktop/Payload/Triangle.app”,“automationName”:“XCUITest”,“deviceId”:“”,“deviceName”:“iPhone”,“fullReset”:true,“newCommandTimeout”:1800,“noReset”:false,“platformName”:“iOS”,“realDeviceLogger”:“/Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/tools/deviceconsole/deviceconsole”,“udid”:“739b03bdaed9efc5a55d76065c9a0c48aca1ef43”,“waitForAppScript”:“true;”,“wdaLocalPort”:54958},“capabilities”:{“desiredCapabilities”:{“app”:“/Users/ctfsmac/Desktop/Payload/Tri.app”,“automationName”:“XCUITest”,“deviceId”:“”,“deviceName”:“iPhone”,“fullReset”:true,“newCommandTimeout”:1800,“noReset”:false,“platformName”:“iOS”,“realDeviceLogger”:“/Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/tools/deviceconsole/deviceconsole”,“udid”:“739b03bdaed9efc5a55d76065c9a0c48aca1ef43”,“waitForAppScript”:“true;”,“wdaLocalPort”:54958},“firstMatch”:[{“platformName”:“ios”}]}}

[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{“app”:“/Users/ctfsmac/Desktop/Payload/Triangle.app”,“automationName”:“XCUITest”,“deviceId”:“”,“deviceName”:“iPhone”,“fullReset”:true,“newCommandTimeout”:1800,“noReset”:false,“platformName”:“iOS”,“realDeviceLogger”:“/Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/tools/deviceconsole/deviceconsole”,“udid”:“739b03bdaed9efc5a55d76065c9a0c48aca1ef43”,“waitForAppScript”:“true;”,“wdaLocalPort”:54958},null,{“desiredCapabilities”:{“app”:“/Users/ctfsmac/Desktop/Payload/Triangle.app”,“automationName”:“XCUITest”,“deviceId”:“”,“deviceName”:“iPhone”,“fullReset”:true,“newCommandTimeout”:1800,“noReset”:false,“platformName”:“iOS”,“realDeviceLogger”:“/Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/tools/deviceconsole/deviceconsole”,“udid”:“739b03bdaed9efc5a55d76065c9a0c48aca1ef43”,“waitForAppScript”:“true;”,“wdaLocalPort”:54958},“firstMatch”:[{“platformName”:“ios”}]}]

[debug] [BaseDriver] Event ‘newSessionRequested’ logged at 1527140014764 (11:03:34 GMT+0530 (IST))

[Appium] Could not parse W3C capabilities: ‘deviceName’ can’t be blank. Falling back to JSONWP protocol.

[Appium] The following capabilities were provided in the JSONWP desired capabilities that are missing in W3C capabilities: [“app”,“automationName”,“deviceId”,“deviceName”,“fullReset”,“newCommandTimeout”,“noReset”,“platformName”,“realDeviceLogger”,“udid”,“waitForAppScript”,“wdaLocalPort”]. Falling back to JSONWP protocol.

[Appium] Creating new XCUITestDriver (v2.76.2) session

[Appium] Capabilities:

[Appium] app: /Users/ctfsmac/Desktop/Payload/Tri.app

[Appium] automationName: XCUITest

[Appium] deviceId:

[Appium] deviceName: iPhone

[Appium] fullReset: true

[Appium] newCommandTimeout: 1800

[Appium] noReset: false

[Appium] platformName: iOS

[Appium] realDeviceLogger: /Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/tools/deviceconsole/deviceconsole

[Appium] udid: 739b03bdaed9efc5a55d76065c9a0c48aca1ef43

[Appium] waitForAppScript: true;

[Appium] wdaLocalPort: 54958

[debug] [BaseDriver] Creating session with MJSONWP desired capabilities: {“app”:"/Users/ctfsmac/Desk…

[BaseDriver] The following capabilities were provided, but are not recognized by appium: deviceId.

[BaseDriver] Session created with session id: db481d3b-2fc8-4a0e-a59f-97bf12544be3

[debug] [XCUITest] Current user: ‘ctfsmac’

[debug] [XCUITest] Xcode version set to ‘9.2’ (tools v9.0.0.0.1.1504363082)

[debug] [XCUITest] iOS SDK Version set to ‘11.2’

[debug] [BaseDriver] Event ‘xcodeDetailsRetrieved’ logged at 1527140017363 (11:03:37 GMT+0530 (IST))

[debug] [XCUITest] Available devices: 739b03bdaed9efc5a55d76065c9a0c48aca1ef43

[debug] [XCUITest] Creating iDevice object with udid ‘739b03bdaed9efc5a55d76065c9a0c48aca1ef43’

[XCUITest] Determining device to run tests on: udid: ‘739b03bdaed9efc5a55d76065c9a0c48aca1ef43’, real device: true

[BaseDriver] Using local app ‘/Users/ctfsmac/Desktop/Payload/Tri.app’

[debug] [BaseDriver] Event ‘appConfigured’ logged at 1527140017485 (11:03:37 GMT+0530 (IST))

[debug] [XCUITest] Checking whether app ‘/Users/ctfsmac/Desktop/Payload/Tri.app’ is actually present on file system

[debug] [XCUITest] App is present

[debug] [iOS] Getting bundle ID from app ‘/Users/ctfsmac/Desktop/Payload/Tri.app’: ‘com.can.tri’

[debug] [BaseDriver] Event ‘resetStarted’ logged at 1527140017496 (11:03:37 GMT+0530 (IST))

[debug] [XCUITest] Reset: running ios real device reset flow

[debug] [XCUITest] Reset: fullReset requested. Will try to uninstall the app ‘com.can.tri’.

[debug] [XCUITest] Error checking install status: ‘Command ‘ios-deploy --exists --id 739b03bdaed9efc5a55d76065c9a0c48aca1ef43 --bundle_id com.can.tri’ exited with code null’

[debug] [XCUITest] Reset: app not installed. No need to uninstall

[debug] [BaseDriver] Event ‘resetComplete’ logged at 1527140017577 (11:03:37 GMT+0530 (IST))

[debug] [iOSLog] Attempting iOS device log capture via deviceconsole

[debug] [iOSLog] Using ‘deviceconsole’ from ‘/Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/tools/deviceconsole’

[debug] [iOSLog] Starting iOS device log capture with: ‘/Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/tools/deviceconsole/deviceconsole’

[XCUITest] Continuing without capturing logs: The process did not start in the allotted time (10000ms)

[XCUITest] Setting up real device

[debug] [XCUITest] Error checking install status: ‘Command ‘ios-deploy --exists --id 739b03bdaed9efc5a55d76065c9a0c48aca1ef43 --bundle_id com.can.tri’ exited with code null’

[debug] [XCUITest] Installing ‘/Users/ctfsmac/Desktop/Payload/Tri.app’ on device with UUID ‘739b03bdaed9efc5a55d76065c9a0c48aca1ef43’…

05-24-2018 11:03:50 AM - [RUN_DATA] - Logging run data ‘deviceId’ with value ‘739b03bdaed9efc5a55d76065c9a0c48aca1ef43’

05-24-2018 11:03:50 AM - [RUN_DATA] - Logging run data ‘deviceName’ with value ‘iPhone’

05-24-2018 11:03:50 AM - [RUN_DATA] - Logging run data ‘deviceModel’ with value ‘iPhone8,2’

05-24-2018 11:03:50 AM - [RUN_DATA] - Logging run data ‘deviceManufacturer’ with value ‘Apple’

05-24-2018 11:03:50 AM - [RUN_DATA] - Logging run data ‘deviceOS’ with value ‘iOS’

05-24-2018 11:03:50 AM - [RUN_DATA] - Logging run data ‘deviceOSVersion’ with value ‘10.3.2’

05-24-2018 11:03:50 AM - [FAILED] - Unable to start app at: ‘/Users/ctfsmac/Desktop/Payload/Triangle.app’ (Root cause: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not install app: ‘Command ‘ios-deploy --id 739b03bdaed9efc5a55d76065c9a0c48aca1ef43 --bundle /Users/ctfsmac/Desktop/Payload/Tri.app’ exited with code null’

Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’

System info: host: ‘WildPort.local’, ip: ‘169.254.58.85’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.12.6’, java.version: ‘1.8.0_102’

Driver info: driver.version: IOSDriver

remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not install app: ‘Command ‘ios-deploy --id 739b03bdaed9efc5a55d76065c9a0c48aca1ef43 --bundle /Users/ctfsmac/Desktop/Payload/Tri.app’ exited with code null’

at getResponseForW3CError (/usr/local/lib/node\_modules/appium/node\_modules/appium-base-driver/lib/protocol/errors.js:800:13)



at asyncHandler$ (/usr/local/lib/node\_modules/appium/node\_modules/appium-base-driver/lib/protocol/protocol.js:352:37)



at tryCatch (/usr/local/lib/node\_modules/appium/node\_modules/babel-runtime/regenerator/runtime.js:67:40)



at GeneratorFunctionPrototype.invoke \[as \_invoke\] (/usr/local/lib/node\_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)



at GeneratorFunctionPrototype.prototype.(anonymous function) \[as next\] (/usr/local/lib/node\_modules/appium/node\_modules/babel-runtime/regenerator/runtime.js:100:21)



at GeneratorFunctionPrototype.invoke (/usr/local/lib/node\_modules/appium/node\_modules/babel-runtime/regenerator/runtime.js:136:37))

05-24-2018 11:03:50 AM - [END] - End action : startApplication

05-24-2018 11:03:50 AM - [FAILED] - Test Cases/Tri login FAILED because (of) Unable to start app at: ‘/Users/ctfsmac/Desktop/Payload/Tri.app’ (Root cause: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not install app: ‘Command ‘ios-deploy --id 739b03bdaed9efc5a55d76065c9a0c48aca1ef43 --bundle /Users/ctfsmac/Desktop/Payload/Tri.app’ exited with code null’

Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’

System info: host: ‘WildPort.local’, ip: ‘169.254.58.85’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.12.6’, java.version: ‘1.8.0_102’

Driver info: driver.version: IOSDriver

remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not install app: ‘Command ‘ios-deploy --id 739b03bdaed9efc5a55d76065c9a0c48aca1ef43 --bundle /Users/ctfsmac/Desktop/Payload/Triangle.app’ exited with code null’

at getResponseForW3CError (/usr/local/lib/node\_modules/appium/node\_modules/appium-base-driver/lib/protocol/errors.js:800:13)



at asyncHandler$ (/usr/local/lib/node\_modules/appium/node\_modules/appium-base-driver/lib/protocol/protocol.js:352:37)



at tryCatch (/usr/local/lib/node\_modules/appium/node\_modules/babel-runtime/regenerator/runtime.js:67:40)



at GeneratorFunctionPrototype.invoke \[as \_invoke\] (/usr/local/lib/node\_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)



at GeneratorFunctionPrototype.prototype.(anonymous function) \[as next\] (/usr/local/lib/node\_modules/appium/node\_modules/babel-runtime/regenerator/runtime.js:100:21)



at GeneratorFunctionPrototype.invoke (/usr/local/lib/node\_modules/appium/node\_modules/babel-runtime/regenerator/runtime.js:136:37))

05-24-2018 11:03:50 AM - [END] - End Test Case : Test Cases/Tri login

[debug] [XCUITest] Stdout: '[…] Waiting for iOS device to be connected

[debug] [XCUITest] […] Using iPhone 6s Plus ‘iPhone’ (739b03bdaed9efc5a55d76065c9a0c48aca1ef43).

[debug] [XCUITest] ------ Install phase ------

[debug] [XCUITest] [ 0%] Found iPhone 6s Plus ‘iPhone’ (739b03bdaed9efc5a55d76065c9a0c48aca1ef43) connected through USB, beginning install

[debug] [XCUITest] '. Stderr: 'Assertion failed: (AMDeviceIsPaired(device)), function handle_device, file /usr/local/lib/node_modules/.staging/ios-deploy-298c9491/src/ios-deploy/ios-deploy.m, line 1654.

[debug] [XCUITest] '.

[debug] [XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on.

[debug] [iOSLog] Stopping iOS log capture

[debug] [BaseDriver] Event ‘newSessionStarted’ logged at 1527140030098 (11:03:50 GMT+0530 (IST))

[HTTP] ← POST /wd/hub/session 500 15369 ms - 1396

[HTTP]