[debug] [35m[BaseDriver][39m Creating session with MJSONWP desired capabilities: {"app":"com.ss.iphone.artic...
[info] [35m[BaseDriver][39m Session created with session id: 94c9fe84-1275-4b38-8b5f-b262da01a702
[debug] [35m[XCUITest][39m Current user: 'boyue'
[error] [35m[XCUITest][39m Error: 'undefined' cannot be coerced to a valid version number
[error] [35m[XCUITest][39m at coerceVersion (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-support/lib/util.js:241:11)
[error] [35m[XCUITest][39m at Object.coerceVersion as compareVersions
[error] [35m[XCUITest][39m at XCUITestDriver.compareVersions as start
[debug] [35m[XCUITest][39m Not clearing log files. Use clearSystemFiles capability to turn on.
[debug] [35m[BaseDriver][39m Event 'newSessionStarted' logged at 1555580726869 (17:45:26 GMT+0800 (CST))
[debug] [35m[MJSONWP][39m Encountered internal error running command: Error: 'undefined' cannot be coerced to a valid version number
[debug] [35m[MJSONWP][39m at coerceVersion (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-support/lib/util.js:241:11)
[debug] [35m[MJSONWP][39m at Object.coerceVersion as compareVersions
[debug] [35m[MJSONWP][39m at XCUITestDriver.compareVersions as start
[info] [35m[HTTP][39m [37m<-- POST /wd/hub/session [39m[31m500[39m [90m18 ms - 192[39m
[debug] [35m[BaseDriver][39m Creating session with MJSONWP desired capabilities: {"app":"com.ss.iphone.artic...
[info] [35m[BaseDriver][39m Session created with session id: bdd73922-7fc4-440e-84e9-788031a497f7
[debug] [35m[XCUITest][39m Current user: 'boyue'
[debug] [35m[XCUITest][39m Available devices: xxxxxxx
[debug] [35m[XCUITest][39m Creating iDevice object with udid 'xxxxxxx'
[info] [35m[XCUITest][39m Determining device to run tests on: udid: 'xxxxxxx', real device: true[info] [35m[XCUITest][39m Xcode version set to '10.2' (tools v10.2.0.0.1.1552586384)
[info] [35m[XCUITest][39m iOS SDK Version set to '12.2'
[debug] [35m[BaseDriver][39m Event 'xcodeDetailsRetrieved' logged at 1555580794720 (17:46:34 GMT+0800 (CST))
[debug] [35m[XCUITest][39m App is an iOS bundle, will attempt to run as pre-existing
[debug] [35m[BaseDriver][39m Event 'appConfigured' logged at 1555580794721 (17:46:34 GMT+0800 (CST))
[debug] [35m[BaseDriver][39m Event 'resetStarted' logged at 1555580794721 (17:46:34 GMT+0800 (CST))
[debug] [35m[XCUITest][39m Reset: running ios real device reset flow
[debug] [35m[BaseDriver][39m Event 'resetComplete' logged at 1555580794722 (17:46:34 GMT+0800 (CST))
[debug] [35m[iOSLog][39m Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [35m[iOSLog][39m Starting iOS device log capture with: 'idevicesyslog'[debug] [35m[XCUITest][39m Crash reports root '/Users/boyue/Library/Logs/CrashReporter/MobileDevice/胡雷廷的 iPhone' does not exist. Got nothing to gather.
[debug] [35m[BaseDriver][39m Event 'logCaptureStarted' logged at 1555580794902 (17:46:34 GMT+0800 (CST))
[info] [35m[XCUITest][39m Setting up real device[info] [35m[XCUITest][39m Using WDA path: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[info] [35m[XCUITest][39m Using WDA agent: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'[debug] [35m[XCUITest][39m No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[warn] [35m[WD Proxy][39m Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [35m[XCUITest][39m WDA is not listening at 'http://localhost:8100/'
[debug] [35m[XCUITest][39m WDA is currently not running. There is nothing to cache
[debug] [35m[XCUITest][39m Trying to start WebDriverAgent 1 times with 10000ms interval
[debug] [35m[XCUITest][39m These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities
[debug] [35m[BaseDriver][39m Event 'wdaStartAttempted' logged at 1555580795415 (17:46:35 GMT+0800 (CST))
[info] [35m[XCUITest][39m Launching WebDriverAgent on the device
[debug] [35m[XCUITest][39m Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB for the device xxxxxxx[debug] [35m[XCUITest][39m 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=xxxxxxx IPHONEOS_DEPLOYMENT_TARGET=12.1 GCC_TREAT_WARNINGS_AS_ERRORS=0' in directory '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[debug] [35m[XCUITest][39m Output from xcodebuild will not be logged. To change this, use 'showXcodeLog' desired capability[debug] [35m[XCUITest][39m Waiting up to 60000ms for WebDriverAgent to start
[debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://localhost:8100/status] with no body