Aleksei I added this capability but I get this
[debug] [XCUITest] Installing ‘/Users/vagrant/deploy/elcorteinglesPRO.app’ on Simulator with UUID ‘40F51BB6-F6ED-45AE-8A33-15E6836705EE’…
[debug] [WebDriverAgent] Parsed BUILD_DIR configuration value: ‘/Users/vagrant/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Build/Products’
[debug] [WebDriverAgent] Got derived data root: ‘/Users/vagrant/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu’
[debug] [XCUITest] The app has been installed successfully.
[debug] [BaseDriver] Event ‘appInstalled’ logged at 1666019750389 (15:15:50 GMT+0000 (Greenwich Mean Time))
[debug] [WebDriverAgent] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[DevCon Factory] Requesting connection for device 40F51BB6-F6ED-45AE-8A33-15E6836705EE on local port 8100
[debug] [DevCon Factory] Cached connections count: 0
[DevCon Factory] Successfully requested the connection for 40F51BB6-F6ED-45AE-8A33-15E6836705EE:8100
[debug] [XCUITest] Starting WebDriverAgent initialization with the synchronization key ‘XCUITestDriver’
[debug] [XCUITest] Capability ‘useNewWDA’ set to true, so uninstalling WDA before proceeding
[WebDriverAgent] Shutting down sub-processes
[debug] [iOSSim] Building bundle path map
[debug] [iOSSim] The simulator has ‘0’ bundles which have ‘WebDriverAgentRunner-Runner’ as their ‘CFBundleName’:
[debug] [WebDriverAgent] No WDAs on the device.
[debug] [BaseDriver] Event ‘wdaUninstalled’ logged at 1666019750849 (15:15:50 GMT+0000 (Greenwich Mean Time))
[debug] [XCUITest] Trying to start WebDriverAgent 2 times with 10000ms interval
[debug] [XCUITest] These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities
[debug] [BaseDriver] Event ‘wdaStartAttempted’ logged at 1666019750850 (15:15:50 GMT+0000 (Greenwich Mean Time))
[WebDriverAgent] Launching WebDriverAgent on the device
[debug] [WebDriverAgent] Stored the recent WebDriverAgent upgrade timestamp 1666019016621 at ‘/Users/vagrant/.appium/webdriveragent/upgrade.time’
[debug] [WebDriverAgent] Cleaning the project scheme ‘WebDriverAgentLib’ to make sure there are no leftovers from previous installs
[debug] [WebDriverAgent] Cleaning the project scheme ‘WebDriverAgentRunner’ to make sure there are no leftovers from previous installs
[debug] [WebDriverAgent] Killing running processes ‘xcodebuild.*40F51BB6-F6ED-45AE-8A33-15E6836705EE, 40F51BB6-F6ED-45AE-8A33-15E6836705EE.*XCTRunner, xctest.*40F51BB6-F6ED-45AE-8A33-15E6836705EE’ for the device 40F51BB6-F6ED-45AE-8A33-15E6836705EE…
[debug] [WebDriverAgent] ‘pgrep -if xcodebuild.*40F51BB6-F6ED-45AE-8A33-15E6836705EE’ didn’t detect any matching processes. Return code: 1
[debug] [WebDriverAgent] ‘pgrep -if xctest.*40F51BB6-F6ED-45AE-8A33-15E6836705EE’ didn’t detect any matching processes. Return code: 1
[debug] [WebDriverAgent] ‘pgrep -if 40F51BB6-F6ED-45AE-8A33-15E6836705EE.*XCTRunner’ didn’t detect any matching processes. Return code: 1
[debug] [WebDriverAgent] Beginning test with command ‘xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/vagrant/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu -destination id=40F51BB6-F6ED-45AE-8A33-15E6836705EE IPHONEOS_DEPLOYMENT_TARGET=16.0 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO’ in directory ‘/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent’
[debug] [WebDriverAgent] Output from xcodebuild will only be logged if any errors are present there. To change this, use ‘showXcodeLog’ desired capability
[debug] [WebDriverAgent] Waiting up to 60000ms for WebDriverAgent to start
[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [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
[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [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
[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[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 (1666019016621 >= 1666019016621)
[debug] [WebDriverAgent] Killing running processes ‘xcodebuild.*40F51BB6-F6ED-45AE-8A33-15E6836705EE, 40F51BB6-F6ED-45AE-8A33-15E6836705EE.*XCTRunner, xctest.*40F51BB6-F6ED-45AE-8A33-15E6836705EE’ for the device 40F51BB6-F6ED-45AE-8A33-15E6836705EE…
[debug] [WebDriverAgent] ‘pgrep -if xcodebuild.*40F51BB6-F6ED-45AE-8A33-15E6836705EE’ didn’t detect any matching processes. Return code: 1
[debug] [WebDriverAgent] ‘pgrep -if xctest.*40F51BB6-F6ED-45AE-8A33-15E6836705EE’ didn’t detect any matching processes. Return code: 1
[debug] [WebDriverAgent] ‘pgrep -if 40F51BB6-F6ED-45AE-8A33-15E6836705EE.*XCTRunner’ didn’t detect any matching processes. Return code: 1
[debug] [WebDriverAgent] Beginning test with command ‘xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/vagrant/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu -destination id=40F51BB6-F6ED-45AE-8A33-15E6836705EE IPHONEOS_DEPLOYMENT_TARGET=16.0 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO’ in directory ‘/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent’
[debug] [IOSSimulatorLog] Stopping iOS log capture
[debug] [BaseDriver] Event ‘newSessionStarted’ logged at 1666019787240 (15:16:27 GMT+0000 (Greenwich Mean Time))
[debug] [W3C] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
[debug] [W3C] xcodebuild error message:
[debug] [W3C]
[debug] [W3C] at quitAndUninstall (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:585:15)
[debug] [W3C] at /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:620:11
[debug] [W3C] at wrapped (/usr/local/lib/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:60:13)
[debug] [W3C] at retry (/usr/local/lib/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:43:13)
[debug] [W3C] at retryInterval (/usr/local/lib/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:70:10)
[debug] [W3C] at /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:600:7
[HTTP] <-- POST /wd/hub/session 500 43194 ms - 741
[HTTP]
[HTTP] --> POST /wd/hub/session
[HTTP] {“desiredCapabilities”:{“app”:"/Users/vagrant/deploy/elcorteinglesPRO.app",“platformVersion”:“16.0”,“automationName”:“XCuiTest”,“useNewWDA”:true,“platformName”:“iOS”,“deviceName”:“iPhone 8 Plus”,“usePrebuiltWDA”:false},“capabilities”:{“firstMatch”:[{“appium:app”:"/Users/vagrant/deploy/elcorteinglesPRO.app",“appium:automationName”:“XCuiTest”,“appium:deviceName”:“iPhone 8 Plus”,“platformName”:“ios”,“appium:platformVersion”:“16.0”,“appium:useNewWDA”:true,“appium:usePrebuiltWDA”:false}]}}