[XCUITest] Starting WebDriverAgent initialization with the synchronization key 'XCUITestDriver' [XCUITest] Capability 'useNewWDA' set to true, so uninstalling WDA before proceeding [WebDriverAgent] Shutting down sub-processes [iOSSim] Building bundle path map [iOSSim] The simulator has '0' bundles which have 'WebDriverAgentRunner-Runner' as their 'CFBundleName': [WebDriverAgent] No WDAs on the device. [BaseDriver] Event 'wdaUninstalled' logged at 1677756728620 (12:32:08 GMT+0100 (Central European Standard Time)) [XCUITest] Trying to start WebDriverAgent 2 times with 10000ms interval [XCUITest] These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities [BaseDriver] Event 'wdaStartAttempted' logged at 1677756728620 (12:32:08 GMT+0100 (Central European Standard Time)) [WebDriverAgent] Launching WebDriverAgent on the device [WebDriverAgent] WebDriverAgent does not need a cleanup. The sources are up to date (1652581048000 >= 1652581048000) [WebDriverAgent] Killing running processes 'xcodebuild.*AE611A46-F4C0-4409-ACD9-7F26DF5DE645, AE611A46-F4C0-4409-ACD9-7F26DF5DE645.*XCTRunner, xctest.*AE611A46-F4C0-4409-ACD9-7F26DF5DE645' for the device AE611A46-F4C0-4409-ACD9-7F26DF5DE645... [WebDriverAgent] 'pgrep -if xcodebuild.*AE611A46-F4C0-4409-ACD9-7F26DF5DE645' didn't detect any matching processes. Return code: 1 [WebDriverAgent] 'pgrep -if AE611A46-F4C0-4409-ACD9-7F26DF5DE645.*XCTRunner' didn't detect any matching processes. Return code: 1 [WebDriverAgent] 'pgrep -if xctest.*AE611A46-F4C0-4409-ACD9-7F26DF5DE645' didn't detect any matching processes. Return code: 1 [WebDriverAgent] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/mark/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou -destination id=AE611A46-F4C0-4409-ACD9-7F26DF5DE645 IPHONEOS_DEPLOYMENT_TARGET=15.4 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent' [WebDriverAgent] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability [WebDriverAgent] Waiting up to 60000ms for WebDriverAgent to start [WD Proxy] Matched '/status' to command name 'getStatus' [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body [WD Proxy] connect ECONNREFUSED 127.0.0.1:8100 [WD Proxy] Matched '/status' to command name 'getStatus' [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body [WD Proxy] connect ECONNREFUSED 127.0.0.1:8100 [WD Proxy] Matched '/status' to command name 'getStatus' [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body [WD Proxy] connect ECONNREFUSED 127.0.0.1:8100 [WD Proxy] Matched '/status' to command name 'getStatus' [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body [WD Proxy] connect ECONNREFUSED 127.0.0.1:8100 [WD Proxy] Matched '/status' to command name 'getStatus' [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body [WD Proxy] connect ECONNREFUSED 127.0.0.1:8100 [WD Proxy] Matched '/status' to command name 'getStatus' [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body [WD Proxy] connect ECONNREFUSED 127.0.0.1:8100 [WD Proxy] Matched '/status' to command name 'getStatus' [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body [WD Proxy] connect ECONNREFUSED 127.0.0.1:8100 [WD Proxy] Matched '/status' to command name 'getStatus' [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body [WD Proxy] connect ECONNREFUSED 127.0.0.1:8100 [WD Proxy] Matched '/status' to command name 'getStatus' [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body [WD Proxy] connect ECONNREFUSED 127.0.0.1:8100 [WebDriverAgent] xcodebuild exited with code '65' and signal 'null' [WebDriverAgent] Launching WebDriverAgent on the device [WebDriverAgent] WebDriverAgent does not need a cleanup. The sources are up to date (1652581048000 >= 1652581048000) [WebDriverAgent] Killing running processes 'xcodebuild.*AE611A46-F4C0-4409-ACD9-7F26DF5DE645, AE611A46-F4C0-4409-ACD9-7F26DF5DE645.*XCTRunner, xctest.*AE611A46-F4C0-4409-ACD9-7F26DF5DE645' for the device AE611A46-F4C0-4409-ACD9-7F26DF5DE645... [WebDriverAgent] 'pgrep -if xcodebuild.*AE611A46-F4C0-4409-ACD9-7F26DF5DE645' didn't detect any matching processes. Return code: 1 [WebDriverAgent] 'pgrep -if AE611A46-F4C0-4409-ACD9-7F26DF5DE645.*XCTRunner' didn't detect any matching processes. Return code: 1 [WebDriverAgent] 'pgrep -if xctest.*AE611A46-F4C0-4409-ACD9-7F26DF5DE645' didn't detect any matching processes. Return code: 1 [WebDriverAgent] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/mark/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou -destination id=AE611A46-F4C0-4409-ACD9-7F26DF5DE645 IPHONEOS_DEPLOYMENT_TARGET=15.4 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent' [WebDriverAgent] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability [WD Proxy] Matched '/status' to command name 'getStatus' [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body [WD Proxy] connect ECONNREFUSED 127.0.0.1:8100 [WebDriverAgent] Waiting up to 60000ms for WebDriverAgent to start [WD Proxy] Matched '/status' to command name 'getStatus' [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body [WD Proxy] connect ECONNREFUSED 127.0.0.1:8100 [WD Proxy] Matched '/status' to command name 'getStatus' [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body [WD Proxy] connect ECONNREFUSED 127.0.0.1:8100 [WD Proxy] Matched '/status' to command name 'getStatus' [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body [WD Proxy] connect ECONNREFUSED 127.0.0.1:8100 [WD Proxy] Matched '/status' to command name 'getStatus' [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body [WD Proxy] connect ECONNREFUSED 127.0.0.1:8100 [WD Proxy] Matched '/status' to command name 'getStatus' [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body [WD Proxy] connect ECONNREFUSED 127.0.0.1:8100 [WD Proxy] Matched '/status' to command name 'getStatus' [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body [WD Proxy] connect ECONNREFUSED 127.0.0.1:8100 [WD Proxy] Matched '/status' to command name 'getStatus' [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body [WD Proxy] connect ECONNREFUSED 127.0.0.1:8100 [WD Proxy] Matched '/status' to command name 'getStatus' [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body [WD Proxy] connect ECONNREFUSED 127.0.0.1:8100 [WebDriverAgent] xcodebuild exited with code '65' and signal 'null' [BaseDriver] Event 'wdaStartFailed' logged at 1677756743016 (12:32:23 GMT+0100 (Central European Standard Time)) [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65 [XCUITest] xcodebuild error message: [XCUITest] [XCUITest] Quitting and uninstalling WebDriverAgent [WebDriverAgent] Shutting down sub-processes [iOSSim] Building bundle path map [iOSSim] The simulator has '0' bundles which have 'WebDriverAgentRunner-Runner' as their 'CFBundleName': [WebDriverAgent] No WDAs on the device. [BaseDriver] Event 'wdaStartAttempted' logged at 1677756753022 (12:32:33 GMT+0100 (Central European Standard Time)) [XCUITest] Retrying WDA startup (2 of 2) [WebDriverAgent] Launching WebDriverAgent on the device [WebDriverAgent] WebDriverAgent does not need a cleanup. The sources are up to date (1652581048000 >= 1652581048000) [WebDriverAgent] Killing running processes 'xcodebuild.*AE611A46-F4C0-4409-ACD9-7F26DF5DE645, AE611A46-F4C0-4409-ACD9-7F26DF5DE645.*XCTRunner, xctest.*AE611A46-F4C0-4409-ACD9-7F26DF5DE645' for the device AE611A46-F4C0-4409-ACD9-7F26DF5DE645... [WebDriverAgent] 'pgrep -if xcodebuild.*AE611A46-F4C0-4409-ACD9-7F26DF5DE645' didn't detect any matching processes. Return code: 1 [WebDriverAgent] 'pgrep -if AE611A46-F4C0-4409-ACD9-7F26DF5DE645.*XCTRunner' didn't detect any matching processes. Return code: 1 [WebDriverAgent] 'pgrep -if xctest.*AE611A46-F4C0-4409-ACD9-7F26DF5DE645' didn't detect any matching processes. Return code: 1 [WebDriverAgent] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/mark/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou -destination id=AE611A46-F4C0-4409-ACD9-7F26DF5DE645 IPHONEOS_DEPLOYMENT_TARGET=15.4 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent' [WebDriverAgent] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability [WebDriverAgent] Waiting up to 60000ms for WebDriverAgent to start [WD Proxy] Matched '/status' to command name 'getStatus' [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body [WD Proxy] connect ECONNREFUSED 127.0.0.1:8100 [WD Proxy] Matched '/status' to command name 'getStatus' [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body [WD Proxy] connect ECONNREFUSED 127.0.0.1:8100 [WD Proxy] Matched '/status' to command name 'getStatus' [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body [WD Proxy] connect ECONNREFUSED 127.0.0.1:8100 [WebDriverAgent] xcodebuild exited with code '65' and signal 'null' [WebDriverAgent] Launching WebDriverAgent on the device [WebDriverAgent] WebDriverAgent does not need a cleanup. The sources are up to date (1652581048000 >= 1652581048000) [WebDriverAgent] Killing running processes 'xcodebuild.*AE611A46-F4C0-4409-ACD9-7F26DF5DE645, AE611A46-F4C0-4409-ACD9-7F26DF5DE645.*XCTRunner, xctest.*AE611A46-F4C0-4409-ACD9-7F26DF5DE645' for the device AE611A46-F4C0-4409-ACD9-7F26DF5DE645... [WebDriverAgent] 'pgrep -if xcodebuild.*AE611A46-F4C0-4409-ACD9-7F26DF5DE645' didn't detect any matching processes. Return code: 1 [WebDriverAgent] 'pgrep -if AE611A46-F4C0-4409-ACD9-7F26DF5DE645.*XCTRunner' didn't detect any matching processes. Return code: 1 [WebDriverAgent] 'pgrep -if xctest.*AE611A46-F4C0-4409-ACD9-7F26DF5DE645' didn't detect any matching processes. Return code: 1 [WebDriverAgent] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/mark/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou -destination id=AE611A46-F4C0-4409-ACD9-7F26DF5DE645 IPHONEOS_DEPLOYMENT_TARGET=15.4 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent' [WebDriverAgent] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability [WD Proxy] Matched '/status' to command name 'getStatus' [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body