2022-09-06 23:45:00:294 [Appium] Welcome to Appium v2.0.0-beta.43 2022-09-06 23:45:00:296 [Appium] Non-default server args: 2022-09-06 23:45:00:297 [Appium] { address: 'localhost', basePath: '/', relaxedSecurityEnabled: true } 2022-09-06 23:45:00:297 [Appium] Attempting to load driver xcuitest... 2022-09-06 23:45:00:297 [Appium] Requiring driver at /Users/dgfs/.appium/node_modules/appium-xcuitest-driver 2022-09-06 23:45:00:728 [Appium] Appium REST http interface listener started on localhost:4723 2022-09-06 23:45:00:728 [Appium] Available drivers: 2022-09-06 23:45:00:728 [Appium] - xcuitest@4.10.2 (automationName 'XCUITest') 2022-09-06 23:45:00:729 [Appium] No plugins have been installed. Use the "appium plugin" command to install the one(s) you want to use. 2022-09-06 23:45:01:076 [HTTP] --> POST /session 2022-09-06 23:45:01:076 [HTTP] {"capabilities":{"alwaysMatch":{"platformName":"iOS","appium:deviceName":"iPhone 13","appium:platformVersion":"15.5","appium:orientation":"PORTRAIT","appium:automationName":"XCUITest","appium:app":"/Users/dgfs/Documents/appium-boilerplate/apps/appname.app","appium:newCommandTimeout":240},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"iOS","appium:deviceName":"iPhone 13","appium:platformVersion":"15.5","appium:orientation":"PORTRAIT","appium:automationName":"XCUITest","appium:app":"/Users/dgfs/Documents/appium-boilerplate/apps/appname.app","appium:newCommandTimeout":240}} 2022-09-06 23:45:01:076 [AppiumDriver@f156] Calling AppiumDriver.createSession() with args: [{"platformName":"iOS","appium:deviceName":"iPhone 13","appium:platformVersion":"15.5","appium:orientation":"PORTRAIT","appium:automationName":"XCUITest","appium:app":"/Users/dgfs/Documents/appium-boilerplate/apps/appname.app","appium:newCommandTimeout":240},null,{"alwaysMatch":{"platformName":"iOS","appium:deviceName":"iPhone 13","appium:platformVersion":"15.5","appium:orientation":"PORTRAIT","appium:automationName":"XCUITest","appium:app":"/Users/dgfs/Documents/appium-boilerplate/apps/appname.app","appium:newCommandTimeout":240},"firstMatch":[{}]}] 2022-09-06 23:45:01:077 [AppiumDriver@f156] Event 'newSessionRequested' logged at 1662507901077 (19:45:01 GMT-0400 (Eastern Daylight Time)) 2022-09-06 23:45:01:078 [Appium] Attempting to find matching driver for automationName 'XCUITest' and platformName 'iOS' 2022-09-06 23:45:01:079 [Appium] The 'xcuitest' driver was installed and matched caps. 2022-09-06 23:45:01:079 [Appium] Will require it at /Users/dgfs/.appium/node_modules/appium-xcuitest-driver 2022-09-06 23:45:01:079 [Appium] Requiring driver at /Users/dgfs/.appium/node_modules/appium-xcuitest-driver 2022-09-06 23:45:01:079 [AppiumDriver@f156] Appium v2.0.0-beta.43 creating new XCUITestDriver (v4.10.2) session 2022-09-06 23:45:01:079 [AppiumDriver@f156] Checking BaseDriver versions for Appium and XCUITestDriver 2022-09-06 23:45:01:079 [AppiumDriver@f156] Appium's BaseDriver version is 8.7.0 2022-09-06 23:45:01:079 [AppiumDriver@f156] XCUITestDriver's BaseDriver version is 8.7.0 2022-09-06 23:45:01:080 [AppiumDriver@f156] Applying relaxed security to 'XCUITestDriver' as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure 2022-09-06 23:45:01:081 [XCUITestDriver@0263] Creating session with W3C capabilities: { 2022-09-06 23:45:01:081 [XCUITestDriver@0263] "alwaysMatch": { 2022-09-06 23:45:01:081 [XCUITestDriver@0263] "platformName": "iOS", 2022-09-06 23:45:01:081 [XCUITestDriver@0263] "appium:deviceName": "iPhone 13", 2022-09-06 23:45:01:081 [XCUITestDriver@0263] "appium:platformVersion": "15.5", 2022-09-06 23:45:01:081 [XCUITestDriver@0263] "appium:orientation": "PORTRAIT", 2022-09-06 23:45:01:081 [XCUITestDriver@0263] "appium:automationName": "XCUITest", 2022-09-06 23:45:01:081 [XCUITestDriver@0263] "appium:app": "/Users/dgfs/Documents/appium-boilerplate/apps/appname.app", 2022-09-06 23:45:01:081 [XCUITestDriver@0263] "appium:newCommandTimeout": 240 2022-09-06 23:45:01:081 [XCUITestDriver@0263] }, 2022-09-06 23:45:01:081 [XCUITestDriver@0263] "firstMatch": [ 2022-09-06 23:45:01:081 [XCUITestDriver@0263] {} 2022-09-06 23:45:01:082 [XCUITestDriver@0263] ] 2022-09-06 23:45:01:082 [XCUITestDriver@0263] } 2022-09-06 23:45:01:086 [XCUITestDriver@0263 (d045574c)] Session created with session id: d045574c-06e6-42fa-b4b2-830b2cd5d607 2022-09-06 23:45:01:094 [XCUITest] Current user: 'dgfs' 2022-09-06 23:45:01:113 [XCUITestDriver@0263 (d045574c)] iOS SDK Version set to '15.5' 2022-09-06 23:45:01:177 [iOSSim] Constructing iOS simulator for Xcode version 13.4.1 with udid 'F2FD6EFA-9F11-4C33-BD29-FF62285EB7EC' 2022-09-06 23:45:01:178 [XCUITestDriver@0263 (d045574c)] Determining device to run tests on: udid: 'F2FD6EFA-9F11-4C33-BD29-FF62285EB7EC', real device: false 2022-09-06 23:45:01:180 [XCUITestDriver@0263 (d045574c)] Event 'xcodeDetailsRetrieved' logged at 1662507901179 (19:45:01 GMT-0400 (Eastern Daylight Time)) 2022-09-06 23:45:01:180 [BaseDriver] Using local app '/Users/dgfs/Documents/appium-boilerplate/apps/appname.app' 2022-09-06 23:45:01:181 [XCUITestDriver@0263 (d045574c)] Event 'appConfigured' logged at 1662507901181 (19:45:01 GMT-0400 (Eastern Daylight Time)) 2022-09-06 23:45:01:181 [XCUITest] Checking whether app '/Users/dgfs/Documents/appium-boilerplate/apps/appname.app' is actually present on file system 2022-09-06 23:45:01:181 [XCUITest] App is present 2022-09-06 23:45:01:184 [XCUITest] Getting bundle ID from app '/Users/dgfs/Documents/appium-boilerplate/apps/appname.app': 'com.appname.dev' 2022-09-06 23:45:01:185 [XCUITestDriver@0263 (d045574c)] Event 'resetStarted' logged at 1662507901185 (19:45:01 GMT-0400 (Eastern Daylight Time)) 2022-09-06 23:45:01:304 [simctl] Error running 'terminate': An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=3): Application termination failed. FBSSystemService reported failure without an error, possibly because the app is not currently running. 2022-09-06 23:45:01:304 [XCUITest] Reset: failed to terminate Simulator application with id "com.appname.dev" 2022-09-06 23:45:01:304 [XCUITest] Not scrubbing third party app in anticipation of uninstall 2022-09-06 23:45:01:304 [XCUITestDriver@0263 (d045574c)] Event 'resetComplete' logged at 1662507901304 (19:45:01 GMT-0400 (Eastern Daylight Time)) 2022-09-06 23:45:01:304 [XCUITestDriver@0263 (d045574c)] Using WDA path: '/Users/dgfs/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent' 2022-09-06 23:45:01:304 [XCUITestDriver@0263 (d045574c)] Using WDA agent: '/Users/dgfs/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj' 2022-09-06 23:45:01:368 [IOSSimulatorLog] Starting log capture for iOS Simulator with udid 'F2FD6EFA-9F11-4C33-BD29-FF62285EB7EC' using simctl 2022-09-06 23:45:01:469 [XCUITestDriver@0263 (d045574c)] Event 'logCaptureStarted' logged at 1662507901469 (19:45:01 GMT-0400 (Eastern Daylight Time)) 2022-09-06 23:45:01:469 [XCUITestDriver@0263 (d045574c)] Setting up simulator 2022-09-06 23:45:01:469 [XCUITest] No reason to set locale 2022-09-06 23:45:01:470 [XCUITest] No iOS / app preferences to set 2022-09-06 23:45:01:470 [XCUITest] Setting did not need to be updated 2022-09-06 23:45:01:470 [iOSSim] Setting preferences of F2FD6EFA-9F11-4C33-BD29-FF62285EB7EC Simulator to {"SimulatorWindowOrientation":"Portrait","SimulatorWindowRotationAngle":0,"ConnectHardwareKeyboard":false} 2022-09-06 23:45:01:470 [iOSSim] Setting common Simulator preferences to {"RotateWindowWhenSignaledByGuest":true,"StartLastDeviceOnLaunch":false,"DetachOnWindowClose":false,"AttachBootedOnStart":true,"ConnectHardwareKeyboard":false,"PasteboardAutomaticSync":false} 2022-09-06 23:45:01:683 [iOSSim] Updated F2FD6EFA-9F11-4C33-BD29-FF62285EB7EC Simulator preferences at '/Users/dgfs/Library/Preferences/com.apple.iphonesimulator.plist' with {"RotateWindowWhenSignaledByGuest":true,"StartLastDeviceOnLaunch":false,"DetachOnWindowClose":false,"AttachBootedOnStart":true,"ConnectHardwareKeyboard":false,"PasteboardAutomaticSync":false,"DevicePreferences":{"F2FD6EFA-9F11-4C33-BD29-FF62285EB7EC":{"SimulatorExternalDisplay":2114,"ConnectHardwareKeyboard":false,"SimulatorWindowOrientation":"Portrait","SimulatorWindowGeometry":{"1A12E3F7-AAA6-45FF-B0A0-D6A9BAFE360F":{"WindowCenter":"{1520, 728}","WindowScale":1}},"SimulatorWindowRotationAngle":0,"ChromeTint":""}}} 2022-09-06 23:45:01:762 [iOSSim] Got Simulator UI client PID: 477 2022-09-06 23:45:01:762 [iOSSim] Both Simulator with UDID 'F2FD6EFA-9F11-4C33-BD29-FF62285EB7EC' and the UI client are currently running 2022-09-06 23:45:01:765 [XCUITestDriver@0263 (d045574c)] Event 'simStarted' logged at 1662507901765 (19:45:01 GMT-0400 (Eastern Daylight Time)) 2022-09-06 23:45:01:766 [XCUITest] Verifying application platform 2022-09-06 23:45:01:770 [XCUITest] CFBundleSupportedPlatforms: ["iPhoneSimulator"] 2022-09-06 23:45:01:850 [simctl] Error running 'get_app_container': An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2): The operation couldn’t be completed. No such file or directory No such file or directory 2022-09-06 23:45:01:909 [XCUITest] Installing '/Users/dgfs/Documents/appium-boilerplate/apps/appname.app' on Simulator with UUID 'F2FD6EFA-9F11-4C33-BD29-FF62285EB7EC'... 2022-09-06 23:45:02:217 [XCUITestDriver@0263 (d045574c)] Parsed BUILD_DIR configuration value: '/Users/dgfs/Library/Developer/Xcode/DerivedData/WebDriverAgent-hgthuffopnjlaegnyljsbexvnybr/Build/Products' 2022-09-06 23:45:02:217 [XCUITestDriver@0263 (d045574c)] Got derived data root: '/Users/dgfs/Library/Developer/Xcode/DerivedData/WebDriverAgent-hgthuffopnjlaegnyljsbexvnybr' 2022-09-06 23:45:03:264 [XCUITest] The app has been installed successfully. 2022-09-06 23:45:03:264 [XCUITestDriver@0263 (d045574c)] Event 'appInstalled' logged at 1662507903264 (19:45:03 GMT-0400 (Eastern Daylight Time)) 2022-09-06 23:45:03:342 [XCUITestDriver@0263 (d045574c)] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found 2022-09-06 23:45:03:342 [DevCon Factory] Requesting connection for device F2FD6EFA-9F11-4C33-BD29-FF62285EB7EC on local port 8100 2022-09-06 23:45:03:342 [DevCon Factory] Cached connections count: 0 2022-09-06 23:45:03:342 [DevCon Factory] Successfully requested the connection for F2FD6EFA-9F11-4C33-BD29-FF62285EB7EC:8100 2022-09-06 23:45:03:342 [XCUITestDriver@0263 (d045574c)] Starting WebDriverAgent initialization with the synchronization key 'XCUITestDriver' 2022-09-06 23:45:03:343 [WD Proxy] Matched '/status' to command name 'getStatus' 2022-09-06 23:45:03:344 [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body 2022-09-06 23:45:06:352 [WD Proxy] undefined 2022-09-06 23:45:06:354 [XCUITestDriver@0263 (d045574c)] WDA is not listening at 'http://127.0.0.1:8100/' 2022-09-06 23:45:06:354 [XCUITestDriver@0263 (d045574c)] WDA is currently not running. There is nothing to cache 2022-09-06 23:45:06:354 [XCUITestDriver@0263 (d045574c)] Trying to start WebDriverAgent 2 times with 10000ms interval 2022-09-06 23:45:06:354 [XCUITestDriver@0263 (d045574c)] These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities 2022-09-06 23:45:06:355 [XCUITestDriver@0263 (d045574c)] Event 'wdaStartAttempted' logged at 1662507906355 (19:45:06 GMT-0400 (Eastern Daylight Time)) 2022-09-06 23:45:06:355 [XCUITestDriver@0263 (d045574c)] Launching WebDriverAgent on the device 2022-09-06 23:45:06:359 [XCUITestDriver@0263 (d045574c)] WebDriverAgent does not need a cleanup. The sources are up to date (1661816073935 >= 1661816073935) 2022-09-06 23:45:06:359 [WebDriverAgent] Killing running processes 'xcodebuild.*F2FD6EFA-9F11-4C33-BD29-FF62285EB7EC, F2FD6EFA-9F11-4C33-BD29-FF62285EB7EC.*XCTRunner, xctest.*F2FD6EFA-9F11-4C33-BD29-FF62285EB7EC' for the device F2FD6EFA-9F11-4C33-BD29-FF62285EB7EC... 2022-09-06 23:45:06:401 [WebDriverAgent] 'pgrep -if xctest.*F2FD6EFA-9F11-4C33-BD29-FF62285EB7EC' didn't detect any matching processes. Return code: 1 2022-09-06 23:45:06:401 [WebDriverAgent] 'pgrep -if F2FD6EFA-9F11-4C33-BD29-FF62285EB7EC.*XCTRunner' didn't detect any matching processes. Return code: 1 2022-09-06 23:45:06:511 [XCUITestDriver@0263 (d045574c)] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Users/dgfs/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/dgfs/Library/Developer/Xcode/DerivedData/WebDriverAgent-hgthuffopnjlaegnyljsbexvnybr -destination id=F2FD6EFA-9F11-4C33-BD29-FF62285EB7EC IPHONEOS_DEPLOYMENT_TARGET=15.5 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/Users/dgfs/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent' 2022-09-06 23:45:06:512 [XCUITestDriver@0263 (d045574c)] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability 2022-09-06 23:45:06:744 [XCUITestDriver@0263 (d045574c)] Waiting up to 60000ms for WebDriverAgent to start 2022-09-06 23:45:06:744 [XCUITestDriver@0263 (d045574c)] Matched '/status' to command name 'getStatus' 2022-09-06 23:45:06:744 [XCUITestDriver@0263 (d045574c)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body 2022-09-06 23:45:06:745 [XCUITestDriver@0263 (d045574c)] connect ECONNREFUSED 127.0.0.1:8100 2022-09-06 23:45:07:745 [XCUITestDriver@0263 (d045574c)] Matched '/status' to command name 'getStatus' 2022-09-06 23:45:07:745 [XCUITestDriver@0263 (d045574c)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body 2022-09-06 23:45:07:746 [XCUITestDriver@0263 (d045574c)] connect ECONNREFUSED 127.0.0.1:8100 2022-09-06 23:45:08:748 [XCUITestDriver@0263 (d045574c)] Matched '/status' to command name 'getStatus' 2022-09-06 23:45:08:749 [XCUITestDriver@0263 (d045574c)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body 2022-09-06 23:45:08:762 [XCUITestDriver@0263 (d045574c)] Got response with status 200: {"value":{"message":"WebDriverAgent is ready to accept commands","state":"success","os":{"testmanagerdVersion":28,"name":"iOS","sdkVersion":"15.4","version":"15.5"},"ios":{"simulatorVersion":"15.5","ip":"192.168.1.204"},"ready":true,"build":{"upgradedAt":"1661816073935","time":"Sep 6 2022 18:34:24","productBundleIdentifier":"com.facebook.WebDriverAgentRunner"}},"sessionId":null} 2022-09-06 23:45:08:762 [XCUITestDriver@0263 (d045574c)] WebDriverAgent information: 2022-09-06 23:45:08:762 [XCUITestDriver@0263 (d045574c)] { 2022-09-06 23:45:08:762 [XCUITestDriver@0263 (d045574c)] "message": "WebDriverAgent is ready to accept commands", 2022-09-06 23:45:08:762 [XCUITestDriver@0263 (d045574c)] "state": "success", 2022-09-06 23:45:08:763 [XCUITestDriver@0263 (d045574c)] "os": { 2022-09-06 23:45:08:763 [XCUITestDriver@0263 (d045574c)] "testmanagerdVersion": 28, 2022-09-06 23:45:08:763 [XCUITestDriver@0263 (d045574c)] "name": "iOS", 2022-09-06 23:45:08:763 [XCUITestDriver@0263 (d045574c)] "sdkVersion": "15.4", 2022-09-06 23:45:08:763 [XCUITestDriver@0263 (d045574c)] "version": "15.5" 2022-09-06 23:45:08:763 [XCUITestDriver@0263 (d045574c)] }, 2022-09-06 23:45:08:763 [XCUITestDriver@0263 (d045574c)] "ios": { 2022-09-06 23:45:08:763 [XCUITestDriver@0263 (d045574c)] "simulatorVersion": "15.5", 2022-09-06 23:45:08:763 [XCUITestDriver@0263 (d045574c)] "ip": "192.168.1.204" 2022-09-06 23:45:08:763 [XCUITestDriver@0263 (d045574c)] }, 2022-09-06 23:45:08:763 [XCUITestDriver@0263 (d045574c)] "ready": true, 2022-09-06 23:45:08:763 [XCUITestDriver@0263 (d045574c)] "build": { 2022-09-06 23:45:08:763 [XCUITestDriver@0263 (d045574c)] "upgradedAt": "1661816073935", 2022-09-06 23:45:08:763 [XCUITestDriver@0263 (d045574c)] "time": "Sep 6 2022 18:34:24", 2022-09-06 23:45:08:764 [XCUITestDriver@0263 (d045574c)] "productBundleIdentifier": "com.facebook.WebDriverAgentRunner" 2022-09-06 23:45:08:764 [XCUITestDriver@0263 (d045574c)] } 2022-09-06 23:45:08:764 [XCUITestDriver@0263 (d045574c)] } 2022-09-06 23:45:08:764 [XCUITestDriver@0263 (d045574c)] WebDriverAgent successfully started after 2252ms 2022-09-06 23:45:08:764 [XCUITestDriver@0263 (d045574c)] Event 'wdaSessionAttempted' logged at 1662507908764 (19:45:08 GMT-0400 (Eastern Daylight Time)) 2022-09-06 23:45:08:764 [XCUITestDriver@0263 (d045574c)] Sending createSession command to WDA 2022-09-06 23:45:08:765 [XCUITestDriver@0263 (d045574c)] Matched '/session' to command name 'createSession' 2022-09-06 23:45:08:766 [XCUITestDriver@0263 (d045574c)] Proxying [POST /session] to [POST http://127.0.0.1:8100/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"com.appname.dev","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true,"shouldTerminateApp":true,"forceAppLaunch":true,"useNativeCachingStrategy":true,"forceSimulatorSoftwareKeyboardPresence":true}],"alwaysMatch":{}}} 2022-09-06 23:47:01:078 [HTTP] <-- POST /session - - ms - - 2022-09-06 23:47:01:078 [HTTP] 2022-09-06 23:47:01:088 [HTTP] --> POST /session 2022-09-06 23:47:01:088 [HTTP] {"capabilities":{"alwaysMatch":{"platformName":"iOS","appium:deviceName":"iPhone 13","appium:platformVersion":"15.5","appium:orientation":"PORTRAIT","appium:automationName":"XCUITest","appium:app":"/Users/dgfs/Documents/appium-boilerplate/apps/appname.app","appium:newCommandTimeout":240},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"iOS","appium:deviceName":"iPhone 13","appium:platformVersion":"15.5","appium:orientation":"PORTRAIT","appium:automationName":"XCUITest","appium:app":"/Users/dgfs/Documents/appium-boilerplate/apps/appname.app","appium:newCommandTimeout":240}} 2022-09-06 23:47:01:088 [AppiumDriver@f156] Calling AppiumDriver.createSession() with args: [{"platformName":"iOS","appium:deviceName":"iPhone 13","appium:platformVersion":"15.5","appium:orientation":"PORTRAIT","appium:automationName":"XCUITest","appium:app":"/Users/dgfs/Documents/appium-boilerplate/apps/appname.app","appium:newCommandTimeout":240},null,{"alwaysMatch":{"platformName":"iOS","appium:deviceName":"iPhone 13","appium:platformVersion":"15.5","appium:orientation":"PORTRAIT","appium:automationName":"XCUITest","appium:app":"/Users/dgfs/Documents/appium-boilerplate/apps/appname.app","appium:newCommandTimeout":240},"firstMatch":[{}]}] 2022-09-06 23:47:01:088 [AppiumDriver@f156] Event 'newSessionRequested' logged at 1662508021088 (19:47:01 GMT-0400 (Eastern Daylight Time)) 2022-09-06 23:47:01:089 [Appium] Attempting to find matching driver for automationName 'XCUITest' and platformName 'iOS' 2022-09-06 23:47:01:089 [Appium] The 'xcuitest' driver was installed and matched caps. 2022-09-06 23:47:01:089 [Appium] Will require it at /Users/dgfs/.appium/node_modules/appium-xcuitest-driver 2022-09-06 23:47:01:089 [Appium] Requiring driver at /Users/dgfs/.appium/node_modules/appium-xcuitest-driver 2022-09-06 23:47:01:090 [AppiumDriver@f156] Appium v2.0.0-beta.43 creating new XCUITestDriver (v4.10.2) session 2022-09-06 23:47:01:090 [AppiumDriver@f156] Checking BaseDriver versions for Appium and XCUITestDriver 2022-09-06 23:47:01:090 [AppiumDriver@f156] Appium's BaseDriver version is 8.7.0 2022-09-06 23:47:01:090 [AppiumDriver@f156] XCUITestDriver's BaseDriver version is 8.7.0 2022-09-06 23:47:01:090 [AppiumDriver@f156] Applying relaxed security to 'XCUITestDriver' as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure 2022-09-06 23:47:01:091 [XCUITestDriver@56e3] Creating session with W3C capabilities: { 2022-09-06 23:47:01:091 [XCUITestDriver@56e3] "alwaysMatch": { 2022-09-06 23:47:01:091 [XCUITestDriver@56e3] "platformName": "iOS", 2022-09-06 23:47:01:091 [XCUITestDriver@56e3] "appium:deviceName": "iPhone 13", 2022-09-06 23:47:01:091 [XCUITestDriver@56e3] "appium:platformVersion": "15.5", 2022-09-06 23:47:01:091 [XCUITestDriver@56e3] "appium:orientation": "PORTRAIT", 2022-09-06 23:47:01:091 [XCUITestDriver@56e3] "appium:automationName": "XCUITest", 2022-09-06 23:47:01:091 [XCUITestDriver@56e3] "appium:app": "/Users/dgfs/Documents/appium-boilerplate/apps/appname.app", 2022-09-06 23:47:01:091 [XCUITestDriver@56e3] "appium:newCommandTimeout": 240 2022-09-06 23:47:01:091 [XCUITestDriver@56e3] }, 2022-09-06 23:47:01:091 [XCUITestDriver@56e3] "firstMatch": [ 2022-09-06 23:47:01:091 [XCUITestDriver@56e3] {} 2022-09-06 23:47:01:091 [XCUITestDriver@56e3] ] 2022-09-06 23:47:01:092 [XCUITestDriver@56e3] } 2022-09-06 23:47:01:096 [XCUITestDriver@56e3 (898552f0)] Session created with session id: 898552f0-d408-4567-af21-78fd1df00fa7 2022-09-06 23:47:01:106 [XCUITest] Current user: 'dgfs' 2022-09-06 23:47:01:106 [XCUITestDriver@56e3 (898552f0)] iOS SDK Version set to '15.5' 2022-09-06 23:47:01:186 [iOSSim] Constructing iOS simulator for Xcode version 13.4.1 with udid 'F2FD6EFA-9F11-4C33-BD29-FF62285EB7EC' 2022-09-06 23:47:01:186 [XCUITestDriver@56e3 (898552f0)] Determining device to run tests on: udid: 'F2FD6EFA-9F11-4C33-BD29-FF62285EB7EC', real device: false 2022-09-06 23:47:01:186 [XCUITestDriver@56e3 (898552f0)] Event 'xcodeDetailsRetrieved' logged at 1662508021186 (19:47:01 GMT-0400 (Eastern Daylight Time)) 2022-09-06 23:47:01:186 [BaseDriver] Using local app '/Users/dgfs/Documents/appium-boilerplate/apps/appname.app' 2022-09-06 23:47:01:187 [XCUITestDriver@56e3 (898552f0)] Event 'appConfigured' logged at 1662508021187 (19:47:01 GMT-0400 (Eastern Daylight Time)) 2022-09-06 23:47:01:187 [XCUITest] Checking whether app '/Users/dgfs/Documents/appium-boilerplate/apps/appname.app' is actually present on file system 2022-09-06 23:47:01:187 [XCUITest] App is present 2022-09-06 23:47:01:188 [XCUITest] Getting bundle ID from app '/Users/dgfs/Documents/appium-boilerplate/apps/appname.app': 'com.appname.dev' 2022-09-06 23:47:01:188 [XCUITestDriver@56e3 (898552f0)] Event 'resetStarted' logged at 1662508021188 (19:47:01 GMT-0400 (Eastern Daylight Time)) 2022-09-06 23:47:06:922 [XCUITest] Not scrubbing third party app in anticipation of uninstall 2022-09-06 23:47:06:922 [XCUITestDriver@56e3 (898552f0)] Event 'resetComplete' logged at 1662508026922 (19:47:06 GMT-0400 (Eastern Daylight Time)) 2022-09-06 23:47:06:922 [XCUITestDriver@56e3 (898552f0)] Using WDA path: '/Users/dgfs/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent' 2022-09-06 23:47:06:922 [XCUITestDriver@56e3 (898552f0)] Using WDA agent: '/Users/dgfs/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj' 2022-09-06 23:47:07:009 [IOSSimulatorLog] Starting log capture for iOS Simulator with udid 'F2FD6EFA-9F11-4C33-BD29-FF62285EB7EC' using simctl 2022-09-06 23:47:07:114 [XCUITestDriver@56e3 (898552f0)] Event 'logCaptureStarted' logged at 1662508027114 (19:47:07 GMT-0400 (Eastern Daylight Time)) 2022-09-06 23:47:07:114 [XCUITestDriver@56e3 (898552f0)] Setting up simulator 2022-09-06 23:47:07:114 [XCUITest] No reason to set locale 2022-09-06 23:47:07:114 [XCUITest] No iOS / app preferences to set 2022-09-06 23:47:07:114 [XCUITest] Setting did not need to be updated 2022-09-06 23:47:07:115 [iOSSim] Setting preferences of F2FD6EFA-9F11-4C33-BD29-FF62285EB7EC Simulator to {"SimulatorWindowOrientation":"Portrait","SimulatorWindowRotationAngle":0,"ConnectHardwareKeyboard":false} 2022-09-06 23:47:07:116 [iOSSim] Setting common Simulator preferences to {"RotateWindowWhenSignaledByGuest":true,"StartLastDeviceOnLaunch":false,"DetachOnWindowClose":false,"AttachBootedOnStart":true,"ConnectHardwareKeyboard":false,"PasteboardAutomaticSync":false} 2022-09-06 23:47:07:189 [iOSSim] Updated F2FD6EFA-9F11-4C33-BD29-FF62285EB7EC Simulator preferences at '/Users/dgfs/Library/Preferences/com.apple.iphonesimulator.plist' with {"RotateWindowWhenSignaledByGuest":true,"StartLastDeviceOnLaunch":false,"DetachOnWindowClose":false,"AttachBootedOnStart":true,"ConnectHardwareKeyboard":false,"PasteboardAutomaticSync":false,"DevicePreferences":{"F2FD6EFA-9F11-4C33-BD29-FF62285EB7EC":{"SimulatorExternalDisplay":2114,"ConnectHardwareKeyboard":false,"SimulatorWindowGeometry":{"1A12E3F7-AAA6-45FF-B0A0-D6A9BAFE360F":{"WindowCenter":"{1520, 728}","WindowScale":1}},"SimulatorWindowOrientation":"Portrait","SimulatorWindowRotationAngle":0,"ChromeTint":""}}} 2022-09-06 23:47:07:279 [iOSSim] Got Simulator UI client PID: 477 2022-09-06 23:47:07:280 [iOSSim] Both Simulator with UDID 'F2FD6EFA-9F11-4C33-BD29-FF62285EB7EC' and the UI client are currently running 2022-09-06 23:47:07:284 [XCUITestDriver@56e3 (898552f0)] Event 'simStarted' logged at 1662508027283 (19:47:07 GMT-0400 (Eastern Daylight Time)) 2022-09-06 23:47:07:284 [XCUITest] Verifying application platform 2022-09-06 23:47:07:287 [XCUITest] CFBundleSupportedPlatforms: ["iPhoneSimulator"] 2022-09-06 23:47:07:373 [XCUITest] Reset requested. Removing app with id 'com.appname.dev' from the device 2022-09-06 23:47:07:497 [XCUITest] Installing '/Users/dgfs/Documents/appium-boilerplate/apps/appname.app' on Simulator with UUID 'F2FD6EFA-9F11-4C33-BD29-FF62285EB7EC'... 2022-09-06 23:47:07:965 [XCUITestDriver@56e3 (898552f0)] Parsed BUILD_DIR configuration value: '/Users/dgfs/Library/Developer/Xcode/DerivedData/WebDriverAgent-hgthuffopnjlaegnyljsbexvnybr/Build/Products' 2022-09-06 23:47:07:965 [XCUITestDriver@56e3 (898552f0)] Got derived data root: '/Users/dgfs/Library/Developer/Xcode/DerivedData/WebDriverAgent-hgthuffopnjlaegnyljsbexvnybr' 2022-09-06 23:47:08:927 [XCUITest] The app has been installed successfully. 2022-09-06 23:47:08:928 [XCUITestDriver@56e3 (898552f0)] Event 'appInstalled' logged at 1662508028928 (19:47:08 GMT-0400 (Eastern Daylight Time)) 2022-09-06 23:47:09:015 [XCUITestDriver@56e3 (898552f0)] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found 2022-09-06 23:47:09:016 [DevCon Factory] Requesting connection for device F2FD6EFA-9F11-4C33-BD29-FF62285EB7EC on local port 8100 2022-09-06 23:47:09:016 [DevCon Factory] Cached connections count: 1 2022-09-06 23:47:09:016 [DevCon Factory] Found cached connections on port #8100: ["F2FD6EFA-9F11-4C33-BD29-FF62285EB7EC:8100"] 2022-09-06 23:47:09:016 [DevCon Factory] Successfully requested the connection for F2FD6EFA-9F11-4C33-BD29-FF62285EB7EC:8100 2022-09-06 23:47:09:016 [XCUITestDriver@56e3 (898552f0)] Starting WebDriverAgent initialization with the synchronization key 'XCUITestDriver' 2022-09-06 23:47:09:016 [XCUITestDriver@56e3 (898552f0)] Consider setting a unique 'derivedDataPath' capability value for each parallel driver instance to avoid conflicts and speed up the building process 2022-09-06 23:47:09:946 [XCUITestDriver@0263 (d045574c)] Got response with status 200: {"value":{"sessionId":"90503284-F63B-43C3-BCFC-02BBA4AE34F4","capabilities":{"device":"iphone","browserName":null,"sdkVersion":"15.5","CFBundleIdentifier":"com.appname.dev"}},"sessionId":"90503284-F63B-43C3-BCFC-02BBA4AE34F4"} 2022-09-06 23:47:09:946 [XCUITestDriver@0263 (d045574c)] Determined the downstream protocol as 'W3C' 2022-09-06 23:47:09:946 [XCUITestDriver@0263 (d045574c)] Event 'wdaSessionStarted' logged at 1662508029946 (19:47:09 GMT-0400 (Eastern Daylight Time)) 2022-09-06 23:47:09:946 [XCUITestDriver@0263 (d045574c)] Event 'wdaStarted' logged at 1662508029946 (19:47:09 GMT-0400 (Eastern Daylight Time)) 2022-09-06 23:47:09:947 [WD Proxy] Matched '/status' to command name 'getStatus' 2022-09-06 23:47:09:947 [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body 2022-09-06 23:47:09:948 [XCUITestDriver@0263 (d045574c)] Setting initial orientation to 'PORTRAIT' 2022-09-06 23:47:09:951 [XCUITestDriver@0263 (d045574c)] Matched '/orientation' to command name 'setOrientation' 2022-09-06 23:47:09:951 [XCUITestDriver@0263 (d045574c)] Proxying [POST /orientation] to [POST http://127.0.0.1:8100/session/90503284-F63B-43C3-BCFC-02BBA4AE34F4/orientation] with body: {"orientation":"PORTRAIT"} 2022-09-06 23:47:09:964 [XCUITestDriver@0263 (d045574c)] Got response with status 400: {"value":{"error":"invalid element state","message":"The application under test with bundle id 'com.appname.dev' is not running, possibly crashed","traceback":"(\n\t0 CoreFoundation 0x00000001803f3d70 __exceptionPreprocess + 236\n\t1 libobjc.A.dylib 0x000000018019814c objc_exception_throw + 56\n\t2 CoreFoundation 0x00000001803f3a20 -[NSException init] + 0\n\t3 WebDriverAgentLib 0x00000001070993f8 -[FBSession activeApplication] + 1028\n\t4 WebDriverAgentLib 0x000000010708b9f4 +[FBOrientationCommands handleSetOrientation:] + 80\n\t5 WebDriverAgentLib 0x0000000107062930 -[FBRoute_TargetAction mountRequest:intoResponse:] + 180\n\t6 WebDriverAgentLib 0x000000010704e120 __37-[FBWebServer registerRouteHandlers:]_block_invoke + 428\n\t7 WebDriverAgentLib 0x0000000107084190 -[RoutingHTTPServer handleRoute:withRequest:response:] + 168\n\t8 WebDrive... 2022-09-06 23:47:09:964 [W3C] Matched W3C error code 'invalid element state' to InvalidElementStateError 2022-09-06 23:47:09:964 [XCUITestDriver@0263 (d045574c)] Setting initial orientation failed with: The application under test with bundle id 'com.appname.dev' is not running, possibly crashed 2022-09-06 23:47:09:964 [XCUITestDriver@0263 (d045574c)] Event 'orientationSet' logged at 1662508029964 (19:47:09 GMT-0400 (Eastern Daylight Time)) 2022-09-06 23:47:09:965 [BaseDriver] The value of 'elementResponseAttributes' setting did not change. Skipping the update for it 2022-09-06 23:47:09:965 [BaseDriver] The value of 'shouldUseCompactResponses' setting did not change. Skipping the update for it 2022-09-06 23:47:09:965 [AppiumDriver@f156] New XCUITestDriver session created successfully, session d045574c-06e6-42fa-b4b2-830b2cd5d607 added to master session list 2022-09-06 23:47:09:966 [AppiumDriver@f156] Event 'newSessionStarted' logged at 1662508029966 (19:47:09 GMT-0400 (Eastern Daylight Time)) 2022-09-06 23:47:09:966 [XCUITestDriver@0263 (d045574c)] Cached the protocol value 'W3C' for the new session d045574c-06e6-42fa-b4b2-830b2cd5d607 2022-09-06 23:47:09:966 [XCUITestDriver@0263 (d045574c)] Responding to client with driver.createSession() result: {"capabilities":{"webStorageEnabled":false,"locationContextEnabled":false,"browserName":"","platform":"MAC","javascriptEnabled":true,"databaseEnabled":false,"takesScreenshot":true,"networkConnectionEnabled":false,"platformName":"iOS","deviceName":"iPhone 13","platformVersion":"15.5","orientation":"PORTRAIT","automationName":"XCUITest","app":"/Users/dgfs/Documents/appium-boilerplate/apps/appname.app","newCommandTimeout":240,"udid":"F2FD6EFA-9F11-4C33-BD29-FF62285EB7EC"}} 2022-09-06 23:47:09:968 [WD Proxy] Got response with status 200: {"value":{"message":"WebDriverAgent is ready to accept commands","state":"success","os":{"testmanagerdVersion":28,"name":"iOS","sdkVersion":"15.4","version":"15.5"},"ios":{"simulatorVersion":"15.5","ip":"192.168.1.204"},"ready":true,"build":{"upgradedAt":"1661816073935","time":"Sep 6 2022 18:34:24","productBundleIdentifier":"com.facebook.WebDriverAgentRunner"}},"sessionId":"90503284-F63B-43C3-BCFC-02BBA4AE34F4"} 2022-09-06 23:47:09:968 [XCUITestDriver@56e3 (898552f0)] Upgrade timestamp of the currently bundled WDA: 1661816073935 2022-09-06 23:47:09:968 [XCUITestDriver@56e3 (898552f0)] Upgrade timestamp of the WDA on the device: 1661816073935 2022-09-06 23:47:09:968 [XCUITestDriver@56e3 (898552f0)] Will reuse previously cached WDA instance at 'http://127.0.0.1:8100/' with 'com.facebook.WebDriverAgentRunner'. Set the wdaLocalPort capability to a value different from 8100 if this is an undesired behavior. 2022-09-06 23:47:09:968 [XCUITestDriver@56e3 (898552f0)] Trying to start WebDriverAgent 2 times with 10000ms interval 2022-09-06 23:47:09:968 [XCUITestDriver@56e3 (898552f0)] These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities 2022-09-06 23:47:09:968 [XCUITestDriver@56e3 (898552f0)] Event 'wdaStartAttempted' logged at 1662508029968 (19:47:09 GMT-0400 (Eastern Daylight Time)) 2022-09-06 23:47:09:968 [XCUITestDriver@56e3 (898552f0)] Using provided WebdriverAgent at 'http://127.0.0.1:8100/' 2022-09-06 23:47:09:969 [WD Proxy] Matched '/status' to command name 'getStatus' 2022-09-06 23:47:09:969 [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body 2022-09-06 23:47:09:971 [WD Proxy] Got response with status 200: {"value":{"message":"WebDriverAgent is ready to accept commands","state":"success","os":{"testmanagerdVersion":28,"name":"iOS","sdkVersion":"15.4","version":"15.5"},"ios":{"simulatorVersion":"15.5","ip":"192.168.1.204"},"ready":true,"build":{"upgradedAt":"1661816073935","time":"Sep 6 2022 18:34:24","productBundleIdentifier":"com.facebook.WebDriverAgentRunner"}},"sessionId":"90503284-F63B-43C3-BCFC-02BBA4AE34F4"} 2022-09-06 23:47:09:971 [XCUITestDriver@56e3 (898552f0)] Event 'wdaSessionAttempted' logged at 1662508029971 (19:47:09 GMT-0400 (Eastern Daylight Time)) 2022-09-06 23:47:09:971 [XCUITestDriver@56e3 (898552f0)] Sending createSession command to WDA 2022-09-06 23:47:09:971 [XCUITestDriver@56e3 (898552f0)] Matched '/session' to command name 'createSession' 2022-09-06 23:47:09:971 [XCUITestDriver@56e3 (898552f0)] Proxying [POST /session] to [POST http://127.0.0.1:8100/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"com.appname.dev","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true,"shouldTerminateApp":true,"forceAppLaunch":true,"useNativeCachingStrategy":true,"forceSimulatorSoftwareKeyboardPresence":true}],"alwaysMatch":{}}} 2022-09-06 23:47:35:267 [Appium] Received SIGINT - shutting down