Could not proxy command to remote server. Original error: Error: socket hang up-Appium Desktop 1.6.4 beta

I am trying to set up appium for an iOS app in my organization and the error logs are as follows:

MAC version-10.12
Appium v1.6.4-beta

[Appium] Welcome to Appium v1.6.4-beta
[Appium] Non-default server args:
[Appium] port: 4725
[Appium] Appium REST http interface listener started on 0.0.0.0:4725
[HTTP] --> POST /wd/hub/session {“desiredCapabilities”:{“app”:"/Users/ronit.joardar/Documents/workspace/AppiumTest/Application/MCRM-iOS-MCRMDEMO-1.0.ipa",“platformVersion”:“10.2”,“automationName”:“xcuitest”,“browserName”:“ios”,“xcodeConfigFile”:"/Users/ronit.joardar/Documents/workspace/AppiumTest/appium.xcconfig",“platformName”:“iOS”,“udid”:“d6ee40dcb1779aba7b0324d8ede975362e2a17c0”,“deviceName”:“Air 2”,“updatedWDABundleId”:“pankanis.appium-WebDriverAgentRunner”}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{“app”:"/Users/ronit.joardar/Documents/workspace/AppiumTest/Application/MCRM-iOS-MCRMDEMO-1.0.ipa",“platformVersion”:“10.2”,“automationName”:“xcuitest”,“browserName”:“ios”,“xcodeConfigFile”:"/Users/ronit.joardar/Documents/workspace/AppiumTest/appium.xcconfig",“platformName”:“iOS”,“udid”:“d6ee40dcb1779aba7b0324d8ede975362e2a17c0”,“deviceName”:“Air 2”,“updatedWDABundleId”:“pankanis.appium-WebDriverAgentRunner”},null,null,null,null]
[BaseDriver] Event ‘newSessionRequested’ logged at 1490096403415 (17:10:03 GMT+0530 (IST))
[Appium] Creating new XCUITestDriver (v2.20.0) session
[Appium] Capabilities:
[Appium] app: ‘/Users/ronit.joardar/Documents/workspace/AppiumTest/Application/MCRM-iOS-MCRMDEMO-1.0.ipa’
[Appium] platformVersion: ‘10.2’
[Appium] automationName: ‘xcuitest’
[Appium] browserName: ‘ios’
[Appium] xcodeConfigFile: ‘/Users/ronit.joardar/Documents/workspace/AppiumTest/appium.xcconfig’
[Appium] platformName: ‘iOS’
[Appium] udid: ‘d6ee40dcb1779aba7b0324d8ede975362e2a17c0’
[Appium] deviceName: ‘Air 2’
[Appium] updatedWDABundleId: ‘pankanis.appium-WebDriverAgentRunner’
[XCUITest] XCUITestDriver version: 2.20.0
[BaseDriver] Session created with session id: a16628bd-843f-4bc3-a66a-77dfb75aae04
[XCUITest] Xcode version set to ‘8.2.1’ (tools v8.0.0.0.1.1472435881)
[XCUITest] iOS SDK Version set to ‘10.2’
[BaseDriver] Event ‘xcodeDetailsRetrieved’ logged at 1490096405487 (17:10:05 GMT+0530 (IST))
[XCUITest] Available devices: d6ee40dcb1779aba7b0324d8ede975362e2a17c0
[XCUITest] Creating iDevice object with udid ‘d6ee40dcb1779aba7b0324d8ede975362e2a17c0’
[XCUITest] Determining device to run tests on: udid: ‘d6ee40dcb1779aba7b0324d8ede975362e2a17c0’, real device: true
[BaseDriver] Using local app ‘/Users/ronit.joardar/Documents/workspace/AppiumTest/Application/MCRM-iOS-MCRMDEMO-1.0.ipa’
[BaseDriver] Copying local zip to tmp dir
[BaseDriver] Unzipping /var/folders/4g/jzbb7vzn2lxdw0p34fwklmlwjy7xdc/T/2017221-401-3b4axu.ccyk0dlsor/appium-app.zip
[BaseDriver] Testing zip archive: /var/folders/4g/jzbb7vzn2lxdw0p34fwklmlwjy7xdc/T/2017221-401-3b4axu.ccyk0dlsor/appium-app.zip
[BaseDriver] Unzipped local app to ‘/var/folders/4g/jzbb7vzn2lxdw0p34fwklmlwjy7xdc/T/2017221-401-3b4axu.ccyk0dlsor/Payload/MCRM_DEMO.app’
[BaseDriver] Event ‘appConfigured’ logged at 1490096410145 (17:10:10 GMT+0530 (IST))
[XCUITest] Checking whether app ‘/var/folders/4g/jzbb7vzn2lxdw0p34fwklmlwjy7xdc/T/2017221-401-3b4axu.ccyk0dlsor/Payload/MCRM_DEMO.app’ is actually present on file system
[XCUITest] App is present
[iOS] Getting bundle ID from app ‘/var/folders/4g/jzbb7vzn2lxdw0p34fwklmlwjy7xdc/T/2017221-401-3b4axu.ccyk0dlsor/Payload/MCRM_DEMO.app’: ‘com.pankanis.demos.mcrm’
[BaseDriver] Event ‘resetStarted’ logged at 1490096410152 (17:10:10 GMT+0530 (IST))
[XCUITest] Reset: running ios real device reset flow
[BaseDriver] Event ‘resetComplete’ logged at 1490096410153 (17:10:10 GMT+0530 (IST))
[iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[iOSLog] Found idevicesyslog: ‘/usr/local/bin/idevicesyslog’
[BaseDriver] Event ‘logCaptureStarted’ logged at 1490096410570 (17:10:10 GMT+0530 (IST))
[XCUITest] Setting up real device
[XCUITest] Reset requested. Removing app with id ‘com.pankanis.demos.mcrm’ from the device
[XCUITest] Installing ‘/var/folders/4g/jzbb7vzn2lxdw0p34fwklmlwjy7xdc/T/2017221-401-3b4axu.ccyk0dlsor/Payload/MCRM_DEMO.app’ on device with UUID ‘d6ee40dcb1779aba7b0324d8ede975362e2a17c0’…
[XCUITest] The app has been installed successfully.
[BaseDriver] Event ‘appInstalled’ logged at 1490096421395 (17:10:21 GMT+0530 (IST))
[BaseDriver] Event ‘wdaStartAttempted’ logged at 1490096421397 (17:10:21 GMT+0530 (IST))
[XCUITest] Using WDA path: ‘/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent’
[XCUITest] Using WDA agent: ‘/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj’
[XCUITest] Launching WebDriverAgent on the device
[XCUITest] Carthage found: ‘/usr/local/bin/carthage’
[XCUITest] Successfully updated ‘/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj/project.pbxproj’ with bundle id ‘pankanis.appium-WebDriverAgentRunner’
[XCUITest] Killing hanging processes
[XCUITest] Using Xcode configuration file: ‘/Users/ronit.joardar/Documents/workspace/AppiumTest/appium.xcconfig’
[XCUITest] Beginning test with command ‘xcodebuild build-for-testing test-without-building -project /Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=d6ee40dcb1779aba7b0324d8ede975362e2a17c0 -configuration Debug -xcconfig /Users/ronit.joardar/Documents/workspace/AppiumTest/appium.xcconfig’ in directory ‘/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent’
[XCUITest] Output from xcodebuild will not be logged
[XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB
[XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[Xcode] 2017-03-21 17:10:28.939 xcodebuild[964:14211] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 “The folder “WebDriverAgentRunner_iphoneos10.2-arm64.xctestrun” doesn’t exist.” UserInfo={NSFilePath=/Users/ronit.joardar/Library/Developer/Xcode/DerivedData/WebDriverAgent-gkixdewxboccnufprcbllaxhlbzt/Build/Products/WebDriverAgentRunner_iphoneos10.2-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fc9388aabe0 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
[Xcode]
[Xcode] 2017-03-21 17:10:28.940 xcodebuild[964:14211] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 “The folder “WebDriverAgentRunner_iphoneos10.2-arm64.xctestrun” doesn’t exist.” UserInfo={NSFilePath=/Users/ronit.joardar/Library/Developer/Xcode/DerivedData/WebDriverAgent-gkixdewxboccnufprcbllaxhlbzt/Build/Products/WebDriverAgentRunner_iphoneos10.2-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fc938b426a0 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
[Xcode]
[Xcode] ** TEST BUILD FAILED **
[Xcode]
[Xcode]
[Xcode] The following build commands failed:
[Xcode] Check dependencies
[Xcode] (1 failure)
[Xcode]
[XCUITest] Log file for xcodebuild test: /Users/ronit.joardar/Library/Developer/Xcode/DerivedData/WebDriverAgent-gkixdewxboccnufprcbllaxhlbzt/Logs/Test/B128F766-FC14-45EB-949E-E2113C5B58C9/Session-WebDriverAgentRunner-2017-03-21_171029-ULjP2W.log
[Xcode] 2017-03-21 17:10:29.075 xcodebuild[964:14258] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[Xcode] /Users/ronit.joardar/Library/Developer/Xcode/DerivedData/WebDriverAgent-gkixdewxboccnufprcbllaxhlbzt/Logs/Test/B128F766-FC14-45EB-949E-E2113C5B58C9/Session-WebDriverAgentRunner-2017-03-21_171029-ULjP2W.log
[Xcode] 2017-03-21 17:10:29.075 xcodebuild[964:14209] [MT] IDETestOperationsObserverDebug: (9B26DEFD-409B-49FD-931E-28E46636CE2E) Beginning test session WebDriverAgentRunner-9B26DEFD-409B-49FD-931E-28E46636CE2E at 2017-03-21 17:10:29.074 with Xcode 8C1002 on target {
[Xcode] deviceSerialNumber: DMPQ1085G5WQ
[Xcode] identifier: d6ee40dcb1779aba7b0324d8ede975362e2a17c0
[Xcode] deviceClass: iPad
[Xcode] deviceName: Air 2
[Xcode] deviceIdentifier: d6ee40dcb1779aba7b0324d8ede975362e2a17c0
[Xcode] productVersion: 10.2
[Xcode] buildVersion: 14C5069c
[Xcode] deviceSoftwareVersion: 10.2 (14C5069c)
[Xcode] deviceArchitecture: arm64
[Xcode] deviceTotalCapacity: 12174934016
[Xcode] deviceAvailableCapacity: 4384239616
[Xcode] deviceIsTransient: NO
[Xcode] ignored: NO
[Xcode] deviceIsBusy: NO
[Xcode] deviceIsActivated: YES
[Xcode] deviceActivationState: Activated
[Xcode] deviceType:
[Xcode] supportedDeviceFamilies: (
[Xcode] 1,
[Xcode] 2
[Xcode] )
[Xcode] applications: (null)
[Xcode] provisioningProfiles: (null)
[Xcode] activityProgress: -2
[Xcode] activityTitle:
[Xcode] hasInternalSupport: NO
[Xcode] isSupportedOS: YES
[Xcode] developerDiskMountError: (null)
[Xcode] (null)
[Xcode] } (10.2 (14C5069c))
[Xcode]
[Xcode] 2017-03-21 17:10:29.140 xcodebuild[964:14209] Error Domain=NSCocoaErrorDomain Code=260 “The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/Users/ronit.joardar/Library/Developer/Xcode/DerivedData/WebDriverAgent-gkixdewxboccnufprcbllaxhlbzt/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7fc938eed810 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
[Xcode] 2017-03-21 17:10:29.140 xcodebuild[964:14209] Error Domain=IDETestOperationsObserverErrorDomain Code=5 “Early unexpected exit, operation never finished bootstrapping - no restart will be attempted” UserInfo={NSLocalizedDescription=Early unexpected exit, operation never finished bootstrapping - no restart will be attempted}
[Xcode]
[Xcode] ** TEST EXECUTE FAILED **
[Xcode]
[Xcode]
[XCUITest] xcodebuild exited with code ‘65’ and signal ‘null’
[BaseDriver] Event ‘wdaStartFailed’ logged at 1490096429155 (17:10:29 GMT+0530 (IST))
[XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
[XCUITest] Quitting and uninstalling WebDriverAgent, then retrying
[XCUITest] Shutting down sub-processes
[XCUITest] Shutting down iproxy process (pid 963)
[XCUITest] iproxy exited with code ‘null’
[XCUITest] Successfully reset ‘/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj/project.pbxproj’ with bundle id ‘com.facebook.WebDriverAgentRunner’
[XCUITest] Removing WDA application from device
[BaseDriver] Event ‘wdaStartAttempted’ logged at 1490096439352 (17:10:39 GMT+0530 (IST))
[XCUITest] Using WDA path: ‘/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent’
[XCUITest] Using WDA agent: ‘/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj’
[XCUITest] Launching WebDriverAgent on the device
[XCUITest] Carthage found: ‘/usr/local/bin/carthage’
[XCUITest] Successfully updated ‘/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj/project.pbxproj’ with bundle id ‘pankanis.appium-WebDriverAgentRunner’
[XCUITest] Killing hanging processes
[XCUITest] Using Xcode configuration file: ‘/Users/ronit.joardar/Documents/workspace/AppiumTest/appium.xcconfig’
[XCUITest] Beginning test with command ‘xcodebuild build-for-testing test-without-building -project /Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=d6ee40dcb1779aba7b0324d8ede975362e2a17c0 -configuration Debug -xcconfig /Users/ronit.joardar/Documents/workspace/AppiumTest/appium.xcconfig’ in directory ‘/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent’
[XCUITest] Output from xcodebuild will not be logged
[XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB
[XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[Xcode] 2017-03-21 17:10:45.443 xcodebuild[1003:14443] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 “The folder “WebDriverAgentRunner_iphoneos10.2-arm64.xctestrun” doesn’t exist.” UserInfo={NSFilePath=/Users/ronit.joardar/Library/Developer/Xcode/DerivedData/WebDriverAgent-gkixdewxboccnufprcbllaxhlbzt/Build/Products/WebDriverAgentRunner_iphoneos10.2-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fc5c3e1e530 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
[Xcode]
[Xcode] 2017-03-21 17:10:45.444 xcodebuild[1003:14443] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 “The folder “WebDriverAgentRunner_iphoneos10.2-arm64.xctestrun” doesn’t exist.” UserInfo={NSFilePath=/Users/ronit.joardar/Library/Developer/Xcode/DerivedData/WebDriverAgent-gkixdewxboccnufprcbllaxhlbzt/Build/Products/WebDriverAgentRunner_iphoneos10.2-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fc5c3b35550 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
[Xcode] ** TEST BUILD FAILED **
[Xcode]
[Xcode]
[Xcode] The following build commands failed:
[Xcode] Check dependencies
[Xcode] (1 failure)
[Xcode]
[XCUITest] Log file for xcodebuild test: /Users/ronit.joardar/Library/Developer/Xcode/DerivedData/WebDriverAgent-gkixdewxboccnufprcbllaxhlbzt/Logs/Test/4AF250A3-85E5-4FED-AADD-1B3B802107DF/Session-WebDriverAgentRunner-2017-03-21_171045-bBsEPo.log
[Xcode] 2017-03-21 17:10:45.454 xcodebuild[1003:14428] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[Xcode] /Users/ronit.joardar/Library/Developer/Xcode/DerivedData/WebDriverAgent-gkixdewxboccnufprcbllaxhlbzt/Logs/Test/4AF250A3-85E5-4FED-AADD-1B3B802107DF/Session-WebDriverAgentRunner-2017-03-21_171045-bBsEPo.log
[Xcode]
[Xcode] 2017-03-21 17:10:45.454 xcodebuild[1003:14425] [MT] IDETestOperationsObserverDebug: (094EC266-4506-458E-85A1-F8DA5A49090D) Beginning test session WebDriverAgentRunner-094EC266-4506-458E-85A1-F8DA5A49090D at 2017-03-21 17:10:45.453 with Xcode 8C1002 on target {
[Xcode] deviceSerialNumber: DMPQ1085G5WQ
[Xcode] identifier: d6ee40dcb1779aba7b0324d8ede975362e2a17c0
[Xcode] deviceClass: iPad
[Xcode] deviceName: Air 2
[Xcode] deviceIdentifier: d6ee40dcb1779aba7b0324d8ede975362e2a17c0
[Xcode] productVersion: 10.2
[Xcode] buildVersion: 14C5069c
[Xcode] deviceSoftwareVersion: 10.2 (14C5069c)
[Xcode] deviceArchitecture: arm64
[Xcode] deviceTotalCapacity: 12174934016
[Xcode] deviceAvailableCapacity: 4384169984
[Xcode] deviceIsTransient: NO
[Xcode] ignored: NO
[Xcode] deviceIsBusy: NO
[Xcode] deviceIsActivated: YES
[Xcode] deviceActivationState: Activated
[Xcode] deviceType:
[Xcode] supportedDeviceFamilies: (
[Xcode] 1,
[Xcode] 2
[Xcode] )
[Xcode] applications: (null)
[Xcode] provisioningProfiles: (null)
[Xcode] activityProgress: -2
[Xcode] activityTitle:
[Xcode] hasInternalSupport: NO
[Xcode] isSupportedOS: YES
[Xcode] developerDiskMountError: (null)
[Xcode] (null)
[Xcode] } (10.2 (14C5069c))
[Xcode]
[Xcode] 2017-03-21 17:10:45.465 xcodebuild[1003:14425] Error Domain=NSCocoaErrorDomain Code=260 “The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/Users/ronit.joardar/Library/Developer/Xcode/DerivedData/WebDriverAgent-gkixdewxboccnufprcbllaxhlbzt/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7fc5c43293d0 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
[Xcode] 2017-03-21 17:10:45.465 xcodebuild[1003:14425] Error Domain=IDETestOperationsObserverErrorDomain Code=5 “Early unexpected exit, operation never finished bootstrapping - no restart will be attempted” UserInfo={NSLocalizedDescription=Early unexpected exit, operation never finished bootstrapping - no restart will be attempted}
[Xcode]
[Xcode] ** TEST EXECUTE FAILED **
[Xcode]
[Xcode]
[XCUITest] xcodebuild exited with code ‘65’ and signal ‘null’
[BaseDriver] Event ‘wdaStartFailed’ logged at 1490096445477 (17:10:45 GMT+0530 (IST))
[XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
[XCUITest] Quitting and uninstalling WebDriverAgent, then retrying
[XCUITest] Shutting down sub-processes
[XCUITest] Shutting down iproxy process (pid 1001)
[XCUITest] iproxy exited with code ‘null’
[XCUITest] Successfully reset ‘/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj/project.pbxproj’ with bundle id ‘com.facebook.WebDriverAgentRunner’
[XCUITest] Removing WDA application from device
[XCUITest] Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
at XCUITestDriver.quitAndUninstall$ (/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/lib/driver.js:368:15)
at tryCatch (/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:136:37)
Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
at XCUITestDriver.quitAndUninstall$ (/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/lib/driver.js:368:15)
at tryCatch (/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[iOSLog] Stopping iOS log capture
[MJSONWP] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
at XCUITestDriver.quitAndUninstall$ (/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/lib/driver.js:368:15)
at tryCatch (/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[HTTP] <-- POST /wd/hub/session 500 52335 ms - 230

capabilities set are:

cap.setCapability("deviceName", "Air 2");
	cap.setCapability("platformName", "IOS");
	cap.setCapability("platformVersion", "10.2");
	cap.setCapability(CapabilityType.BROWSER_NAME, "ios");
	cap.setCapability("automationName", "xcuitest");
	cap.setCapability("bundleId", "com.pankanis.apps.osc");
	cap.setCapability("xcodeConfigFile", "/Users/ronit.joardar/Documents/workspace/AppiumTest/appium.xcconfig");
	cap.setCapability("udid", "d6ee40dcb1779aba7b0324d8ede975362e2a17c0");
	cap.setCapability("updatedWDABundleId","pankanis.appium-WebDriverAgentRunner");
	cap.setCapability(MobileCapabilityType.APP,app.getAbsolutePath());

Please help me with how I can solve this error, I have manually created updatedWDABundleId as it was mentioned as a resolution for this type of issue but it did not work.
Thanks in Advance!

This was a signing issue and I finally solved it but the now there is a new issue which says Unable to start WebDriverAgent session: Could not proxy command to remote server. Original error: Error: socket hang up
the environment is

OSX-10.12
Appium Desktop- 1.6.4 beta

Logs:

The server is running
Start New SessionStop Server
[Appium] Welcome to Appium v1.6.4-beta
[Appium] Non-default server args:
[Appium] port: 4725
[Appium] Appium REST http interface listener started on 0.0.0.0:4725
[HTTP] --> POST /wd/hub/session {“desiredCapabilities”:{“app”:"/Users/ronit.joardar/Documents/workspace/AppiumTest/Application/OracleServiceCloud-iOS-OracleServiceCloud-1.0.0.ipa",“noReset”:true,“platformVersion”:“10.2”,“automationName”:“XCUITest”,“bundleId”:“com.pankanis.apps.osc”,“browserName”:“ios”,“xcodeConfigFile”:"/Users/ronit.joardar/Documents/workspace/AppiumTest/appium.xcconfig",“platformName”:“iOS”,“udid”:“d6ee40dcb1779aba7b0324d8ede975362e2a17c0”,“deviceName”:“Air 2”,“updatedWDABundleId”:“pankanis.appium-WebDriverAgentRunner”}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{“app”:"/Users/ronit.joardar/Documents/workspace/AppiumTest/Application/OracleServiceCloud-iOS-OracleServiceCloud-1.0.0.ipa",“noReset”:true,“platformVersion”:“10.2”,“automationName”:“XCUITest”,“bundleId”:“com.pankanis.apps.osc”,“browserName”:“ios”,“xcodeConfigFile”:"/Users/ronit.joardar/Documents/workspace/AppiumTest/appium.xcconfig",“platformName”:“iOS”,“udid”:“d6ee40dcb1779aba7b0324d8ede975362e2a17c0”,“deviceName”:“Air 2”,“updatedWDABundleId”:“pankanis.appium-WebDriverAgentRunner”},null,null,null,null]
[BaseDriver] Event ‘newSessionRequested’ logged at 1490178159075 (15:52:39 GMT+0530 (IST))
[Appium] Creating new XCUITestDriver (v2.20.0) session
[Appium] Capabilities:
[Appium] app: ‘/Users/ronit.joardar/Documents/workspace/AppiumTest/Application/OracleServiceCloud-iOS-OracleServiceCloud-1.0.0.ipa’
[Appium] noReset: true
[Appium] platformVersion: ‘10.2’
[Appium] automationName: ‘XCUITest’
[Appium] bundleId: ‘com.pankanis.apps.osc’
[Appium] browserName: ‘ios’
[Appium] xcodeConfigFile: ‘/Users/ronit.joardar/Documents/workspace/AppiumTest/appium.xcconfig’
[Appium] platformName: ‘iOS’
[Appium] udid: ‘d6ee40dcb1779aba7b0324d8ede975362e2a17c0’
[Appium] deviceName: ‘Air 2’
[Appium] updatedWDABundleId: ‘pankanis.appium-WebDriverAgentRunner’
[XCUITest] XCUITestDriver version: 2.20.0
[BaseDriver] Session created with session id: a77ba16a-105d-4036-b377-2ed5bc0541a3
[XCUITest] Xcode version set to ‘8.2.1’ (tools v8.0.0.0.1.1472435881)
[XCUITest] iOS SDK Version set to ‘10.2’
[BaseDriver] Event ‘xcodeDetailsRetrieved’ logged at 1490178159118 (15:52:39 GMT+0530 (IST))
[XCUITest] Available devices: d6ee40dcb1779aba7b0324d8ede975362e2a17c0
[XCUITest] Creating iDevice object with udid ‘d6ee40dcb1779aba7b0324d8ede975362e2a17c0’
[XCUITest] Determining device to run tests on: udid: ‘d6ee40dcb1779aba7b0324d8ede975362e2a17c0’, real device: true
[BaseDriver] Using local app ‘/Users/ronit.joardar/Documents/workspace/AppiumTest/Application/OracleServiceCloud-iOS-OracleServiceCloud-1.0.0.ipa’
[BaseDriver] Copying local zip to tmp dir
[BaseDriver] Unzipping /var/folders/4g/jzbb7vzn2lxdw0p34fwklmlwjy7xdc/T/2017222-449-btp31k.nl0k8adcxr/appium-app.zip
[BaseDriver] Testing zip archive: /var/folders/4g/jzbb7vzn2lxdw0p34fwklmlwjy7xdc/T/2017222-449-btp31k.nl0k8adcxr/appium-app.zip
[BaseDriver] Unzipped local app to ‘/var/folders/4g/jzbb7vzn2lxdw0p34fwklmlwjy7xdc/T/2017222-449-btp31k.nl0k8adcxr/Payload/MCRMOSC.app’
[BaseDriver] Event ‘appConfigured’ logged at 1490178160019 (15:52:40 GMT+0530 (IST))
[XCUITest] Checking whether app ‘/var/folders/4g/jzbb7vzn2lxdw0p34fwklmlwjy7xdc/T/2017222-449-btp31k.nl0k8adcxr/Payload/MCRMOSC.app’ is actually present on file system
[XCUITest] App is present
[BaseDriver] Event ‘resetStarted’ logged at 1490178160020 (15:52:40 GMT+0530 (IST))
[XCUITest] Reset: fullReset not set. Leaving as is
[BaseDriver] Event ‘resetComplete’ logged at 1490178160021 (15:52:40 GMT+0530 (IST))
[iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[iOSLog] Found idevicesyslog: ‘/usr/local/bin/idevicesyslog’
[BaseDriver] Event ‘logCaptureStarted’ logged at 1490178160137 (15:52:40 GMT+0530 (IST))
[XCUITest] Setting up real device
[XCUITest] App ‘com.pankanis.apps.osc’ is already installed. No need to reinstall.
[BaseDriver] Event ‘appInstalled’ logged at 1490178160322 (15:52:40 GMT+0530 (IST))
[BaseDriver] Event ‘wdaStartAttempted’ logged at 1490178160325 (15:52:40 GMT+0530 (IST))
[XCUITest] Using WDA path: ‘/Applications/AppiumDesktop.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent’
[XCUITest] Using WDA agent: ‘/Applications/AppiumDesktop.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj’
[XCUITest] Launching WebDriverAgent on the device
[XCUITest] Carthage found: ‘/usr/local/bin/carthage’
[XCUITest] Successfully updated ‘/Applications/AppiumDesktop.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj/project.pbxproj’ with bundle id ‘pankanis.appium-WebDriverAgentRunner’
[XCUITest] Killing hanging processes
[XCUITest] Using Xcode configuration file: ‘/Users/ronit.joardar/Documents/workspace/AppiumTest/appium.xcconfig’
[XCUITest] Beginning test with command ‘xcodebuild build-for-testing test-without-building -project /Applications/AppiumDesktop.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=d6ee40dcb1779aba7b0324d8ede975362e2a17c0 -configuration Debug -xcconfig /Users/ronit.joardar/Documents/workspace/AppiumTest/appium.xcconfig’ in directory ‘/Applications/AppiumDesktop.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent’
[XCUITest] Output from xcodebuild will not be logged
[XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB
[XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[XCUITest] Log file for xcodebuild test: /Users/ronit.joardar/Library/Developer/Xcode/DerivedData/WebDriverAgent-dfqspvdyxhodsnduoperzzrhxmla/Logs/Test/E8D76329-CB1A-48C8-9F33-FC9060C4D0A0/Session-WebDriverAgentRunner-2017-03-22_155247-oXE1id.log
[Xcode] 2017-03-22 15:52:47.483 xcodebuild[10920:97193] Error Domain=IDEFoundationErrorDomain Code=1 “No Info.plist found for target application at path /Users/ronit.joardar/Library/Developer/Xcode/DerivedData/WebDriverAgent-dfqspvdyxhodsnduoperzzrhxmla/Build/Products/Debug-iphoneos/IntegrationApp.app/Info.plist” UserInfo={NSLocalizedDescription=No Info.plist found for target application at path /Users/ronit.joardar/Library/Developer/Xcode/DerivedData/WebDriverAgent-dfqspvdyxhodsnduoperzzrhxmla/Build/Products/Debug-iphoneos/IntegrationApp.app/Info.plist}
[Xcode] 2017-03-22 15:52:47.483 xcodebuild[10920:97193] Error Domain=IDETestOperationsObserverErrorDomain Code=3 “No Info.plist found for target application at path /Users/ronit.joardar/Library/Developer/Xcode/DerivedData/WebDriverAgent-dfqspvdyxhodsnduoperzzrhxmla/Build/Products/Debug-iphoneos/IntegrationApp.app/Info.plist If you believe this error represents a bug, please attach the log file at /Users/ronit.joardar/Library/Developer/Xcode/DerivedData/WebDriverAgent-dfqspvdyxhodsnduoperzzrhxmla/Logs/Test/E8D76329-CB1A-48C8-9F33-FC9060C4D0A0/Session-WebDriverAgentRunner-2017-03-22_155247-oXE1id.log” UserInfo={NSLocalizedDescription=No Info.plist found for target application at path /Users/ronit.joardar/Library/Developer/Xcode/DerivedData/WebDriverAgent-dfqspvdyxhodsnduoperzzrhxmla/Build/Products/Debug-iphoneos/IntegrationApp.app/Info.plist If you believe this error represents a bug, please attach the log file at /Users/ronit.joardar/Library/Developer/Xcode/DerivedData/WebDriverAgent-dfqspvdyxhodsnduoperzzrhxmla/Logs/Test/E8D76329-CB1A-48C8-9F33-FC9060C4D0A0/Session-WebDriverAgentRunner-2017-03-22_155247-oXE1id.log}
[Xcode]
[XCUITest] Unable to connect to running WebDriverAgent: Error: socket hang up
[XCUITest] Getting status of WebDriverAgent on device timed out. Continuing
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1490178366924 (15:56:06 GMT+0530 (IST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1490178367940 (15:56:07 GMT+0530 (IST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1490178368949 (15:56:08 GMT+0530 (IST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1490178369959 (15:56:09 GMT+0530 (IST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1490178370971 (15:56:10 GMT+0530 (IST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1490178371983 (15:56:11 GMT+0530 (IST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1490178372990 (15:56:12 GMT+0530 (IST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1490178374001 (15:56:14 GMT+0530 (IST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1490178375012 (15:56:15 GMT+0530 (IST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1490178376021 (15:56:16 GMT+0530 (IST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1490178377030 (15:56:17 GMT+0530 (IST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1490178378037 (15:56:18 GMT+0530 (IST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1490178379045 (15:56:19 GMT+0530 (IST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1490178380056 (15:56:20 GMT+0530 (IST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1490178381067 (15:56:21 GMT+0530 (IST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Failed to create WDA session. Retrying…
[XCUITest] Unable to start WebDriverAgent session: Could not proxy command to remote server. Original error: Error: socket hang up
[XCUITest] Quitting and uninstalling WebDriverAgent, then retrying
[XCUITest] Shutting down sub-processes
[XCUITest] Shutting down xcodebuild process (pid 10920)
[Xcode] ** BUILD INTERRUPTED **
[Xcode]
[XCUITest] xcodebuild exited with code ‘null’ and signal ‘SIGTERM’
[XCUITest] Shutting down iproxy process (pid 10914)
[XCUITest] iproxy exited with code ‘null’
[XCUITest] Successfully reset ‘/Applications/AppiumDesktop.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj/project.pbxproj’ with bundle id ‘com.facebook.WebDriverAgentRunner’
[XCUITest] Removing WDA application from device
[BaseDriver] Event ‘wdaStartAttempted’ logged at 1490178392486 (15:56:32 GMT+0530 (IST))
[XCUITest] Using WDA path: ‘/Applications/AppiumDesktop.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent’
[XCUITest] Using WDA agent: ‘/Applications/AppiumDesktop.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj’
[XCUITest] Launching WebDriverAgent on the device
[XCUITest] Carthage found: ‘/usr/local/bin/carthage’
[XCUITest] Successfully updated ‘/Applications/AppiumDesktop.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj/project.pbxproj’ with bundle id ‘pankanis.appium-WebDriverAgentRunner’
[XCUITest] Killing hanging processes
[XCUITest] Using Xcode configuration file: ‘/Users/ronit.joardar/Documents/workspace/AppiumTest/appium.xcconfig’
[XCUITest] Beginning test with command ‘xcodebuild build-for-testing test-without-building -project /Applications/AppiumDesktop.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=d6ee40dcb1779aba7b0324d8ede975362e2a17c0 -configuration Debug -xcconfig /Users/ronit.joardar/Documents/workspace/AppiumTest/appium.xcconfig’ in directory ‘/Applications/AppiumDesktop.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent’
[XCUITest] Output from xcodebuild will not be logged
[XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB
[XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[XCUITest] Log file for xcodebuild test: /Users/ronit.joardar/Library/Developer/Xcode/DerivedData/WebDriverAgent-dfqspvdyxhodsnduoperzzrhxmla/Logs/Test/48387529-DEE5-444E-A34B-0FB99D7899A3/Session-WebDriverAgentRunner-2017-03-22_155644-rLsSKc.log
[Xcode] 2017-03-22 15:56:45.120 xcodebuild[11095:98814] Error Domain=IDEFoundationErrorDomain Code=1 “No Info.plist found for target application at path /Users/ronit.joardar/Library/Developer/Xcode/DerivedData/WebDriverAgent-dfqspvdyxhodsnduoperzzrhxmla/Build/Products/Debug-iphoneos/IntegrationApp.app/Info.plist” UserInfo={NSLocalizedDescription=No Info.plist found for target application at path /Users/ronit.joardar/Library/Developer/Xcode/DerivedData/WebDriverAgent-dfqspvdyxhodsnduoperzzrhxmla/Build/Products/Debug-iphoneos/IntegrationApp.app/Info.plist}
[Xcode] 2017-03-22 15:56:45.120 xcodebuild[11095:98814] Error Domain=IDETestOperationsObserverErrorDomain Code=3 “No Info.plist found for target application at path /Users/ronit.joardar/Library/Developer/Xcode/DerivedData/WebDriverAgent-dfqspvdyxhodsnduoperzzrhxmla/Build/Products/Debug-iphoneos/IntegrationApp.app/Info.plist If you believe this error represents a bug, please attach the log file at /Users/ronit.joardar/Library/Developer/Xcode/DerivedData/WebDriverAgent-dfqspvdyxhodsnduoperzzrhxmla/Logs/Test/48387529-DEE5-444E-A34B-0FB99D7899A3/Session-WebDriverAgentRunner-2017-03-22_155644-rLsSKc.log” UserInfo={NSLocalizedDescription=No Info.plist found for target application at path /Users/ronit.joardar/Library/Developer/Xcode/DerivedData/WebDriverAgent-dfqspvdyxhodsnduoperzzrhxmla/Build/Products/Debug-iphoneos/IntegrationApp.app/Info.plist If you believe this error represents a bug, please attach the log file at /Users/ronit.joardar/Library/Developer/Xcode/DerivedData/WebDriverAgent-dfqspvdyxhodsnduoperzzrhxmla/Logs/Test/48387529-DEE5-444E-A34B-0FB99D7899A3/Session-WebDriverAgentRunner-2017-03-22_155644-rLsSKc.log}
[Xcode]
[XCUITest] Unable to connect to running WebDriverAgent: Error: socket hang up
[XCUITest] Getting status of WebDriverAgent on device timed out. Continuing
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1490178462784 (15:57:42 GMT+0530 (IST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1490178463797 (15:57:43 GMT+0530 (IST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1490178464805 (15:57:44 GMT+0530 (IST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1490178465813 (15:57:45 GMT+0530 (IST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1490178466824 (15:57:46 GMT+0530 (IST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1490178467834 (15:57:47 GMT+0530 (IST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1490178468843 (15:57:48 GMT+0530 (IST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1490178469850 (15:57:49 GMT+0530 (IST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1490178470862 (15:57:50 GMT+0530 (IST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1490178471872 (15:57:51 GMT+0530 (IST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1490178472879 (15:57:52 GMT+0530 (IST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1490178473906 (15:57:53 GMT+0530 (IST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1490178474916 (15:57:54 GMT+0530 (IST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1490178475924 (15:57:55 GMT+0530 (IST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1490178476931 (15:57:56 GMT+0530 (IST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Failed to create WDA session. Retrying…
[XCUITest] Unable to start WebDriverAgent session: Could not proxy command to remote server. Original error: Error: socket hang up
[XCUITest] Quitting and uninstalling WebDriverAgent, then retrying
[XCUITest] Shutting down sub-processes
[XCUITest] Shutting down xcodebuild process (pid 11095)
[Xcode] ** BUILD INTERRUPTED **
[Xcode]
[XCUITest] xcodebuild exited with code ‘null’ and signal ‘SIGTERM’
[XCUITest] Shutting down iproxy process (pid 11090)
[XCUITest] iproxy exited with code ‘null’
[XCUITest] Successfully reset ‘/Applications/AppiumDesktop.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj/project.pbxproj’ with bundle id ‘com.facebook.WebDriverAgentRunner’
[XCUITest] Removing WDA application from device
[XCUITest] Error: Unable to start WebDriverAgent session: Could not proxy command to remote server. Original error: Error: socket hang up
at XCUITestDriver.quitAndUninstall$ (/Applications/AppiumDesktop.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/lib/driver.js:368:15)
at tryCatch (/Applications/AppiumDesktop.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/AppiumDesktop.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Applications/AppiumDesktop.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/Applications/AppiumDesktop.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:136:37)
Error: Unable to start WebDriverAgent session: Could not proxy command to remote server. Original error: Error: socket hang up
at XCUITestDriver.quitAndUninstall$ (/Applications/AppiumDesktop.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/lib/driver.js:368:15)
at tryCatch (/Applications/AppiumDesktop.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/AppiumDesktop.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Applications/AppiumDesktop.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/Applications/AppiumDesktop.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[iOSLog] Stopping iOS log capture
[MJSONWP] Encountered internal error running command: Error: Unable to start WebDriverAgent session: Could not proxy command to remote server. Original error: Error: socket hang up
at XCUITestDriver.quitAndUninstall$ (/Applications/AppiumDesktop.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/lib/driver.js:368:15)
at tryCatch (/Applications/AppiumDesktop.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/AppiumDesktop.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Applications/AppiumDesktop.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/Applications/AppiumDesktop.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[HTTP] <-- POST /wd/hub/session 500 329244 ms - 256

@Mykola_Dzyuba @isaac please help as all the further processes have stopped because of this. Thanks in advance!

Did you ever figure this out? I just ran into the issue on one of my machines?

I figured it out on my end. I had to build the WebDriverAgent. Once that built successfully I re-ran the test and didn’t see the error:

[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status1] with no body

[Appium] Welcome to Appium v1.6.5
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {“capabilities”:{“alwaysMatch”:{“deviceName”:“iPhone 7”,“udid”:“d9ddaa496c5f95f9ee02e5c7af65c10ba4b3ebf6”,“automationName”:“XCUITest”,“realDevicelogger”:“idevicesyslog”,“browserName”:“Safari”,“safariIgnoreFraudWarning”:true,“platformVersion”:“10.2”,“platformName”:“iOS”,“bundleId”:“com.apple.mobilesafari”},“firstMatch”:[]},“desiredCapabilities”:{“deviceName”:“iPhone 7”,“udid”:“d9ddaa496c5f95f9ee02e5c7af65c10ba4b3ebf6”,“automationName”:“XCUITest”,“realDevicelogger”:“idevicesyslog”,“browserName”:“Safari”,“safariIgnoreFraudWarning”:true,“platformVersion”:“10.2”,“platformName”:“iOS”,“bundleId”:“com.apple.mobilesafari”}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{“deviceName”:“iPhone 7”,“udid”:“d9ddaa496c5f95f9ee02e5c7af65c10ba4b3ebf6”,“automationName”:“XCUITest”,“realDevicelogger”:“idevicesyslog”,“browserName”:“Safari”,“safariIgnoreFraudWarning”:true,“platformVersion”:“10.2”,“platformName”:“iOS”,“bundleId”:“com.apple.mobilesafari”},null,{“alwaysMatch”:{“deviceName”:“iPhone 7”,“udid”:“d9ddaa496c5f95f9ee02e5c7af65c10ba4b3ebf6”,“automationName”:“XCUITest”,“realDevicelogger”:“idevicesyslog”,“browserName”:“Safari”,“safariIgnoreFraudWarning”:true,“platformVersion”:“10.2”,“platformName”:“iOS”,“bundleId”:“com.apple.mobilesafari”},“firstMatch”:[]}]
[BaseDriver] Event ‘newSessionRequested’ logged at 1499245578622 (14:36:18 GMT+0530 (IST))
[Appium] Creating new XCUITestDriver (v2.30.0) session
[Appium] Capabilities:
[Appium] deviceName: ‘iPhone 7’
[Appium] udid: ‘d9ddaa496c5f95f9ee02e5c7af65c10ba4b3ebf6’
[Appium] automationName: ‘XCUITest’
[Appium] realDevicelogger: ‘idevicesyslog’
[Appium] browserName: ‘Safari’
[Appium] safariIgnoreFraudWarning: true
[Appium] platformVersion: ‘10.2’
[Appium] platformName: ‘iOS’
[Appium] bundleId: ‘com.apple.mobilesafari’
[XCUITest] XCUITestDriver version: 2.30.0
[BaseDriver] The following capabilities were provided, but are not recognized by appium: realDevicelogger.
[BaseDriver] Session created with session id: 93a89c14-3cfc-4a68-8a65-de94b62eee13
[XCUITest] Xcode version set to ‘8.3.3’
[XCUITest] iOS SDK Version set to ‘10.3’
[BaseDriver] Event ‘xcodeDetailsRetrieved’ logged at 1499245578782 (14:36:18 GMT+0530 (IST))
[XCUITest] Available devices: d9ddaa496c5f95f9ee02e5c7af65c10ba4b3ebf6
[XCUITest] Creating iDevice object with udid ‘d9ddaa496c5f95f9ee02e5c7af65c10ba4b3ebf6’
[XCUITest] Determining device to run tests on: udid: ‘d9ddaa496c5f95f9ee02e5c7af65c10ba4b3ebf6’, real device: true
[XCUITest] Safari test requested
[BaseDriver] Event ‘appConfigured’ logged at 1499245578860 (14:36:18 GMT+0530 (IST))
[BaseDriver] Event ‘resetStarted’ logged at 1499245578860 (14:36:18 GMT+0530 (IST))
[XCUITest] Reset: running ios real device reset flow
[BaseDriver] Event ‘resetComplete’ logged at 1499245578861 (14:36:18 GMT+0530 (IST))
[iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[iOSLog] Found idevicesyslog: ‘/usr/local/bin/idevicesyslog’
[BaseDriver] Event ‘logCaptureStarted’ logged at 1499245579141 (14:36:19 GMT+0530 (IST))
[XCUITest] Setting up real device
[BaseDriver] Event ‘wdaStartAttempted’ logged at 1499245579144 (14:36:19 GMT+0530 (IST))
[XCUITest] Using WDA path: ‘/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent’
[XCUITest] Using WDA agent: ‘/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj’
[XCUITest] Launching WebDriverAgent on the device
[XCUITest] Carthage found: ‘/usr/local/bin/carthage’
[XCUITest] Killing hanging processes
[XCUITest] Beginning test with command ‘xcodebuild build-for-testing test-without-building -project /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=d9ddaa496c5f95f9ee02e5c7af65c10ba4b3ebf6 -configuration Debug IPHONEOS_DEPLOYMENT_TARGET=10.2’ in directory ‘/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent’
[XCUITest] Output from xcodebuild will not be logged
[XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB
[XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Log file for xcodebuild test: /Users/test/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/A5E4AEE8-4292-4077-B783-86927435A64C/Session-WebDriverAgentRunner-2017-07-05_143627-rXkUmP.log
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Unable to connect to running WebDriverAgent: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED ::1:8100
[XCUITest] Getting status of WebDriverAgent on device timed out. Continuing
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1499245645556 (14:37:25 GMT+0530 (IST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1499245646567 (14:37:26 GMT+0530 (IST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1499245647574 (14:37:27 GMT+0530 (IST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1499245648585 (14:37:28 GMT+0530 (IST))

seeing the same exact issue with Desktop 1.6.5. any new information?