Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65

Installed Appium 1.0.2-beta.2 Desktop using DMG file in MacOS and Appium Server is v1.6.4.
-Run Appium Server in CommandLine and in Appium Desktop set the Desired Capabilities as follows:
{
“platformName”: “iOS”,
“platformVersion”: “10.3.1”,
“app”: “/Users/dharmendra/Desktop/mac/ViolaCard.ipa”,
“noReset”: true,
“udid”: “3f63da7abc066fc1d9cba20bcaa1982093c341ff”,
“deviceName”: “iPhone 6s+”
}

-Set the custom 127.0.0.1:4723
-Started the Session
WebDriver Agent is installed and automatically deleted while running the session and displaying the error as in the screenshot

Environment

I am running Appium Desktop version _1.0.2-beta.2.
I am on (pick one):Mac
#Appium Full Log

[Appium] Welcome to Appium v1.6.4
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {“desiredCapabilities”:{“app”:"/Users/dharmendra/Desktop/mac/ViolaCard.ipa",“deviceName”:“iPhone 6s+”,“noReset”:true,“platformName”:“iOS”,“platformVersion”:“10.3.1”,“udid”:“3f63da7abc066fc1d9cba20bcaa1982093c341ff”,“newCommandTimeout”:0,“connectHardwareKeyboard”:true}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{“app”:"/Users/dharmendra/Desktop/mac/ViolaCard.ipa",“deviceName”:“iPhone 6s+”,“noReset”:true,“platformName”:“iOS”,“platformVersion”:“10.3.1”,“udid”:“3f63da7abc066fc1d9cba20bcaa1982093c341ff”,“newCommandTimeout”:0,“connectHardwareKeyboard”:true},null,null,null,null]
[debug] [BaseDriver] Event ‘newSessionRequested’ logged at 1495517891867 (11:08:11 GMT+0530 (IST))
[Appium] Requested iOS support with version >= 10, using XCUITest driver instead of UIAutomation-based driver, since the latter is unsupported on iOS 10 and up.
[Appium] Creating new XCUITestDriver (v2.27.2) session
[Appium] Capabilities:
[Appium] app: ‘/Users/dharmendra/Desktop/mac/ViolaCard.ipa’
[Appium] deviceName: ‘iPhone 6s+’
[Appium] noReset: true
[Appium] platformName: ‘iOS’
[Appium] platformVersion: ‘10.3.1’
[Appium] udid: ‘3f63da7abc066fc1d9cba20bcaa1982093c341ff’
[Appium] newCommandTimeout: 0
[Appium] connectHardwareKeyboard: true
[debug] [XCUITest] XCUITestDriver version: 2.27.2
[BaseDriver] Session created with session id: 765864bb-bfd3-4a1d-ab29-c0b270aa5b83
[debug] [XCUITest] Xcode version set to ‘8.3.1’ (tools v8.3.0.0.1.1490382677)
[debug] [XCUITest] iOS SDK Version set to ‘10.3’
[debug] [BaseDriver] Event ‘xcodeDetailsRetrieved’ logged at 1495517892027 (11:08:12 GMT+0530 (IST))
[debug] [XCUITest] Available devices: 3f63da7abc066fc1d9cba20bcaa1982093c341ff
[debug] [XCUITest] Creating iDevice object with udid ‘3f63da7abc066fc1d9cba20bcaa1982093c341ff’
[XCUITest] Determining device to run tests on: udid: ‘3f63da7abc066fc1d9cba20bcaa1982093c341ff’, real device: true
[BaseDriver] Using local app ‘/Users/dharmendra/Desktop/mac/ViolaCard.ipa’
[debug] [BaseDriver] Copying local zip to tmp dir
[debug] [BaseDriver] Unzipping /var/folders/2b/rvk9h2v15msfvf7zdps7xym80000gn/T/2017423-1927-12rodgo.nygsowp14i/appium-app.zip
[debug] [BaseDriver] Testing zip archive: /var/folders/2b/rvk9h2v15msfvf7zdps7xym80000gn/T/2017423-1927-12rodgo.nygsowp14i/appium-app.zip
[BaseDriver] Unzipped local app to ‘/var/folders/2b/rvk9h2v15msfvf7zdps7xym80000gn/T/2017423-1927-12rodgo.nygsowp14i/Payload/ViolaCard.app’
[debug] [BaseDriver] Event ‘appConfigured’ logged at 1495517893160 (11:08:13 GMT+0530 (IST))
[debug] [XCUITest] Checking whether app ‘/var/folders/2b/rvk9h2v15msfvf7zdps7xym80000gn/T/2017423-1927-12rodgo.nygsowp14i/Payload/ViolaCard.app’ is actually present on file system
[debug] [XCUITest] App is present
[debug] [iOS] Getting bundle ID from app ‘/var/folders/2b/rvk9h2v15msfvf7zdps7xym80000gn/T/2017423-1927-12rodgo.nygsowp14i/Payload/ViolaCard.app’: ‘eu.vwallet.ViolaCard’
[debug] [BaseDriver] Event ‘resetStarted’ logged at 1495517893180 (11:08:13 GMT+0530 (IST))
[debug] [XCUITest] Reset: fullReset not set. Leaving as is
[debug] [BaseDriver] Event ‘resetComplete’ logged at 1495517893181 (11:08:13 GMT+0530 (IST))
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Found idevicesyslog: ‘/usr/local/bin/idevicesyslog’
[debug] [BaseDriver] Event ‘logCaptureStarted’ logged at 1495517893377 (11:08:13 GMT+0530 (IST))
[XCUITest] Setting up real device
[debug] [XCUITest] App ‘eu.vwallet.ViolaCard’ is already installed. No need to reinstall.
[debug] [BaseDriver] Event ‘appInstalled’ logged at 1495517893551 (11:08:13 GMT+0530 (IST))
[debug] [BaseDriver] Event ‘wdaStartAttempted’ logged at 1495517893553 (11:08:13 GMT+0530 (IST))
[XCUITest] Using WDA path: ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent’
[XCUITest] Using WDA agent: ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj’
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: ‘/usr/local/bin/carthage’
[debug] [XCUITest] Killing hanging processes
[debug] [XCUITest] Beginning test with command ‘xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=3f63da7abc066fc1d9cba20bcaa1982093c341ff -configuration Debug IPHONEOS_DEPLOYMENT_TARGET=10.3’ in directory ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent’
[debug] [XCUITest] Output from xcodebuild will not be logged
[debug] [XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB
[debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [XCUITest] Log file for xcodebuild test: /Users/dharmendra/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/B2DC2C3F-CFC0-4708-BD02-B588499C5FDF/Session-WebDriverAgentRunner-2017-05-23_110820-HEDluZ.log
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[Xcode] 2017-05-23 11:08:24.570 xcodebuild[1962:40952] Error Domain=IDETestOperationsObserverErrorDomain Code=6 “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]
[Xcode] 2017-05-23 11:07:39.295584+0530 XCTRunner[1277:557911] Running tests…
[Xcode] 2017-05-23 11:07:39.307011+0530 XCTRunner[1277:557911] The bundle “WebDriverAgentRunner” couldn’t be loaded because it doesn’t contain a version for the current architecture. Try installing a universal version of the bundle.
[Xcode] 2017-05-23 11:07:39.307522+0530 XCTRunner[1277:557911] (dlopen_preflight(/var/containers/Bundle/Application/DAD40737-B303-456D-A662-C4247097D8EE/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/WebDriverAgentRunner): no suitable image found. Did find:
[Xcode] /var/containers/Bundle/Application/DAD40737-B303-456D-A662-C4247097D8EE/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/WebDriverAgentRunner: mach-o, but wrong architecture
[Xcode] /private/var/containers/Bundle/Application/DAD40737-B303-456D-A662-C4247097D8EE/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/WebDriverAgentRunner: mach-o, but wrong architecture)
[Xcode]
[XCUITest] xcodebuild exited with code ‘65’ and signal ‘null’
[debug] [BaseDriver] Event ‘wdaStartFailed’ logged at 1495517904616 (11:08:24 GMT+0530 (IST))
[debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
[debug] [XCUITest] Quitting and uninstalling WebDriverAgent, then retrying
[XCUITest] Shutting down sub-processes
[XCUITest] Shutting down iproxy process (pid 1960)
[debug] [XCUITest] iproxy exited with code ‘null’
[debug] [XCUITest] Removing WDA application from device
[debug] [BaseDriver] Event ‘wdaStartAttempted’ logged at 1495517914917 (11:08:34 GMT+0530 (IST))
[XCUITest] Using WDA path: ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent’
[XCUITest] Using WDA agent: ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj’
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: ‘/usr/local/bin/carthage’
[debug] [XCUITest] Killing hanging processes
[debug] [XCUITest] Beginning test with command ‘xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=3f63da7abc066fc1d9cba20bcaa1982093c341ff -configuration Debug IPHONEOS_DEPLOYMENT_TARGET=10.3’ in directory ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent’
[debug] [XCUITest] Output from xcodebuild will not be logged
[debug] [XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB
[debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [XCUITest] Log file for xcodebuild test: /Users/dharmendra/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/8BA9847C-3E96-41BC-9B67-74B85C746A58/Session-WebDriverAgentRunner-2017-05-23_110841-zHuctE.log
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[Xcode] 2017-05-23 11:08:46.364 xcodebuild[1995:41208] Error Domain=IDETestOperationsObserverErrorDomain Code=6 “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]
[Xcode] 2017-05-23 11:08:01.091887+0530 XCTRunner[1281:558244] Running tests…
[Xcode] 2017-05-23 11:08:01.101502+0530 XCTRunner[1281:558244] The bundle “WebDriverAgentRunner” couldn’t be loaded because it doesn’t contain a version for the current architecture. Try installing a universal version of the bundle.
[Xcode] 2017-05-23 11:08:01.101610+0530 XCTRunner[1281:558244] (dlopen_preflight(/var/containers/Bundle/Application/4F303A45-1D20-4296-B10B-61A43FD58D2B/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/WebDriverAgentRunner): no suitable image found. Did find:
[Xcode] /var/containers/Bundle/Application/4F303A45-1D20-4296-B10B-61A43FD58D2B/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/WebDriverAgentRunner: mach-o, but wrong architecture
[Xcode] /private/var/containers/Bundle/Application/4F303A45-1D20-4296-B10B-61A43FD58D2B/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/WebDriverAgentRunner: mach-o, but wrong architecture)
[Xcode]
[XCUITest] xcodebuild exited with code ‘65’ and signal ‘null’
[debug] [BaseDriver] Event ‘wdaStartFailed’ logged at 1495517926399 (11:08:46 GMT+0530 (IST))
[debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
[debug] [XCUITest] Quitting and uninstalling WebDriverAgent, then retrying
[XCUITest] Shutting down sub-processes
[XCUITest] Shutting down iproxy process (pid 1993)
[debug] [XCUITest] iproxy exited with code ‘null’
[debug] [XCUITest] Removing WDA application from device
[XCUITest] Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
at XCUITestDriver.quitAndUninstall$ (…/…/lib/driver.js:374:15)
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💯21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/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$ (…/…/lib/driver.js:374:15)
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💯21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[debug] [XCUITest] Not clearing log files. Use clearSystemFiles capability to turn on.
[debug] [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$ (…/…/lib/driver.js:374:15)
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💯21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[HTTP] <-- POST /wd/hub/session 500 44761 ms - 230

Locate WebDriverAgent.xcodeproj

/Applications/Appium/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent

Open WebDriverAgent.xcodeproj in Xcode. For both the WebDriverAgentLib and WebDriverAgentRunner targets, select “Automatically manage
signing” in the “General” tab, and then select your Development
Team. This should also auto select Signing Ceritificate.

Thanks for the quick response.Got worked.

But during locating elements i am getting some notification like “Using XPath locators is not recommended and can lead to fragile tests. Ask your development team to provide unique accessibility locators instead!”
Do developers need to customize locators?

Hi,
When im trying to install .app in simulator receiving “[info] [XCUITest] xcodebuild exited with code ‘65’ and signal ‘null’” Can you please guide me how to resolve this issue.

Mac OS : 10.13.1
Xcode: 9.1
Appium: 1.7.1

[info] [Appium] Welcome to Appium v1.7.1
[info] [Appium] Non-default server args:
[info] [Appium] port: 4725
[info] [Appium] Appium REST http interface listener started on 0.0.0.0:4725[info] [HTTP] --> GET /wd/hub/sessions {}
[debug] [MJSONWP] Calling AppiumDriver.getSessions() with args: []
[debug] [MJSONWP] Responding to client with driver.getSessions() result: []
[info] [HTTP] <-- GET /wd/hub/sessions 200 7 ms - 40 [info] [HTTP] --> POST /wd/hub/session {“desiredCapabilities”:{“app”:"/Users/qaadmin/Documents/app/SeekingArrangementApp.app",“automationName”:“XCUITest”,“deviceName”:“iPhone 8 Plus”,“noReset”:false,“platformName”:“iOS”,“platformVersion”:“11.1”,“showXcodeLog”:true,“udid”:“6303E4FE-6320-4472-8F7F-E8F15C371359”,“useNewWDA”:true,“usePrebuiltWDA”:true,“xcodeOrgId”:“W8 Tech Limited”,“xcodeSigningId”:“iPhone Developer”,“newCommandTimeout”:0,“connectHardwareKeyboard”:true}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{“app”:"/Users/qaadmin/Documents/app/SeekingArrangementApp.app",“automationName”:“XCUITest”,“deviceName”:“iPhone 8 Plus”,“noReset”:false,“platformName”:“iOS”,“platformVersion”:“11.1”,“showXcodeLog”:true,“udid”:“6303E4FE-6320-4472-8F7F-E8F15C371359”,“useNewWDA”:true,“usePrebuiltWDA”:true,“xcodeOrgId”:“W8 Tech Limited”,“xcodeSigningId”:“iPhone Developer”,“newCommandTimeout”:0,“connectHardwareKeyboard”:true},null,null]
[debug] [BaseDriver] Event ‘newSessionRequested’ logged at 1511403803304 (10:23:23 GMT+0800 (+08))
[info] [Appium] Creating new XCUITestDriver (v2.51.1) session
[info] [Appium] Capabilities:
[info] [Appium] app: ‘/Users/qaadmin/Documents/app/SeekingArrangementApp.app’
[info] [Appium] automationName: ‘XCUITest’
[info] [Appium] deviceName: ‘iPhone 8 Plus’
[info] [Appium] noReset: false
[info] [Appium] platformName: ‘iOS’
[info] [Appium] platformVersion: ‘11.1’
[info] [Appium] showXcodeLog: true
[info] [Appium] udid: ‘6303E4FE-6320-4472-8F7F-E8F15C371359’
[info] [Appium] useNewWDA: true
[info] [Appium] usePrebuiltWDA: true
[info] [Appium] xcodeOrgId: ‘W8 Tech Limited’
[info] [Appium] xcodeSigningId: ‘iPhone Developer’
[info] [Appium] newCommandTimeout: 0
[info] [Appium] connectHardwareKeyboard: true
[info] [BaseDriver] Session created with session id: 271462ee-801c-433c-9430-43c9e9947b20[debug] [XCUITest] Xcode version set to ‘9.1’
[debug] [XCUITest] iOS SDK Version set to ‘11.1’
[debug] [BaseDriver] Event ‘xcodeDetailsRetrieved’ logged at 1511403805016 (10:23:25 GMT+0800 (+08))[info] [iOSSim] Constructing iOS simulator for Xcode version 9.1 with udid ‘6303E4FE-6320-4472-8F7F-E8F15C371359’
[info] [XCUITest] Determining device to run tests on: udid: ‘6303E4FE-6320-4472-8F7F-E8F15C371359’, real device: false
[info] [BaseDriver] Using local app ‘/Users/qaadmin/Documents/app/SeekingArrangementApp.app’
[debug] [BaseDriver] Event ‘appConfigured’ logged at 1511403806486 (10:23:26 GMT+0800 (+08))
[debug] [XCUITest] Checking whether app ‘/Users/qaadmin/Documents/app/SeekingArrangementApp.app’ is actually present on file system
[debug] [XCUITest] App is present
[debug] [iOS] Getting bundle ID from app ‘/Users/qaadmin/Documents/app/SeekingArrangementApp.app’: ‘com.use2pay.arrangement’
[debug] [BaseDriver] Event ‘resetStarted’ logged at 1511403806488 (10:23:26 GMT+0800 (+08))
[info] [XCUITest] Not scrubbing third party app in anticipation of uninstall
[debug] [BaseDriver] Event ‘resetComplete’ logged at 1511403806619 (10:23:26 GMT+0800 (+08))[debug] [iOSLog] Starting iOS 11.1 simulator log capture
[debug] [iOSLog] System log path: /Users/qaadmin/Library/Logs/CoreSimulator/6303E4FE-6320-4472-8F7F-E8F15C371359/system.log
[debug] [BaseDriver] Event ‘logCaptureStarted’ logged at 1511403806856 (10:23:26 GMT+0800 (+08))
[info] [XCUITest] Setting up simulator
[debug] [iOS] No reason to set locale
[debug] [iOS] No iOS / app preferences to set[debug] [iOSSim] Setting common Simulator preferences to {“ConnectHardwareKeyboard”:true}
[debug] [iOSSim] Updated shared Simulator preferences at ‘/Users/qaadmin/Library/Preferences/com.apple.iphonesimulator.plist’ with {“ConnectHardwareKeyboard”:true}[debug] [iOSSim] The count of running Simulator UI client instances is 0
[info] [iOSSim] Booting Simulator with UDID 6303E4FE-6320-4472-8F7F-E8F15C371359…[info] [iOSSim] Starting Simulator UI with command: open -Fn /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app --args -CurrentDeviceUDID 6303E4FE-6320-4472-8F7F-E8F15C371359 -ConnectHardwareKeyboard 1[debug] [iOSSim] The count of running Simulator UI client instances is 1[info] [iOSSim] Simulator with UDID 6303E4FE-6320-4472-8F7F-E8F15C371359 booted in 72 seconds
[debug] [BaseDriver] Event ‘simStarted’ logged at 1511403879137 (10:24:39 GMT+0800 (+08))[debug] [XCUITest] Reset requested. Removing app with id ‘com.use2pay.arrangement’ from the device[debug] [XCUITest] Reset requested. Removing app with id ‘com.use2pay.arrangement’ from the device[debug] [XCUITest] Installing ‘/Users/qaadmin/Documents/app/SeekingArrangementApp.app’ on Simulator with UUID ‘6303E4FE-6320-4472-8F7F-E8F15C371359’…[debug] [XCUITest] The app has been installed successfully.
[debug] [BaseDriver] Event ‘appInstalled’ logged at 1511403925215 (10:25:25 GMT+0800 (+08))
[info] [XCUITest] Using WDA path: ‘/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent’
[info] [XCUITest] Using WDA agent: ‘/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj’
[debug] [XCUITest] Capability ‘useNewWDA’ set to true, so uninstalling WDA before proceeding
[info] [XCUITest] Shutting down sub-processes
[debug] [XCUITest] Removing WDA application from device[debug] [BaseDriver] Event ‘wdaUninstalled’ logged at 1511403927346 (10:25:27 GMT+0800 (+08))
[debug] [BaseDriver] Event ‘wdaStartAttempted’ logged at 1511403927348 (10:25:27 GMT+0800 (+08))
[info] [XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: ‘/usr/local/bin/carthage’
[debug] [XCUITest] Killing running processes ‘xcodebuild.*6303E4FE-6320-4472-8F7F-E8F15C371359, iproxy 8100, 6303E4FE-6320-4472-8F7F-E8F15C371359.*XCTRunner’ for the device 6303E4FE-6320-4472-8F7F-E8F15C371359…[debug] [XCUITest] ‘pgrep -nif xcodebuild.*6303E4FE-6320-4472-8F7F-E8F15C371359’ didn’t detect any matching processes. Return code: 1
[debug] [XCUITest] ‘pgrep -nif iproxy 8100’ didn’t detect any matching processes. Return code: 1
[debug] [XCUITest] ‘pgrep -nif 6303E4FE-6320-4472-8F7F-E8F15C371359.*XCTRunner’ didn’t detect any matching processes. Return code: 1
[debug] [XCUITest] Using Xcode 9.1, so fixing WDA codebase[debug] [XCUITest] Beginning test with command ‘xcodebuild 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=6303E4FE-6320-4472-8F7F-E8F15C371359 IPHONEOS_DEPLOYMENT_TARGET=11.1’ in directory ‘/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent’
[debug] [XCUITest] Output from xcodebuild will be logged. To see xcode logging, use ‘showXcodeLog’ desired capability[info] [Xcode] Build settings from command line:
[info] [Xcode]
[debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body[debug] [XCUITest] Log file for xcodebuild test: /var/folders/d3/7p6ndjdx2s59sprtvg8f5gj40000gp/T/com.apple.dt.XCTest/IDETestRunSession-44E4F8F5-4D0D-40D8-8B1F-76F2250ED31B/WebDriverAgentRunner-0534C2FD-7214-4EBB-8E3A-FB378B771784/Session-WebDriverAgentRunner-2017-11-23_102557-Np7S7a.log
[info] [Xcode] 2017-11-23 10:25:57.690 xcodebuild[56872:907304] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[info] [Xcode] /var/folders/d3/7p6ndjdx2s59sprtvg8f5gj40000gp/T/com.apple.dt.XCTest/IDETestRunSession-44E4F8F5-4D0D-40D8-8B1F-76F2250ED31B/WebDriverAgentRunner-0534C2FD-7214-4EBB-8E3A-FB378B771784/Session-WebDriverAgentRunner-2017-11-23_102557-Np7S7a.log
[info] [Xcode]
[info] [Xcode] 2017-11-23 10:25:57.690 xcodebuild[56872:906758] [MT] IDETestOperationsObserverDebug: (3B1EDF2E-753B-48E4-98A0-6118E6D23316) Beginning test session WebDriverAgentRunner-3B1EDF2E-753B-48E4-98A0-6118E6D23316 at 2017-11-23 10:25:57.691 with Xcode 9B55 on target <DVTiPhoneSimulator: 0x7fe9f4242b60> {
[info] [Xcode] SimDevice: iPhone 8 (6303E4FE-6320-4472-8F7F-E8F15C371359, iOS 11.1, Booted)
[info] [Xcode] } (11.1 (15B87))
[info] [Xcode]
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body[info] [Xcode] 2017-11-23 10:25:58.025 xcodebuild[56872:906758] Error Domain=IDEFoundationErrorDomain Code=1 “Cannot launch simulated executable: no file found at /Users/qaadmin/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app” UserInfo={NSLocalizedDescription=Cannot launch simulated executable: no file found at /Users/qaadmin/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app}
[info] [Xcode] 2017-11-23 10:25:58.025 xcodebuild[56872:906758] Error Domain=IDETestOperationsObserverErrorDomain Code=6 “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}
[info] [Xcode]
[info] [Xcode] 2017-11-23 10:25:58.026 xcodebuild[56872:909617] Connection peer refused channel request for “dtxproxy:XCTestManager_IDEInterface:XCTestManager_DaemonConnectionInterface”; channel canceled <DTXChannel: 0x7fe9f40c8880>
[info] [Xcode]
[info] [Xcode] ** TEST EXECUTE FAILED **
[info] [Xcode]
[info] [Xcode]
[info] [XCUITest] xcodebuild exited with code ‘65’ and signal ‘null’
[info] [Xcode] Contents of xcodebuild log file ‘/var/folders/d3/7p6ndjdx2s59sprtvg8f5gj40000gp/T/com.apple.dt.XCTest/IDETestRunSession-44E4F8F5-4D0D-40D8-8B1F-76F2250ED31B/WebDriverAgentRunner-0534C2FD-7214-4EBB-8E3A-FB378B771784/Session-WebDriverAgentRunner-2017-11-23_102557-Np7S7a.log’:
[info] [Xcode] 10:25:57.691 xcodebuild[56872:906758] Beginning test session WebDriverAgentRunner-3B1EDF2E-753B-48E4-98A0-6118E6D23316 at 2017-11-23 10:25:57.691 with Xcode 9B55 on target <DVTiPhoneSimulator: 0x7fe9f4242b60> {
[info] [Xcode] SimDevice: iPhone 8 (6303E4FE-6320-4472-8F7F-E8F15C371359, iOS 11.1, Booted)
[info] [Xcode] } (11.1 (15B87))
[info] [Xcode] 10:25:57.691 xcodebuild[56872:906758] /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
[info] [Xcode] test-without-building
[info] [Xcode] -project
[info] [Xcode] /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj
[info] [Xcode] -scheme
[info] [Xcode] WebDriverAgentRunner
[info] [Xcode] -destination
[info] [Xcode] id=6303E4FE-6320-4472-8F7F-E8F15C371359
[info] [Xcode] IPHONEOS_DEPLOYMENT_TARGET=11.1
[info] [Xcode] 10:25:57.691 xcodebuild[56872:906758] Launching with Xcode.IDEFoundation.Launcher.PosixSpawn
[info] [Xcode] 10:25:57.693 xcodebuild[56872:906758] Test standard output and standard error is at /var/folders/d3/7p6ndjdx2s59sprtvg8f5gj40000gp/T/com.apple.dt.XCTest/IDETestRunSession-44E4F8F5-4D0D-40D8-8B1F-76F2250ED31B/WebDriverAgentRunner-0534C2FD-7214-4EBB-8E3A-FB378B771784/StandardOutputAndStandardError.txt
[info] [Xcode] 10:25:57.694 xcodebuild[56872:906758] Simulator 6303E4FE-6320-4472-8F7F-E8F15C371359 was claimed by TestSessionClaim_IDETestRunSession-44E4F8F5-4D0D-40D8-8B1F-76F2250ED31B
[info] [Xcode] 10:25:57.733 xcodebuild[56872:906758] Launch session started.
[info] [Xcode] 10:25:57.743 xcodebuild[56872:906758] Setting up test runner session
[info] [Xcode] 10:25:57.744 xcodebuild[56872:909787] Sim iPhone 8: Unregistering for sim device notification with token 4
[info] [Xcode] 10:25:57.745 xcodebuild[56872:909787] Calling -[SimDevice getenv:error:] for TESTMANAGERD_SIM_SOCK
[info] [Xcode] 10:25:57.747 xcodebuild[56872:909780] Simulator 6303E4FE-6320-4472-8F7F-E8F15C371359 was claimed by LaunchSessionClaim_0x7fe9f40c7120
[info] [Xcode] 10:25:57.747 xcodebuild[56872:909787] Sim iPhone 8 has testmanagerd socket at /private/tmp/com.apple.launchd.BBaL3yeGuV/com.apple.testmanagerd.unix-domain.socket
[info] [Xcode] 10:25:57.747 xcodebuild[56872:909787] Validating test connection socket path (/private/tmp/com.apple.launchd.BBaL3yeGuV/com.apple.testmanagerd.unix-domain.socket)
[info] [Xcode] 10:25:57.747 xcodebuild[56872:909787] Constructing transport for test connection socket
[info] [Xcode] 10:25:57.747 xcodebuild[56872:909787] Connected socket 60 to testmanagerd for Sim iPhone 8
[info] [Xcode] 10:25:57.749 xcodebuild[56872:909780] Received connection for test runner session
[info] [Xcode] 10:25:57.749 xcodebuild[56872:909780] Listening for proxy connection request from the test bundle
[info] [Xcode] 10:25:57.750 xcodebuild[56872:906758] Adding console adaptor <IDEConsoleAdaptor: 0x7fe9f42e6be0 ‘target’ stdin: <IDEMasterPtyFileHandle: 0x7fe9f3fad780 MasterFH: <NSConcreteFileHandle: 0x7fe9f3fb4ce0> 49 SlaveFH: <NSConcreteFileHandle: 0x7fe9f3fb4a40> 59> 49 stdout: <IDEMasterPtyFileHandle: 0x7fe9f3fad780 MasterFH: <NSConcreteFileHandle: 0x7fe9f3fb4ce0> 49 SlaveFH: <NSConcreteFileHandle: 0x7fe9f3fb4a40> 59> 49 stderr: (null) 0> for test session 3B1EDF2E-753B-48E4-98A0-6118E6D23316.
[info] [Xcode] 10:25:57.750 xcodebuild[56872:909789] Simulator 6303E4FE-6320-4472-8F7F-E8F15C371359 was claimed by LaunchSessionClaim_0x7fe9f40c7120
[info] [Xcode] 10:25:57.750 xcodebuild[56872:909780] Initiating session with identifier: 3B1EDF2E-753B-48E4-98A0-6118E6D23316
[info] [Xcode] 10:25:57.750 xcodebuild[56872:906758] Test runner session acquired connection.
[info] [Xcode] 10:25:57.750 xcodebuild[56872:909789] 6303E4FE-6320-4472-8F7F-E8F15C371359: Registered for sim device notification, got token 5
[info] [Xcode] 10:25:57.750 xcodebuild[56872:906758] Waiting for test process to launch.
[info] [Xcode] 10:25:57.750 xcodebuild[56872:909786] 6303E4FE-6320-4472-8F7F-E8F15C371359: Unregistering for sim device notification with token 5
[info] [Xcode] 10:25:57.751 xcodebuild[56872:906758] Claim LaunchSessionClaim_0x7fe9f40c7120 on simulator 6303E4FE-6320-4472-8F7F-E8F15C371359 was relinquished
[info] [Xcode] 10:25:57.751 xcodebuild[56872:906758] Claim LaunchSessionClaim_0x7fe9f40c7120 on simulator 6303E4FE-6320-4472-8F7F-E8F15C371359 was relinquished
[info] [Xcode] 10:25:57.752 xcodebuild[56872:906758] Test operation failure: Launch session expired before checking in.
[info] [Xcode] 10:25:57.752 xcodebuild[56872:906758] _finishWithError:Error Domain=IDETestOperationsObserverErrorDomain Code=5 “Launch session expired before checking in.” UserInfo={NSLocalizedDescription=Launch session expired before checking in.}
[info] [Xcode]
[debug] [BaseDriver] Event ‘wdaStartFailed’ logged at 1511403958058 (10:25:58 GMT+0800 (+08))
[debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: “xcodebuild failed with code 65”.
[debug] [XCUITest] Quitting and uninstalling WebDriverAgent, then retrying
[info] [XCUITest] Shutting down sub-processes
[debug] [XCUITest] Removing WDA application from device[debug] [BaseDriver] Event ‘wdaStartAttempted’ logged at 1511403969380 (10:26:09 GMT+0800 (+08))
[info] [XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: ‘/usr/local/bin/carthage’
[debug] [XCUITest] Killing running processes ‘xcodebuild.*6303E4FE-6320-4472-8F7F-E8F15C371359, iproxy 8100, 6303E4FE-6320-4472-8F7F-E8F15C371359.*XCTRunner’ for the device 6303E4FE-6320-4472-8F7F-E8F15C371359…[debug] [XCUITest] ‘pgrep -nif iproxy 8100’ didn’t detect any matching processes. Return code: 1
[debug] [XCUITest] ‘pgrep -nif 6303E4FE-6320-4472-8F7F-E8F15C371359.*XCTRunner’ didn’t detect any matching processes. Return code: 1
[debug] [XCUITest] Using Xcode 9.1, so fixing WDA codebase
[debug] [XCUITest] Beginning test with command ‘xcodebuild 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=6303E4FE-6320-4472-8F7F-E8F15C371359 IPHONEOS_DEPLOYMENT_TARGET=11.1’ in directory ‘/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent’
[debug] [XCUITest] Output from xcodebuild will be logged. To see xcode logging, use ‘showXcodeLog’ desired capability[info] [Xcode] Build settings from command line:
[info] [Xcode]
[debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[info] [Xcode] IPHONEOS_DEPLOYMENT_TARGET = 11.1
[info] [Xcode]
[info] [Xcode] [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body[debug] [XCUITest] Log file for xcodebuild test: /var/folders/d3/7p6ndjdx2s59sprtvg8f5gj40000gp/T/com.apple.dt.XCTest/IDETestRunSession-726DC4C3-62AD-46C5-AB25-360ABA197F8A/WebDriverAgentRunner-7C5C97BE-CE58-4E46-A147-07D298876CCC/Session-WebDriverAgentRunner-2017-11-23_102616-qXgXCx.log
[info] [Xcode] 2017-11-23 10:26:16.192 xcodebuild[56887:911540] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[info] [Xcode] /var/folders/d3/7p6ndjdx2s59sprtvg8f5gj40000gp/T/com.apple.dt.XCTest/IDETestRunSession-726DC4C3-62AD-46C5-AB25-360ABA197F8A/WebDriverAgentRunner-7C5C97BE-CE58-4E46-A147-07D298876CCC/Session-WebDriverAgentRunner-2017-11-23_102616-qXgXCx.log
[info] [Xcode]
[info] [Xcode] 2017-11-23 10:26:16.193 xcodebuild[56887:911105] [MT] IDETestOperationsObserverDebug: (EF3FE0D4-1E00-41D1-AB14-B95736096928) Beginning test session WebDriverAgentRunner-EF3FE0D4-1E00-41D1-AB14-B95736096928 at 2017-11-23 10:26:16.193 with Xcode 9B55 on target <DVTiPhoneSimulator: 0x7f9d5a074430> {
[info] [Xcode] SimDevice: iPhone 8 (6303E4FE-6320-4472-8F7F-E8F15C371359, iOS 11.1, Booted)
[info] [Xcode] } (11.1 (15B87))
[info] [Xcode] [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[info] [Xcode] 2017-11-23 10:26:16.516 xcodebuild[56887:911105] Error Domain=IDEFoundationErrorDomain Code=1 “Cannot launch simulated executable: no file found at /Users/qaadmin/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app” UserInfo={NSLocalizedDescription=Cannot launch simulated executable: no file found at /Users/qaadmin/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app}
[info] [Xcode] 2017-11-23 10:26:16.516 xcodebuild[56887:911105] Error Domain=IDETestOperationsObserverErrorDomain Code=6 “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}
[info] [Xcode]
[info] [Xcode] 2017-11-23 10:26:16.517 xcodebuild[56887:912122] Connection peer refused channel request for “dtxproxy:XCTestManager_IDEInterface:XCTestManager_DaemonConnectionInterface”; channel canceled <DTXChannel: 0x7f9d5a1e3110>
[info] [Xcode]
[info] [Xcode] ** TEST EXECUTE FAILED **
[info] [Xcode]
[info] [Xcode]
[info] [XCUITest] xcodebuild exited with code ‘65’ and signal ‘null’
[info] [Xcode] Contents of xcodebuild log file ‘/var/folders/d3/7p6ndjdx2s59sprtvg8f5gj40000gp/T/com.apple.dt.XCTest/IDETestRunSession-726DC4C3-62AD-46C5-AB25-360ABA197F8A/WebDriverAgentRunner-7C5C97BE-CE58-4E46-A147-07D298876CCC/Session-WebDriverAgentRunner-2017-11-23_102616-qXgXCx.log’:
[info] [Xcode] 10:26:16.193 xcodebuild[56887:911105] Beginning test session WebDriverAgentRunner-EF3FE0D4-1E00-41D1-AB14-B95736096928 at 2017-11-23 10:26:16.193 with Xcode 9B55 on target <DVTiPhoneSimulator: 0x7f9d5a074430> {
[info] [Xcode] SimDevice: iPhone 8 (6303E4FE-6320-4472-8F7F-E8F15C371359, iOS 11.1, Booted)
[info] [Xcode] } (11.1 (15B87))
[info] [Xcode] 10:26:16.194 xcodebuild[56887:911105] /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
[info] [Xcode] test-without-building
[info] [Xcode] -project
[info] [Xcode] /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj
[info] [Xcode] -scheme
[info] [Xcode] WebDriverAgentRunner
[info] [Xcode] -destination
[info] [Xcode] id=6303E4FE-6320-4472-8F7F-E8F15C371359
[info] [Xcode] IPHONEOS_DEPLOYMENT_TARGET=11.1
[info] [Xcode] 10:26:16.194 xcodebuild[56887:911105] Launching with Xcode.IDEFoundation.Launcher.PosixSpawn
[info] [Xcode] 10:26:16.196 xcodebuild[56887:911105] Test standard output and standard error is at /var/folders/d3/7p6ndjdx2s59sprtvg8f5gj40000gp/T/com.apple.dt.XCTest/IDETestRunSession-726DC4C3-62AD-46C5-AB25-360ABA197F8A/WebDriverAgentRunner-7C5C97BE-CE58-4E46-A147-07D298876CCC/StandardOutputAndStandardError.txt
[info] [Xcode] 10:26:16.197 xcodebuild[56887:911105] Simulator 6303E4FE-6320-4472-8F7F-E8F15C371359 was claimed by TestSessionClaim_IDETestRunSession-726DC4C3-62AD-46C5-AB25-360ABA197F8A
[info] [Xcode] 10:26:16.238 xcodebuild[56887:911105] Launch session started.
[info] [Xcode] 10:26:16.252 xcodebuild[56887:911105] Setting up test runner session
[info] [Xcode] 10:26:16.252 xcodebuild[56887:912231] Sim iPhone 8: Unregistering for sim device notification with token 4
[info] [Xcode] 10:26:16.253 xcodebuild[56887:912231] Calling -[SimDevice getenv:error:] for TESTMANAGERD_SIM_SOCK
[info] [Xcode] 10:26:16.253 xcodebuild[56887:912231] Sim iPhone 8 has testmanagerd socket at /private/tmp/com.apple.launchd.BBaL3yeGuV/com.apple.testmanagerd.unix-domain.socket
[info] [Xcode] 10:26:16.253 xcodebuild[56887:912231] Validating test connection socket path (/private/tmp/com.apple.launchd.BBaL3yeGuV/com.apple.testmanagerd.unix-domain.socket)
[info] [Xcode] 10:26:16.254 xcodebuild[56887:912231] Constructing transport for test connection socket
[info] [Xcode] 10:26:16.254 xcodebuild[56887:912231] Connected socket 49 to testmanagerd for Sim iPhone 8
[info] [Xcode] 10:26:16.254 xcodebuild[56887:912223] Simulator 6303E4FE-6320-4472-8F7F-E8F15C371359 was claimed by LaunchSessionClaim_0x7f9d5a378100
[info] [Xcode] 10:26:16.255 xcodebuild[56887:912232] Received connection for test runner session
[info] [Xcode] 10:26:16.255 xcodebuild[56887:912232] Listening for proxy connection request from the test bundle
[info] [Xcode] 10:26:16.256 xcodebuild[56887:912232] Initiating session with identifier: EF3FE0D4-1E00-41D1-AB14-B95736096928
[info] [Xcode] 10:26:16.256 xcodebuild[56887:911105] Adding console adaptor <IDEConsoleAdaptor: