Appium Inspector : iOS application going to background when using Inspector or Mykola Mokhnach's solution

Hi,

Appium UI App : v1.5.3
Appium Server : v1.6.0
iOS : v10.1
macOS : v10.12
XCode : 8.1
Testing on real device.

When launching Inspector as given in the link : https://medium.com/@chenchaoyi/the-options-of-inspecting-ios-10-app-with-appium-1-6-534ba166b958#.j2g9x3r5r

I am able to work on it for 5 minutes maximum after which application goes to background and looses connection Inspector. For a resolution i have to start it all over again.

Not able to proceed further with that issue.

Below are the Appium server logs :

[debug] [XCUITest] App installed.
[XCUITest] Using default agent: /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj
[XCUITest] Using default bootstrap: /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: /usr/local/bin/carthage
[debug] [XCUITest] Beginning test with command ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/bin/run-xcodebuild.sh --project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj --scheme WebDriverAgentRunner --destination id=a8ZZZZZZZZZZZ5bYYYYYYYYYafXXXXXXXXXXf5’ in directory ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent’
[XCUITest] Waiting for WebDriverAgent to start on device
[debug] [XCUITest] Log file for xcodebuild test: /Users/rohitverma/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/DAFA63AF-FFBB-45FF-8AEF-ED4F4B07A894/Session-WebDriverAgentRunner-2016-11-18_150400-rozIFA.log
[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading…
[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading…
[debug] [WebDriverAgent] Device: Nov 18 15:04:15 OITMIO00010 XCTRunner[343] : Running tests…
[debug] [WebDriverAgent] Device: Nov 18 15:04:16 OITMIO00010 XCTRunner[343] : Continuing to run tests in the background with task ID 1
[XCUITest] Detected that WebDriverAgent is running at url ‘http://172.16.20.12:8100
[XCUITest] WebDriverAgent started at url ‘http://172.16.20.12:8100
[debug] [XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB
[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading…
[JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {“desiredCapabilities”:{"bu…
[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading…
[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading…
[JSONWP Proxy] Got response with status 200: {“value”:{“sessionId”:"D96C…
[Appium] New XCUITestDriver session created successfully, session ce209093-0b82-48c7-9b08-ef78d7d785a4 added to master session list
[MJSONWP] Responding to client with driver.createSession() result: {“webStorageEnabled”:false,…
[HTTP] <-- POST /wd/hub/session 200 73017 ms - 510
[HTTP] --> GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/source {}
[MJSONWP] Calling AppiumDriver.getPageSource() with args: ["ce209093-0b82-48c7-9b08-e…
[debug] [XCUITest] Executing command ‘getPageSource’
[JSONWP Proxy] Proxying [POST /source] to [POST http://localhost:8100/session/D96CFA2F-3620-48DC-8ADC-C2F21CA51907/source] with no body
[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading…
[JSONWP Proxy] Got response with status 200: "{\n “value” : {\n "…
[MJSONWP] Responding to client with driver.getPageSource() result: "<?xml version=“1.0” enco…
[HTTP] <-- GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/source 200 1476 ms - 26049
[HTTP] --> GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/orientation {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [XCUITest] Executing command ‘proxyReqRes’
[JSONWP Proxy] Proxying [GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/orientation] to [GET http://localhost:8100/session/D96CFA2F-3620-48DC-8ADC-C2F21CA51907/orientation] with body: {}
[JSONWP Proxy] Got response with status 200: "{\n “value” : "PORTRAI…
[JSONWP Proxy] Replacing sessionId D96CFA2F-3620-48DC-8ADC-C2F21CA51907 with ce209093-0b82-48c7-9b08-ef78d7d785a4
[HTTP] <-- GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/orientation 200 237 ms - 82
[HTTP] --> GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/screenshot {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [XCUITest] Executing command ‘proxyReqRes’
[JSONWP Proxy] Proxying [GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/screenshot] to [GET http://localhost:8100/session/D96CFA2F-3620-48DC-8ADC-C2F21CA51907/screenshot] with body: {}
[JSONWP Proxy] Got response with status 200: "{\n “value” : "iVBORw0…
[JSONWP Proxy] Replacing sessionId D96CFA2F-3620-48DC-8ADC-C2F21CA51907 with ce209093-0b82-48c7-9b08-ef78d7d785a4
[HTTP] <-- GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/screenshot 200 147 ms - 228274
[HTTP] --> GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/contexts {}
[MJSONWP] Calling AppiumDriver.getContexts() with args: ["ce209093-0b82-48c7-9b08-e…
[debug] [XCUITest] Executing command ‘getContexts’
[debug] [iOS] Getting list of available contexts
[debug] [iOS] Retrieving contexts and views
[debug] [iOS] Selecting by url: false
[debug] [RemoteDebugger] Getting WebKitRemoteDebugger pageArray: localhost, 27753
[debug] [RemoteDebugger] Sending request to: http://localhost:27753/json
[iOS] Attempted to get a list of webview contexts but could not connect to ios-webkit-debug-proxy. If you expect to find webviews, please ensure that the proxy is running and accessible
[debug] [iOS] No web frames found.
[MJSONWP] Responding to client with driver.getContexts() result: [“NATIVE_APP”]
[HTTP] <-- GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/contexts 200 35 ms - 86
[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading…
[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading…
[HTTP] --> GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/source {}
[MJSONWP] Calling AppiumDriver.getPageSource() with args: ["ce209093-0b82-48c7-9b08-e…
[debug] [XCUITest] Executing command ‘getPageSource’
[JSONWP Proxy] Proxying [POST /source] to [POST http://localhost:8100/session/D96CFA2F-3620-48DC-8ADC-C2F21CA51907/source] with no body
[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading…
[JSONWP Proxy] Got response with status 200: "{\n “value” : {\n "…
[MJSONWP] Responding to client with driver.getPageSource() result: "<?xml version=“1.0” enco…
[HTTP] <-- GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/source 200 449 ms - 4864
[HTTP] --> GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/orientation {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [XCUITest] Executing command ‘proxyReqRes’
[JSONWP Proxy] Proxying [GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/orientation] to [GET http://localhost:8100/session/D96CFA2F-3620-48DC-8ADC-C2F21CA51907/orientation] with body: {}
[JSONWP Proxy] Got response with status 200: "{\n “value” : "PORTRAI…
[JSONWP Proxy] Replacing sessionId D96CFA2F-3620-48DC-8ADC-C2F21CA51907 with ce209093-0b82-48c7-9b08-ef78d7d785a4
[HTTP] <-- GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/orientation 200 89 ms - 82
[HTTP] --> GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/screenshot {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [XCUITest] Executing command ‘proxyReqRes’
[JSONWP Proxy] Proxying [GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/screenshot] to [GET http://localhost:8100/session/D96CFA2F-3620-48DC-8ADC-C2F21CA51907/screenshot] with body: {}
[JSONWP Proxy] Got response with status 200: "{\n “value” : "iVBORw0…
[JSONWP Proxy] Replacing sessionId D96CFA2F-3620-48DC-8ADC-C2F21CA51907 with ce209093-0b82-48c7-9b08-ef78d7d785a4
[HTTP] <-- GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/screenshot 200 126 ms - 108618
[HTTP] --> GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/contexts {}
[MJSONWP] Calling AppiumDriver.getContexts() with args: ["ce209093-0b82-48c7-9b08-e…
[debug] [XCUITest] Executing command ‘getContexts’
[debug] [iOS] Getting list of available contexts
[debug] [iOS] Retrieving contexts and views
[debug] [iOS] Selecting by url: false
[debug] [RemoteDebugger] Getting WebKitRemoteDebugger pageArray: localhost, 27753
[debug] [RemoteDebugger] Sending request to: http://localhost:27753/json
[iOS] Attempted to get a list of webview contexts but could not connect to ios-webkit-debug-proxy. If you expect to find webviews, please ensure that the proxy is running and accessible
[debug] [iOS] No web frames found.
[MJSONWP] Responding to client with driver.getContexts() result: [“NATIVE_APP”]
[HTTP] <-- GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/contexts 200 15 ms - 86
[HTTP] --> GET /wd/hub/sessions {}
[MJSONWP] Calling AppiumDriver.getSessions() with args: []
[MJSONWP] Responding to client with driver.getSessions() result: [{“id”:"ce209093-0b82-48c7-…
[HTTP] <-- GET /wd/hub/sessions 200 4 ms - 343
[HTTP] --> GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/source {}
[MJSONWP] Calling AppiumDriver.getPageSource() with args: ["ce209093-0b82-48c7-9b08-e…
[debug] [XCUITest] Executing command ‘getPageSource’
[JSONWP Proxy] Proxying [POST /source] to [POST http://localhost:8100/session/D96CFA2F-3620-48DC-8ADC-C2F21CA51907/source] with no body
[JSONWP Proxy] Got response with status 200: "{\n “value” : {\n "…
[MJSONWP] Responding to client with driver.getPageSource() result: "<?xml version=“1.0” enco…
[HTTP] <-- GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/source 200 390 ms - 5326
[HTTP] --> GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/screenshot {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [XCUITest] Executing command ‘proxyReqRes’
[JSONWP Proxy] Proxying [GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/screenshot] to [GET http://localhost:8100/session/D96CFA2F-3620-48DC-8ADC-C2F21CA51907/screenshot] with body: {}
[JSONWP Proxy] Got response with status 200: "{\n “value” : "iVBORw0…
[JSONWP Proxy] Replacing sessionId D96CFA2F-3620-48DC-8ADC-C2F21CA51907 with ce209093-0b82-48c7-9b08-ef78d7d785a4
[HTTP] <-- GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/screenshot 200 138 ms - 108618
[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading…
[HTTP] --> GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/source {}
[MJSONWP] Calling AppiumDriver.getPageSource() with args: ["ce209093-0b82-48c7-9b08-e…
[debug] [XCUITest] Executing command ‘getPageSource’
[JSONWP Proxy] Proxying [POST /source] to [POST http://localhost:8100/session/D96CFA2F-3620-48DC-8ADC-C2F21CA51907/source] with no body
(node:2577) Warning: Possible EventEmitter memory leak detected. 11 timeout listeners added. Use emitter.setMaxListeners() to increase limit
[JSONWP Proxy] Got response with status 200: "{\n “value” : {\n "…
[MJSONWP] Responding to client with driver.getPageSource() result: "<?xml version=“1.0” enco…
[HTTP] <-- GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/source 200 464 ms - 7589
[HTTP] --> GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/orientation {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [XCUITest] Executing command ‘proxyReqRes’
[JSONWP Proxy] Proxying [GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/orientation] to [GET http://localhost:8100/session/D96CFA2F-3620-48DC-8ADC-C2F21CA51907/orientation] with body: {}
[JSONWP Proxy] Got response with status 200: "{\n “value” : "PORTRAI…
[JSONWP Proxy] Replacing sessionId D96CFA2F-3620-48DC-8ADC-C2F21CA51907 with ce209093-0b82-48c7-9b08-ef78d7d785a4
[HTTP] <-- GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/orientation 200 102 ms - 82
[HTTP] --> GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/screenshot {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [XCUITest] Executing command ‘proxyReqRes’
[JSONWP Proxy] Proxying [GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/screenshot] to [GET http://localhost:8100/session/D96CFA2F-3620-48DC-8ADC-C2F21CA51907/screenshot] with body: {}
[JSONWP Proxy] Got response with status 200: "{\n “value” : "iVBORw0…
[JSONWP Proxy] Replacing sessionId D96CFA2F-3620-48DC-8ADC-C2F21CA51907 with ce209093-0b82-48c7-9b08-ef78d7d785a4
[HTTP] <-- GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/screenshot 200 152 ms - 207490
[HTTP] --> GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/contexts {}
[MJSONWP] Calling AppiumDriver.getContexts() with args: ["ce209093-0b82-48c7-9b08-e…
[debug] [XCUITest] Executing command ‘getContexts’
[debug] [iOS] Getting list of available contexts
[debug] [iOS] Retrieving contexts and views
[debug] [iOS] Selecting by url: false
[debug] [RemoteDebugger] Getting WebKitRemoteDebugger pageArray: localhost, 27753
[debug] [RemoteDebugger] Sending request to: http://localhost:27753/json
[iOS] Attempted to get a list of webview contexts but could not connect to ios-webkit-debug-proxy. If you expect to find webviews, please ensure that the proxy is running and accessible
[debug] [iOS] No web frames found.
[MJSONWP] Responding to client with driver.getContexts() result: [“NATIVE_APP”]
[HTTP] <-- GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/contexts 200 14 ms - 86
[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading…
[debug] [iProxy] recv failed: Resource temporarily unavailable
[debug] [iProxy] recv failed: Operation not permitted
[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading…
[HTTP] --> GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/source {}
[MJSONWP] Calling AppiumDriver.getPageSource() with args: ["ce209093-0b82-48c7-9b08-e…
[debug] [XCUITest] Executing command ‘getPageSource’
[JSONWP Proxy] Proxying [POST /source] to [POST http://localhost:8100/session/D96CFA2F-3620-48DC-8ADC-C2F21CA51907/source] with no body
[JSONWP Proxy] Got response with status 200: "{\n “value” : {\n "…
[MJSONWP] Responding to client with driver.getPageSource() result: "<?xml version=“1.0” enco…
[HTTP] <-- GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/source 200 1373 ms - 26384
[HTTP] --> GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/orientation {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [XCUITest] Executing command ‘proxyReqRes’
[JSONWP Proxy] Proxying [GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/orientation] to [GET http://localhost:8100/session/D96CFA2F-3620-48DC-8ADC-C2F21CA51907/orientation] with body: {}
[JSONWP Proxy] Got response with status 200: "{\n “value” : "PORTRAI…
[JSONWP Proxy] Replacing sessionId D96CFA2F-3620-48DC-8ADC-C2F21CA51907 with ce209093-0b82-48c7-9b08-ef78d7d785a4
[HTTP] <-- GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/orientation 200 213 ms - 82
[HTTP] --> GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/screenshot {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [XCUITest] Executing command ‘proxyReqRes’
[JSONWP Proxy] Proxying [GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/screenshot] to [GET http://localhost:8100/session/D96CFA2F-3620-48DC-8ADC-C2F21CA51907/screenshot] with body: {}
[JSONWP Proxy] Got response with status 200: "{\n “value” : "iVBORw0…
[JSONWP Proxy] Replacing sessionId D96CFA2F-3620-48DC-8ADC-C2F21CA51907 with ce209093-0b82-48c7-9b08-ef78d7d785a4
[HTTP] <-- GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/screenshot 200 166 ms - 314538
[HTTP] --> GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/contexts {}
[MJSONWP] Calling AppiumDriver.getContexts() with args: ["ce209093-0b82-48c7-9b08-e…
[debug] [XCUITest] Executing command ‘getContexts’
[debug] [iOS] Getting list of available contexts
[debug] [iOS] Retrieving contexts and views
[debug] [iOS] Selecting by url: false
[debug] [RemoteDebugger] Getting WebKitRemoteDebugger pageArray: localhost, 27753
[debug] [RemoteDebugger] Sending request to: http://localhost:27753/json
[iOS] Attempted to get a list of webview contexts but could not connect to ios-webkit-debug-proxy. If you expect to find webviews, please ensure that the proxy is running and accessible
[debug] [iOS] No web frames found.
[MJSONWP] Responding to client with driver.getContexts() result: [“NATIVE_APP”]
[HTTP] <-- GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/contexts 200 23 ms - 86
[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading…
[HTTP] --> GET /wd/hub/sessions {}
[MJSONWP] Calling AppiumDriver.getSessions() with args: []
[MJSONWP] Responding to client with driver.getSessions() result: [{“id”:"ce209093-0b82-48c7-…
[HTTP] <-- GET /wd/hub/sessions 304 2 ms - -
[HTTP] --> GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/source {}
[MJSONWP] Calling AppiumDriver.getPageSource() with args: ["ce209093-0b82-48c7-9b08-e…
[debug] [XCUITest] Executing command ‘getPageSource’
[JSONWP Proxy] Proxying [POST /source] to [POST http://localhost:8100/session/D96CFA2F-3620-48DC-8ADC-C2F21CA51907/source] with no body
[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading…
[JSONWP Proxy] Got response with status 200: "{\n “value” : {\n "…
[MJSONWP] Responding to client with driver.getPageSource() result: "<?xml version=“1.0” enco…
[HTTP] <-- GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/source 200 1356 ms - 26384
[HTTP] --> GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/screenshot {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [XCUITest] Executing command ‘proxyReqRes’
[JSONWP Proxy] Proxying [GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/screenshot] to [GET http://localhost:8100/session/D96CFA2F-3620-48DC-8ADC-C2F21CA51907/screenshot] with body: {}
[JSONWP Proxy] Got response with status 200: "{\n “value” : "iVBORw0…
[JSONWP Proxy] Replacing sessionId D96CFA2F-3620-48DC-8ADC-C2F21CA51907 with ce209093-0b82-48c7-9b08-ef78d7d785a4
[HTTP] <-- GET /wd/hub/session/ce209093-0b82-48c7-9b08-ef78d7d785a4/screenshot 200 156 ms - 314634
[debug] [iProxy] recv failed: Resource temporarily unavailable
[debug] [iProxy] recv failed: Operation not permitted
[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading…
[BaseDriver] Shutting down because we waited 60 seconds for a command
[JSONWP Proxy] Proxying [DELETE /session/ce209093-0b82-48c7-9b08-ef78d7d785a4] to [DELETE http://localhost:8100/session/D96CFA2F-3620-48DC-8ADC-C2F21CA51907] with no body
[Appium] Closing session, cause was ‘New Command Timeout of 60 seconds expired. Try customizing the timeout using the ‘newCommandTimeout’ desired capability’
[Appium] Removing session ce209093-0b82-48c7-9b08-ef78d7d785a4 from our master session list
[JSONWP Proxy] Got response with status 200: "{\n “value” : {\n\n },…
[XCUITest] Shutting down WebDriverAgent
[XCUITest] xcodebuild exited with code ‘null’ and signal ‘SIGTERM’
[XCUITest] System log exited with code ‘0’
[debug] [XCUITest] WebDriverAgent process did not end in a timely fashion. Sending SIGHUP signal…
[debug] [XCUITest] Running ios real device reset flow
[debug] [XCUITest] Resetting simulator
[debug] [iOSLog] Stopping iOS log capture

Things that i have tried :
sudo chmod 777 /var/db/lockdown
updating ilibimobiledevice
***checking unchecking ***

i have provided the screenshots of my Inspector too.

but none worked.
@pavanbachu @wreed @Aleksei

Please help!