[info] [HTTP] Waiting until the server is closed [info] [HTTP] Received server close event [info] [Appium] Welcome to Appium v1.22.3 [info] [Appium] Non-default server args: [info] [Appium] relaxedSecurityEnabled: true [info] [Appium] allowInsecure: { [info] [Appium] } [info] [Appium] denyInsecure: { [info] [Appium] } [info] [Appium] Appium REST http interface listener started on 0.0.0.0:4723[info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"alwaysMatch":{"platformName":"iOS","appium:platformVersion":"17.2","appium:deviceName":"iPhone 15","appium:automationName":"XCUITest","appium:updatedWDABundleId":"com.gmail.snapfixapp","appium:includeSafariInWebviews":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"iOS","appium:platformVersion":"17.2","appium:deviceName":"iPhone 15","appium:automationName":"XCUITest","appium:updatedWDABundleId":"com.gmail.snapfixapp","appium:includeSafariInWebviews":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"iOS","appium:platformVersion":"17.2","appium:deviceName":"iPhone 15","appium:automationName":"XCUITest","appium:updatedWDABundleId":"com.gmail.snapfixapp","appium:includeSafariInWebviews":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true},null,{"alwaysMatch":{"platformName":"iOS","appium:platformVersion":"17.2","appium:deviceName":"iPhone 15","appium:automationName":"XCUITest","appium:updatedWDABundleId":"com.gmail.snapfixapp","appium:includeSafariInWebviews":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true},"firstMatch":[{}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1746627961909 (19:56:01 GMT+0530 (India Standard Time)) [info] [Appium] Appium v1.22.3 creating new XCUITestDriver (v3.59.0) session [info] [Appium] Applying relaxed security to 'XCUITestDriver' as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "iOS", [debug] [BaseDriver] "appium:platformVersion": "17.2", [debug] [BaseDriver] "appium:deviceName": "iPhone 15", [debug] [BaseDriver] "appium:automationName": "XCUITest", [debug] [BaseDriver] "appium:updatedWDABundleId": "com.gmail.snapfixapp", [debug] [BaseDriver] "appium:includeSafariInWebviews": true, [debug] [BaseDriver] "appium:newCommandTimeout": 3600, [debug] [BaseDriver] "appium:connectHardwareKeyboard": true [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [info] [XCUITest] The desired capabilities include neither an app nor a bundleId. WebDriverAgent will be started without the default app [info] [BaseDriver] Session created with session id: bea16396-ce27-4ac6-8758-167848eec5bc [debug] [XCUITest] Current user: 'pratik' [info] [XCUITest] iOS SDK Version set to '18.2'[info] [iOSSim] Constructing iOS simulator for Xcode version 16.2 with udid 'F37F3FFC-C1FA-43B2-9577-E56918A4A4B5' [info] [XCUITest] Determining device to run tests on: udid: 'F37F3FFC-C1FA-43B2-9577-E56918A4A4B5', real device: false [debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1746627962375 (19:56:02 GMT+0530 (India Standard Time)) [debug] [BaseDriver] Event 'appConfigured' logged at 1746627962376 (19:56:02 GMT+0530 (India Standard Time)) [debug] [BaseDriver] Event 'resetStarted' logged at 1746627962376 (19:56:02 GMT+0530 (India Standard Time)) [debug] [BaseDriver] Event 'resetComplete' logged at 1746627962376 (19:56:02 GMT+0530 (India Standard Time)) [info] [WebDriverAgent] Using WDA path: '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent' [info] [WebDriverAgent] Using WDA agent: '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'[debug] [IOSSimulatorLog] Starting log capture for iOS Simulator with udid 'F37F3FFC-C1FA-43B2-9577-E56918A4A4B5' using simctl[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1746627962981 (19:56:02 GMT+0530 (India Standard Time)) [info] [XCUITest] Setting up simulator [debug] [XCUITest] No reason to set locale [debug] [XCUITest] No iOS / app preferences to set [debug] [XCUITest] Setting did not need to be updated [debug] [iOSSim] Setting preferences of F37F3FFC-C1FA-43B2-9577-E56918A4A4B5 Simulator to {"ConnectHardwareKeyboard":true} [debug] [iOSSim] Setting common Simulator preferences to {"RotateWindowWhenSignaledByGuest":true,"ConnectHardwareKeyboard":true,"PasteboardAutomaticSync":false}[debug] [iOSSim] Updated F37F3FFC-C1FA-43B2-9577-E56918A4A4B5 Simulator preferences at '/Users/pratik/Library/Preferences/com.apple.iphonesimulator.plist' with {"RotateWindowWhenSignaledByGuest":true,"ConnectHardwareKeyboard":true,"PasteboardAutomaticSync":false,"DevicePreferences":{"F37F3FFC-C1FA-43B2-9577-E56918A4A4B5":{"SimulatorExternalDisplay":2114,"ConnectHardwareKeyboard":true,"ChromeTint":""}}}[debug] [iOSSim] Got Simulator UI client PID: 486 [info] [iOSSim] Both Simulator with UDID 'F37F3FFC-C1FA-43B2-9577-E56918A4A4B5' and the UI client are currently running[debug] [BaseDriver] Event 'simStarted' logged at 1746627963642 (19:56:03 GMT+0530 (India Standard Time)) [debug] [WebDriverAgent] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found [info] [DevCon Factory] Requesting connection for device F37F3FFC-C1FA-43B2-9577-E56918A4A4B5 on local port 8100 [debug] [DevCon Factory] Cached connections count: 0 [info] [DevCon Factory] Successfully requested the connection for F37F3FFC-C1FA-43B2-9577-E56918A4A4B5:8100 [debug] [XCUITest] Starting WebDriverAgent initialization with the synchronization key 'XCUITestDriver' [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 [info] [WD Proxy] connect ECONNREFUSED 127.0.0.1:8100 [debug] [WebDriverAgent] WDA is not listening at 'http://127.0.0.1:8100/' [debug] [WebDriverAgent] WDA is currently not running. There is nothing to cache [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 1746627963705 (19:56:03 GMT+0530 (India Standard Time)) [info] [WebDriverAgent] Launching WebDriverAgent on the device [info] [WebDriverAgent] WebDriverAgent does not need a cleanup. The sources are up to date (1652581048000 >= 1652581048000) [debug] [WebDriverAgent] Killing running processes 'xcodebuild.*F37F3FFC-C1FA-43B2-9577-E56918A4A4B5, F37F3FFC-C1FA-43B2-9577-E56918A4A4B5.*XCTRunner, xctest.*F37F3FFC-C1FA-43B2-9577-E56918A4A4B5' for the device F37F3FFC-C1FA-43B2-9577-E56918A4A4B5... [debug] [WebDriverAgent] 'pgrep -if xcodebuild.*F37F3FFC-C1FA-43B2-9577-E56918A4A4B5' didn't detect any matching processes. Return code: 1 [debug] [WebDriverAgent] 'pgrep -if F37F3FFC-C1FA-43B2-9577-E56918A4A4B5.*XCTRunner' didn't detect any matching processes. Return code: 1 [debug] [WebDriverAgent] 'pgrep -if xctest.*F37F3FFC-C1FA-43B2-9577-E56918A4A4B5' didn't detect any matching processes. Return code: 1 [debug] [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 -destination id=F37F3FFC-C1FA-43B2-9577-E56918A4A4B5 IPHONEOS_DEPLOYMENT_TARGET=17.2 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' [debug] [WebDriverAgent] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability[debug] [WebDriverAgent] Parsed BUILD_DIR configuration value: '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/build' [debug] [WebDriverAgent] Got derived data root: '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules'[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 [info] [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 [info] [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 [info] [WD Proxy] connect ECONNREFUSED 127.0.0.1:8100[error] [WebDriverAgent] xcodebuild exited with code '65' and signal 'null' [info] [WebDriverAgent] Launching WebDriverAgent on the device [info] [WebDriverAgent] WebDriverAgent does not need a cleanup. The sources are up to date (1652581048000 >= 1652581048000) [debug] [WebDriverAgent] Killing running processes 'xcodebuild.*F37F3FFC-C1FA-43B2-9577-E56918A4A4B5, F37F3FFC-C1FA-43B2-9577-E56918A4A4B5.*XCTRunner, xctest.*F37F3FFC-C1FA-43B2-9577-E56918A4A4B5' for the device F37F3FFC-C1FA-43B2-9577-E56918A4A4B5... [debug] [WebDriverAgent] 'pgrep -if xcodebuild.*F37F3FFC-C1FA-43B2-9577-E56918A4A4B5' didn't detect any matching processes. Return code: 1 [debug] [WebDriverAgent] 'pgrep -if F37F3FFC-C1FA-43B2-9577-E56918A4A4B5.*XCTRunner' didn't detect any matching processes. Return code: 1 [debug] [WebDriverAgent] 'pgrep -if xctest.*F37F3FFC-C1FA-43B2-9577-E56918A4A4B5' didn't detect any matching processes. Return code: 1 [debug] [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 /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules -destination id=F37F3FFC-C1FA-43B2-9577-E56918A4A4B5 IPHONEOS_DEPLOYMENT_TARGET=17.2 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' [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 [info] [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 [info] [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 [info] [WD Proxy] connect ECONNREFUSED 127.0.0.1:8100[error] [WebDriverAgent] xcodebuild exited with code '65' and signal 'null' [debug] [BaseDriver] Event 'wdaStartFailed' logged at 1746627969262 (19:56:09 GMT+0530 (India Standard Time)) [debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65 [debug] [XCUITest] xcodebuild error message: [debug] [XCUITest] [warn] [XCUITest] Quitting and uninstalling WebDriverAgent [info] [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 'wdaStartAttempted' logged at 1746627979514 (19:56:19 GMT+0530 (India Standard Time)) [info] [XCUITest] Retrying WDA startup (2 of 2) [info] [WebDriverAgent] Launching WebDriverAgent on the device [info] [WebDriverAgent] WebDriverAgent does not need a cleanup. The sources are up to date (1652581048000 >= 1652581048000) [debug] [WebDriverAgent] Killing running processes 'xcodebuild.*F37F3FFC-C1FA-43B2-9577-E56918A4A4B5, F37F3FFC-C1FA-43B2-9577-E56918A4A4B5.*XCTRunner, xctest.*F37F3FFC-C1FA-43B2-9577-E56918A4A4B5' for the device F37F3FFC-C1FA-43B2-9577-E56918A4A4B5...[debug] [WebDriverAgent] 'pgrep -if xcodebuild.*F37F3FFC-C1FA-43B2-9577-E56918A4A4B5' didn't detect any matching processes. Return code: 1 [debug] [WebDriverAgent] 'pgrep -if F37F3FFC-C1FA-43B2-9577-E56918A4A4B5.*XCTRunner' didn't detect any matching processes. Return code: 1 [debug] [WebDriverAgent] 'pgrep -if xctest.*F37F3FFC-C1FA-43B2-9577-E56918A4A4B5' didn't detect any matching processes. Return code: 1 [debug] [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 /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules -destination id=F37F3FFC-C1FA-43B2-9577-E56918A4A4B5 IPHONEOS_DEPLOYMENT_TARGET=17.2 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' [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 [info] [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 [info] [WD Proxy] connect ECONNREFUSED 127.0.0.1:8100[error] [WebDriverAgent] xcodebuild exited with code '65' and signal 'null' [info] [WebDriverAgent] Launching WebDriverAgent on the device [info] [WebDriverAgent] WebDriverAgent does not need a cleanup. The sources are up to date (1652581048000 >= 1652581048000) [debug] [WebDriverAgent] Killing running processes 'xcodebuild.*F37F3FFC-C1FA-43B2-9577-E56918A4A4B5, F37F3FFC-C1FA-43B2-9577-E56918A4A4B5.*XCTRunner, xctest.*F37F3FFC-C1FA-43B2-9577-E56918A4A4B5' for the device F37F3FFC-C1FA-43B2-9577-E56918A4A4B5... [debug] [WebDriverAgent] 'pgrep -if xcodebuild.*F37F3FFC-C1FA-43B2-9577-E56918A4A4B5' didn't detect any matching processes. Return code: 1 [debug] [WebDriverAgent] 'pgrep -if F37F3FFC-C1FA-43B2-9577-E56918A4A4B5.*XCTRunner' didn't detect any matching processes. Return code: 1 [debug] [WebDriverAgent] 'pgrep -if xctest.*F37F3FFC-C1FA-43B2-9577-E56918A4A4B5' didn't detect any matching processes. Return code: 1 [debug] [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 /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules -destination id=F37F3FFC-C1FA-43B2-9577-E56918A4A4B5 IPHONEOS_DEPLOYMENT_TARGET=17.2 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' [debug] [WebDriverAgent] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability[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 [info] [WD Proxy] connect ECONNREFUSED 127.0.0.1:8100[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 [info] [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 [info] [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 [info] [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 [info] [WD Proxy] connect ECONNREFUSED 127.0.0.1:8100[error] [WebDriverAgent] xcodebuild exited with code '65' and signal 'null' [debug] [BaseDriver] Event 'wdaStartFailed' logged at 1746627984568 (19:56:24 GMT+0530 (India Standard Time)) [debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65 [debug] [XCUITest] xcodebuild error message: [debug] [XCUITest] [warn] [XCUITest] Quitting and uninstalling WebDriverAgent [info] [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. [error] [XCUITest] {} [info] [DevCon Factory] Releasing connections for F37F3FFC-C1FA-43B2-9577-E56918A4A4B5 device on any port number [info] [DevCon Factory] Found cached connections to release: ["F37F3FFC-C1FA-43B2-9577-E56918A4A4B5:8100"] [debug] [DevCon Factory] Cached connections count: 0 [debug] [XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on. [debug] [IOSSimulatorLog] Stopping iOS log capture [debug] [BaseDriver] Event 'newSessionStarted' logged at 1746627984579 (19:56:24 GMT+0530 (India Standard 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 (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:585:15) [debug] [W3C] at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:620:11 [debug] [W3C] at wrapped (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:60:13) [debug] [W3C] at retry (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:43:13) [debug] [W3C] at retryInterval (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:70:10) [debug] [W3C] at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:600:7 [info] [HTTP] <-- POST /wd/hub/session 500 22674 ms - 829 [info] [HTTP]