Appium Server error when starting Inspector with iOS emulator

When launching an iOS application through Inspector, the application window does not appear in inspector. Only the loading indicator is visible. The application itself in the emulator starts. Errors are displayed in the appium server logs. App from https://github.com/appium/appium/tree/master/sample-code

appium-doctor --ios

info AppiumDoctor Appium Doctor v.1.11.1

info AppiumDoctor ### Diagnostic for necessary dependencies starting ###

info AppiumDoctor :heavy_check_mark: The Node.js binary was found at: /usr/local/bin/node

info AppiumDoctor :heavy_check_mark: Node version is 12.10.0

info AppiumDoctor :heavy_check_mark: Xcode is installed at: /Applications/Xcode.app/Contents/Developer

info AppiumDoctor :heavy_check_mark: Xcode Command Line Tools are installed in: /Applications/Xcode.app/Contents/Developer

info AppiumDoctor :heavy_check_mark: DevToolsSecurity is enabled.

info AppiumDoctor :heavy_check_mark: The Authorization DB is set up properly.

info AppiumDoctor :heavy_check_mark: Carthage was found at: /usr/local/bin/carthage. Installed version is: 0.33.0

info AppiumDoctor :heavy_check_mark: HOME is set to: /Users/aleksei

info AppiumDoctor ### Diagnostic for necessary dependencies completed, no fix needed. ###

info AppiumDoctor

info AppiumDoctor ### Diagnostic for optional dependencies starting ###

WARN AppiumDoctor :heavy_multiplication_x: opencv4nodejs cannot be found.

WARN AppiumDoctor :heavy_multiplication_x: ffmpeg cannot be found

WARN AppiumDoctor :heavy_multiplication_x: mjpeg-consumer cannot be found.

WARN AppiumDoctor :heavy_multiplication_x: idb and idb_companion are not installed

WARN AppiumDoctor :heavy_multiplication_x: applesimutils cannot be found

WARN AppiumDoctor :heavy_multiplication_x: idevicelocation cannot be found

info AppiumDoctor :heavy_check_mark: ios-deploy is installed at: /usr/local/bin/ios-deploy. Installed version is: 1.9.4

info AppiumDoctor :heavy_check_mark: ios_webkit_debug_proxy is installed at: /usr/local/bin/ios_webkit_debug_proxy. Installed version is: 1.8.5, Built with libimobiledevice v1.2.0, libplist v2.0.0

WARN AppiumDoctor :heavy_multiplication_x: ifuse cannot be found

info AppiumDoctor ### Diagnostic for optional dependencies completed, 7 fixes possible. ###

info AppiumDoctor

info AppiumDoctor ### Optional Manual Fixes ###

info AppiumDoctor The configuration can install optionally. Please do the following manually:

WARN AppiumDoctor ➜ Why opencv4nodejs is needed and how to install it: https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/image-comparison.md

WARN AppiumDoctor ➜ ffmpeg is needed to record screen features. Please read https://www.ffmpeg.org/ to install it

WARN AppiumDoctor ➜ mjpeg-consumer module is required to use MJPEG-over-HTTP features. Please install it with ‘npm i -g mjpeg-consumer’.

WARN AppiumDoctor ➜ Why idb is needed and how to install it: https://github.com/appium/appium-idb

WARN AppiumDoctor ➜ Why applesimutils is needed and how to install it: http://appium.io/docs/en/drivers/ios-xcuitest/

WARN AppiumDoctor ➜ idevicelocation is used to set geolocation for real device. Please read https://github.com/JonGabilondoAngulo/idevicelocation to install it

WARN AppiumDoctor ➜ ifuse is used to manage files/folders against a real device. Please read https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/ios/ios-xctest-file-movement.md to install it

info AppiumDoctor

info AppiumDoctor ###

info AppiumDoctor

info AppiumDoctor Bye! Run appium-doctor again when all manual fixes have been applied!

info AppiumDoctor

Capabilities

{
“platformName”: “iOS”,
“platformVersion”: “13.0”,
“deviceName”: “iPhone 11 Pro Max”,
“automationName”: “XCUITest”,
“noReset”: false,
“app”: “/Users/aleksei/Documents/appium-master/sample-code/apps/TestApp.app.zip”
}

first error

[debug] [WD Proxy] Proxying [GET /source] to [GET http://localhost:8100/session/B9BE1F14-9CDA-4E18-93B7-09A4248AECF2/source] with no body
[debug] [WD Proxy] Got response with status 200: "{\n “value” : "-[FBApplication resolve]: unrecognized selector sent to instance 0x600002ef4c40\n\n(\n\t0 CoreFoundation 0x00007fff23b98bde __exceptionPreprocess + 350\n\t1 libobjc.A.dylib 0x00007fff503b5b20 objc_exception_throw + 48\n\t2 CoreFoundation 0x00007fff23bb9704 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132\n\t3 CoreFoundation 0x00007fff23b9d7bc forwarding + 1436\n\t4 CoreFoundation 0x00007fff23b9f6c8 _CF_forwarding_prep_0 + 120\n\t5 WebDriverAgentLib 0x00000001055b66e1 -[XCUIElement(FBUtilities) fb_snapshotWithAttributes] + 97\n\t6 WebDriverAgentLib 0x00000001055850a6 +[FBXPath writeXmlWithRootElement:indexPath:elementStore:includedAttributes:writer:] + 934\n\t7 WebDriverAgentLib 0x0000000105584445 +[FBXPath xmlRepresentationWithRootElement:writer:elementStore:query:] + 421\n\t8 WebDri…
[debug] [MJSONWP] Matched JSONWP error code 13 to UnknownError
[debug] [XCUITest] Taking screenshot with WDA

full Appium Server logs

[Appium] Welcome to Appium v1.14.2
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session
[HTTP] {“desiredCapabilities”:{“app”:"/Users/aleksei/Documents/appium-master/sample-code/apps/TestApp.app.zip",“automationName”:“XCUITest”,“deviceName”:“iPhone 11 Pro Max”,“noReset”:false,“platformName”:“iOS”,“platformVersion”:“13.0”,“newCommandTimeout”:0,“connectHardwareKeyboard”:true}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{“app”:"/Users/aleksei/Documents/appium-master/sample-code/apps/TestApp.app.zip",“automationName”:“XCUITest”,“deviceName”:“iPhone 11 Pro Max”,“noReset”:false,“platformName”:“iOS”,“platformVersion”:“13.0”,“newCommandTimeout”:0,“connectHardwareKeyboard”:true},null,null]
[debug] [BaseDriver] Event ‘newSessionRequested’ logged at 1569406745978 (13:19:05 GMT+0300 (Moscow Standard Time))
[Appium] Appium v1.14.2 creating new XCUITestDriver (v2.116.3) session
[Appium] Capabilities:
[Appium] app: /Users/aleksei/Documents/appium-master/sample-code/apps/TestApp.app.zip
[Appium] automationName: XCUITest
[Appium] deviceName: iPhone 11 Pro Max
[Appium] noReset: false
[Appium] platformName: iOS
[Appium] platformVersion: 13.0
[Appium] newCommandTimeout: 0
[Appium] connectHardwareKeyboard: true
[debug] [BaseDriver] Creating session with MJSONWP desired capabilities: {“app”:"/Users/aleksei/Docu…
[BaseDriver] Session created with session id: 36104151-f967-4fa8-a474-af0d60332432
[debug] [XCUITest] Current user: ‘aleksei’
[XCUITest] iOS SDK Version set to ‘13.0’
[iOSSim] Constructing iOS simulator for Xcode version 11.0 with udid ‘D9C241A9-C141-45E3-93DA-EB79BE013666’
[XCUITest] Determining device to run tests on: udid: ‘D9C241A9-C141-45E3-93DA-EB79BE013666’, real device: false
[debug] [BaseDriver] Event ‘xcodeDetailsRetrieved’ logged at 1569406746737 (13:19:06 GMT+0300 (Moscow Standard Time))
[BaseDriver] Using local app ‘/Users/aleksei/Documents/appium-master/sample-code/apps/TestApp.app.zip’
[debug] [BaseDriver] Unzipping ‘/Users/aleksei/Documents/appium-master/sample-code/apps/TestApp.app.zip’
[debug] [BaseDriver] Extracted 16 item(s) from ‘/Users/aleksei/Documents/appium-master/sample-code/apps/TestApp.app.zip’
[debug] [BaseDriver] Matched 16 item(s) in the extracted archive. Assuming ‘TestApp.app’ is the correct bundle
[BaseDriver] Unzipped local app to ‘/var/folders/mn/2_sknwnx12582nntndy17qm40000gp/T/2019825-3035-1b6te9y.g0wy/TestApp.app’
[debug] [BaseDriver] Event ‘appConfigured’ logged at 1569406746803 (13:19:06 GMT+0300 (Moscow Standard Time))
[debug] [XCUITest] Checking whether app ‘/var/folders/mn/2_sknwnx12582nntndy17qm40000gp/T/2019825-3035-1b6te9y.g0wy/TestApp.app’ is actually present on file system
[debug] [XCUITest] App is present
[debug] [iOS] Getting bundle ID from app ‘/var/folders/mn/2_sknwnx12582nntndy17qm40000gp/T/2019825-3035-1b6te9y.g0wy/TestApp.app’: ‘io.appium.TestApp’
[debug] [BaseDriver] Event ‘resetStarted’ logged at 1569406746806 (13:19:06 GMT+0300 (Moscow Standard Time))
[XCUITest] Not scrubbing third party app in anticipation of uninstall
[debug] [BaseDriver] Event ‘resetComplete’ logged at 1569406747071 (13:19:07 GMT+0300 (Moscow Standard Time))
[debug] [XCUITest] Starting log capture for iOS Simulator with udid ‘D9C241A9-C141-45E3-93DA-EB79BE013666’, using ‘xcrun simctl spawn D9C241A9-C141-45E3-93DA-EB79BE013666 log stream --style compact’
[debug] [BaseDriver] Event ‘logCaptureStarted’ logged at 1569406747418 (13:19:07 GMT+0300 (Moscow Standard Time))
[XCUITest] Setting up simulator
[debug] [iOS] No reason to set locale
[debug] [iOS] No iOS / app preferences to set
[debug] [iOS] Setting did not need to be updated
[debug] [iOSSim] Setting preferences of D9C241A9-C141-45E3-93DA-EB79BE013666 Simulator to {“ConnectHardwareKeyboard”:true}
[debug] [iOSSim] Setting common Simulator preferences to {“RotateWindowWhenSignaledByGuest”:true,“ConnectHardwareKeyboard”:true}
[debug] [iOSSim] Updated D9C241A9-C141-45E3-93DA-EB79BE013666 Simulator preferences at ‘/Users/aleksei/Library/Preferences/com.apple.iphonesimulator.plist’ with {“DevicePreferences”:{“D9C241A9-C141-45E3-93DA-EB79BE013666”:{“ConnectHardwareKeyboard”:true}},“RotateWindowWhenSignaledByGuest”:true,“ConnectHardwareKeyboard”:true}
[debug] [iOSSim] Got Simulator UI client PID: 398
[iOSSim] Both Simulator with UDID D9C241A9-C141-45E3-93DA-EB79BE013666 and the UI client are currently running
[debug] [IDB] Connecting idb service to ‘D9C241A9-C141-45E3-93DA-EB79BE013666’
[XCUITest] idb will not be used for Simulator interaction. Original error: ‘idb’ has not been found in PATH. Is it installed? Read https://www.fbidb.io for more details
[debug] [BaseDriver] Event ‘simStarted’ logged at 1569406747597 (13:19:07 GMT+0300 (Moscow Standard Time))
[debug] [XCUITest] Verifying application platform
[debug] [XCUITest] CFBundleSupportedPlatforms: [“iPhoneSimulator”]
[debug] [XCUITest] Reset requested. Removing app with id ‘io.appium.TestApp’ from the device
[debug] [XCUITest] Cleaning installd cache to save the disk space
[debug] [XCUITest] Installing ‘/var/folders/mn/2_sknwnx12582nntndy17qm40000gp/T/2019825-3035-1b6te9y.g0wy/TestApp.app’ on Simulator with UUID ‘D9C241A9-C141-45E3-93DA-EB79BE013666’…
[debug] [XCUITest] The app has been installed successfully.
[debug] [BaseDriver] Event ‘appInstalled’ logged at 1569406750758 (13:19:10 GMT+0300 (Moscow Standard Time))
[XCUITest] Using WDA path: ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent’
[XCUITest] Using WDA agent: ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj’
[debug] [XCUITest] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[debug] [XCUITest] Parsed BUILD_DIR configuration value: ‘/Users/aleksei/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products’
[debug] [XCUITest] Got derived data root: ‘/Users/aleksei/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy’
[debug] [XCUITest] Starting WebDriverAgent initialization with the synchronization key ‘/Users/aleksei/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy’
[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [WD Proxy] Got response with status 200: “{\n “value” : {\n “state” : “success”,\n “os” : {\n “name” : “iOS”,\n “version” : “13.0”,\n “sdkVersion” : “13.0”\n },\n “ios” : {\n “simulatorVersion” : “13.0”,\n “ip” : “192.168.6.23”\n },\n “build” : {\n “upgradedAt” : “1569314006398”,\n “time” : “Sep 25 2019 11:34:21”,\n “productBundleIdentifier” : “com.facebook.WebDriverAgentRunner”\n }\n },\n “sessionId” : “36BAE443-5B3B-4325-B6E0-FC6522A3C7F3”,\n “status” : 0\n}”
[debug] [WD Proxy] Determined that the downstream protocol for proxy is MJSONWP
[debug] [XCUITest] Upgrade timestamp of the currently bundled WDA: 1569314006398
[debug] [XCUITest] Upgrade timestamp of the WDA on the device: 1569314006398
[XCUITest] Will reuse previously cached WDA instance at ‘http://localhost:8100/’ with ‘com.facebook.WebDriverAgentRunner’. Set the wdaLocalPort capability to a value different from 8100 if this is an undesired behavior.
[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 1569406752993 (13:19:12 GMT+0300 (Moscow Standard Time))
[XCUITest] Using provided WebdriverAgent at ‘http://localhost:8100/
[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [WD Proxy] Got response with status 200: “{\n “value” : {\n “state” : “success”,\n “os” : {\n “name” : “iOS”,\n “version” : “13.0”,\n “sdkVersion” : “13.0”\n },\n “ios” : {\n “simulatorVersion” : “13.0”,\n “ip” : “192.168.6.23”\n },\n “build” : {\n “upgradedAt” : “1569314006398”,\n “time” : “Sep 25 2019 11:34:21”,\n “productBundleIdentifier” : “com.facebook.WebDriverAgentRunner”\n }\n },\n “sessionId” : “36BAE443-5B3B-4325-B6E0-FC6522A3C7F3”,\n “status” : 0\n}”
[debug] [WD Proxy] Determined that the downstream protocol for proxy is MJSONWP
[debug] [BaseDriver] Event ‘wdaSessionAttempted’ logged at 1569406752998 (13:19:12 GMT+0300 (Moscow Standard Time))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [WD Proxy] Matched ‘/session’ to command name ‘createSession’
[debug] [WD Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {“desiredCapabilities”:{“bundleId”:“io.appium.TestApp”,“arguments”:[],“environment”:{},“eventloopIdleDelaySec”:0,“shouldWaitForQuiescence”:true,“shouldUseTestManagerForVisibilityDetection”:false,“maxTypingFrequency”:60,“shouldUseSingletonTestManager”:true}}
[debug] [WD Proxy] Got response with status 200: {“value”:{“sessionId”:“B9BE1F14-9CDA-4E18-93B7-09A4248AECF2”,“capabilities”:{“device”:“iphone”,“browserName”:“TestApp”,“sdkVersion”:“13.0”,“CFBundleIdentifier”:“io.appium.TestApp”}},“sessionId”:“B9BE1F14-9CDA-4E18-93B7-09A4248AECF2”,“status”:0}
[debug] [WD Proxy] Determined that the downstream protocol for proxy is MJSONWP
[debug] [BaseDriver] Event ‘wdaSessionStarted’ logged at 1569406755075 (13:19:15 GMT+0300 (Moscow Standard Time))
[debug] [BaseDriver] Event ‘wdaStarted’ logged at 1569406755075 (13:19:15 GMT+0300 (Moscow Standard Time))
[XCUITest] Skipping setting of the initial display orientation. Set the “orientation” capability to either “LANDSCAPE” or “PORTRAIT”, if this is an undesired behavior.
[debug] [BaseDriver] Event ‘orientationSet’ logged at 1569406755076 (13:19:15 GMT+0300 (Moscow Standard Time))
[Appium] New XCUITestDriver session created successfully, session 36104151-f967-4fa8-a474-af0d60332432 added to master session list
[debug] [BaseDriver] Event ‘newSessionStarted’ logged at 1569406755078 (13:19:15 GMT+0300 (Moscow Standard Time))
[debug] [MJSONWP (36104151)] Cached the protocol value ‘MJSONWP’ for the new session 36104151-f967-4fa8-a474-af0d60332432
[debug] [MJSONWP (36104151)] Responding to client with driver.createSession() result: {“webStorageEnabled”:false,“locationContextEnabled”:false,“browserName”:"",“platform”:“MAC”,“javascriptEnabled”:true,“databaseEnabled”:false,“takesScreenshot”:true,“networkConnectionEnabled”:false,“app”:"/Users/aleksei/Documents/appium-master/sample-code/apps/TestApp.app.zip",“automationName”:“XCUITest”,“deviceName”:“iPhone 11 Pro Max”,“noReset”:false,“platformName”:“iOS”,“platformVersion”:“13.0”,“newCommandTimeout”:0,“connectHardwareKeyboard”:true,“udid”:“D9C241A9-C141-45E3-93DA-EB79BE013666”}
[HTTP] <-- POST /wd/hub/session 200 9105 ms - 571
[HTTP]
[HTTP] --> POST /wd/hub/session/36104151-f967-4fa8-a474-af0d60332432/context
[HTTP] {“name”:“NATIVE_APP”}
[debug] [MJSONWP (36104151)] Calling AppiumDriver.setContext() with args: [“NATIVE_APP”,“36104151-f967-4fa8-a474-af0d60332432”]
[debug] [XCUITest] Executing command ‘setContext’
[debug] [iOS] Attempting to set context to ‘NATIVE_APP’
[debug] [MJSONWP (36104151)] Responding to client with driver.setContext() result: null
[HTTP] <-- POST /wd/hub/session/36104151-f967-4fa8-a474-af0d60332432/context 200 8 ms - 76
[HTTP]
[HTTP] --> GET /wd/hub/session/36104151-f967-4fa8-a474-af0d60332432/source
[HTTP] {}
[debug] [MJSONWP (36104151)] Calling AppiumDriver.getPageSource() with args: [“36104151-f967-4fa8-a474-af0d60332432”]
[debug] [XCUITest] Executing command ‘getPageSource’
[HTTP] --> GET /wd/hub/session/36104151-f967-4fa8-a474-af0d60332432/screenshot
[HTTP] {}
[debug] [MJSONWP (36104151)] Calling AppiumDriver.getScreenshot() with args: [“36104151-f967-4fa8-a474-af0d60332432”]
[debug] [XCUITest] Executing command ‘getScreenshot’
[HTTP] --> GET /wd/hub/session/36104151-f967-4fa8-a474-af0d60332432/window/current/size
[HTTP] {}
[debug] [MJSONWP (36104151)] Calling AppiumDriver.getWindowSize() with args: [“current”,“36104151-f967-4fa8-a474-af0d60332432”]
[debug] [XCUITest] Executing command ‘getWindowSize’
[debug] [WD Proxy] Matched ‘/source’ to command name ‘getPageSource’
[debug] [WD Proxy] Proxying [GET /source] to [GET http://localhost:8100/session/B9BE1F14-9CDA-4E18-93B7-09A4248AECF2/source] with no body
[debug] [WD Proxy] Got response with status 200: "{\n “value” : "-[FBApplication resolve]: unrecognized selector sent to instance 0x600002ef4c40\n\n(\n\t0 CoreFoundation 0x00007fff23b98bde __exceptionPreprocess + 350\n\t1 libobjc.A.dylib 0x00007fff503b5b20 objc_exception_throw + 48\n\t2 CoreFoundation 0x00007fff23bb9704 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132\n\t3 CoreFoundation 0x00007fff23b9d7bc forwarding + 1436\n\t4 CoreFoundation 0x00007fff23b9f6c8 _CF_forwarding_prep_0 + 120\n\t5 WebDriverAgentLib 0x00000001055b66e1 -[XCUIElement(FBUtilities) fb_snapshotWithAttributes] + 97\n\t6 WebDriverAgentLib 0x00000001055850a6 +[FBXPath writeXmlWithRootElement:indexPath:elementStore:includedAttributes:writer:] + 934\n\t7 WebDriverAgentLib 0x0000000105584445 +[FBXPath xmlRepresentationWithRootElement:writer:elementStore:query:] + 421\n\t8 WebDri…
[debug] [MJSONWP] Matched JSONWP error code 13 to UnknownError
[debug] [XCUITest] Taking screenshot with WDA
[debug] [WD Proxy] Matched ‘/screenshot’ to command name ‘getScreenshot’
[debug] [WD Proxy] Proxying [GET /screenshot] to [GET http://localhost:8100/session/B9BE1F14-9CDA-4E18-93B7-09A4248AECF2/screenshot] with no body
[debug] [MJSONWP (36104151)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: -[FBApplication resolve]: unrecognized selector sent to instance 0x600002ef4c40
[debug] [MJSONWP (36104151)]
[debug] [MJSONWP (36104151)] (
[debug] [MJSONWP (36104151)] 0 CoreFoundation 0x00007fff23b98bde __exceptionPreprocess + 350
[debug] [MJSONWP (36104151)] 1 libobjc.A.dylib 0x00007fff503b5b20 objc_exception_throw + 48
[debug] [MJSONWP (36104151)] 2 CoreFoundation 0x00007fff23bb9704 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
[debug] [MJSONWP (36104151)] 3 CoreFoundation 0x00007fff23b9d7bc forwarding + 1436
[debug] [MJSONWP (36104151)] 4 CoreFoundation 0x00007fff23b9f6c8 _CF_forwarding_prep_0 + 120
[debug] [MJSONWP (36104151)] 5 WebDriverAgentLib 0x00000001055b66e1 -[XCUIElement(FBUtilities) fb_snapshotWithAttributes] + 97
[debug] [MJSONWP (36104151)] 6 WebDriverAgentLib 0x00000001055850a6 +[FBXPath writeXmlWithRootElement:indexPath:elementStore:includedAttributes:writer:] + 934
[debug] [MJSONWP (36104151)] 7 WebDriverAgentLib 0x0000000105584445 +[FBXPath xmlRepresentationWithRootElement:writer:elementStore:query:] + 421
[debug] [MJSONWP (36104151)] 8 WebDriverAgentLib 0x000000010558381f +[FBXPath xmlStringWithRootElement:] + 95
[debug] [MJSONWP (36104151)] 9 WebDriverAgentLib 0x0000000105592286 -[XCUIApplication(FBHelpers) fb_xmlRepresentation] + 54
[debug] [MJSONWP (36104151)] 10 WebDriverAgentLib 0x00000001055b2f7a +[FBDebugCommands handleGetSourceCommand:] + 538
[debug] [MJSONWP (36104151)] 11 WebDriverAgentLib 0x000000010559fd86 -[FBRoute_TargetAction mountRequest:intoResponse:] + 182
[debug] [MJSONWP (36104151)] 12 WebDriverAgentLib 0x000000010558d2fb __37-[FBWebServer registerRouteHandlers:]_block_invoke + 555
[debug] [MJSONWP (36104151)] 13 RoutingHTTPServer 0x00000001056efba3 -[RoutingHTTPServer handleRoute:withRequest:response:] + 136
[debug] [MJSONWP (36104151)] 14 RoutingHTTPServer 0x00000001056f04b6 __72-[RoutingHTTPServer routeMethod:withPath:parameters:request:connection:]_block_invoke + 47
[debug] [MJSONWP (36104151)] 15 libdispatch.dylib 0x00007fff511fc7f9 _dispatch_client_callout + 8
[debug] [MJSONWP (36104151)] 16 libdispatch.dylib 0x00007fff512098e8 _dispatch_async_and_wait_invoke + 109
[debug] [MJSONWP (36104151)] 17 libdispatch.dylib 0x00007fff511fc7f9 _dispatch_client_callout + 8
[debug] [MJSONWP (36104151)] 18 libdispatch.dylib 0x00007fff51208d22 _dispatch_main_queue_callback_4CF + 1212
[debug] [MJSONWP (36104151)] 19 CoreFoundation 0x00007fff23afb699 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9
[debug] [MJSONWP (36104151)] 20 CoreFoundation 0x00007fff23af62f9 _CFRunLoopRun + 2329
[debug] [MJSONWP (36104151)] 21 CoreFoundation 0x00007fff23af56b6 CFRunLoopRunSpecific + 438
[debug] [MJSONWP (36104151)] 22 Foundation 0x00007fff2566d0df -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 211
[debug] [MJSONWP (36104151)] 23 WebDriverAgentLib 0x000000010558bc28 -[FBWebServer startServing] + 360
[debug] [MJSONWP (36104151)] 24 WebDriverAgentRunner 0x0000000105577fba -[UITestingUITests testRunner] + 106
[debug] [MJSONWP (36104151)] 25 CoreFoundation 0x00007fff23b9f95c invoking
+ 140
[debug] [MJSONWP (36104151)] 26 CoreFoundation 0x00007fff23b9cd8f -[NSInvocation invoke] + 287
[debug] [MJSONWP (36104151)] 27 XCTest 0x0000000103201121 __24-[XCTestCase invokeTest]_block_invoke.208 + 78
[debug] [MJSONWP (36104151)] 28 XCTest 0x000000010325b1e2 -[XCTestCase(Failures) performFailableBlock:testCaseRun:shouldInterruptTest:] + 57
[debug] [MJSONWP (36104151)] 29 XCTest 0x000000010325b100 -[XCTestCase(Failures) _performTurningExceptionsIntoFailuresInterruptAfterHandling:block:] + 96
[debug] [MJSONWP (36104151)] 30 XCTest 0x0000000103200c0a __24-[XCTestCase invokeTest]_block_invoke + 1153
[debug] [MJSONWP (36104151)] 31 XCTest 0x0000000103262424 -[XCUITestContext performInScope:] + 117
[debug] [MJSONWP (36104151)] 32 XCTest 0x00000001032006c6 -[XCTestCase testContextPerformInScope:] + 183
[debug] [MJSONWP (36104151)] 33 XCTest 0x000000010320077c -[XCTestCase invokeTest] + 137
[debug] [MJSONWP (36104151)] 34 XCTest 0x00000001032024ed __26-[XCTestCase performTest:]_block_invoke_2 + 43
[debug] [MJSONWP (36104151)] 35 XCTest 0x000000010325b1e2 -[XCTestCase(Failures) performFailableBlock:testCaseRun:shouldInterruptTest:] + 57
[debug] [MJSONWP (36104151)] 36 XCTest 0x000000010325b100 -[XCTestCase(Failures) _performTurningExceptionsIntoFailuresInterruptAfterHandling:block:] + 96
[debug] [MJSONWP (36104151)] 37 XCTest 0x0000000103202404 __26-[XCTestCase performTest:]_block_invoke.334 + 88
[debug] [MJSONWP (36104151)] 38 XCTest 0x000000010326e492 +[XCTContext runInContextForTestCase:block:] + 219
[debug] [MJSONWP (36104151)] 39 XCTest 0x0000000103201b73 -[XCTestCase performTest:] + 668
[debug] [MJSONWP (36104151)] 40 XCTest 0x0000000103247077 -[XCTest runTest] + 57
[debug] [MJSONWP (36104151)] 41 XCTest 0x00000001031fc14a __27-[XCTestSuite performTest:]_block_invoke + 365
[debug] [MJSONWP (36104151)] 42 XCTest 0x00000001031fb874 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 54
[debug] [MJSONWP (36104151)] 43 XCTest 0x00000001031fbb71 -[XCTestSuite performTest:] + 355
[debug] [MJSONWP (36104151)] 44 XCTest 0x0000000103247077 -[XCTest runTest] + 57
[debug] [MJSONWP (36104151)] 45 XCTest 0x00000001031fc14a __27-[XCTestSuite performTest:]_block_invoke + 365
[debug] [MJSONWP (36104151)] 46 XCTest 0x00000001031fb874 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 54
[debug] [MJSONWP (36104151)] 47 XCTest 0x00000001031fbb71 -[XCTestSuite performTest:] + 355
[debug] [MJSONWP (36104151)] 48 XCTest 0x0000000103247077 -[XCTest runTest] + 57
[debug] [MJSONWP (36104151)] 49 XCTest 0x00000001031fc14a __27-[XCTestSuite performTest:]_block_invoke + 365
[debug] [MJSONWP (36104151)] 50 XCTest 0x00000001031fb874 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 54
[debug] [MJSONWP (36104151)] 51 XCTest 0x00000001031fbb71 -[XCTestSuite performTest:] + 355
[debug] [MJSONWP (36104151)] 52 XCTest 0x0000000103247077 -[XCTest runTest] + 57
[debug] [MJSONWP (36104151)] 53 XCTest 0x000000010327d43e __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke + 171
[debug] [MJSONWP (36104151)] 54 XCTest 0x000000010327d541 __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke.84 + 118
[debug] [MJSONWP (36104151)] 55 XCTest 0x0000000103215e83 -[XCTestObservationCenter _observeTestExecutionForBlock:] + 588
[debug] [MJSONWP (36104151)] 56 XCTest 0x000000010327d1fd -[XCTTestRunSession runTestsAndReturnError:] + 623
[debug] [MJSONWP (36104151)] 57 XCTest 0x00000001031df6d7 -[XCTestDriver runTestsAndReturnError:] + 456
[debug] [MJSONWP (36104151)] 58 XCTest 0x000000010326a6e4 _XCTestMain + 2484
[debug] [MJSONWP (36104151)] 59 WebDriverAgentRunner-Runner 0x0000000102f31edd -[_XCTRunnerAppDelegate applicationWillResignActive:] + 0
[debug] [MJSONWP (36104151)] 60 WebDriverAgentRunner-Runner 0x0000000102f31ddb _XCTRunnerRunTests + 0
[debug] [MJSONWP (36104151)] 61 CoreFoundation 0x00007fff23afb8ec CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK + 12
[debug] [MJSONWP (36104151)] 62 CoreFoundation 0x00007fff23afb058 __CFRunLoopDoBlocks + 312
[debug] [MJSONWP (36104151)] 63 CoreFoundation 0x00007fff23af5ee4 __CFRunLoopRun + 1284
[debug] [MJSONWP (36104151)] 64 CoreFoundation 0x00007fff23af56b6 CFRunLoopRunSpecific + 438
[debug] [MJSONWP (36104151)] 65 GraphicsServices 0x00007fff3815cbb0 GSEventRunModal + 65
[debug] [MJSONWP (36104151)] 66 UIKitCore 0x00007fff47162a67 UIApplicationMain + 1621
[debug] [MJSONWP (36104151)] 67 WebDriverAgentRunner-Runner 0x0000000102f32098 main + 183
[debug] [MJSONWP (36104151)] 68 libdyld.dylib 0x00007fff5123bcf5 start + 1
[debug] [MJSONWP (36104151)] 69 ??? 0x0000000000000005 0x0 + 5
[debug] [MJSONWP (36104151)] )
[debug] [MJSONWP (36104151)] at errorFromMJSONWPStatusCode (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:789:10)
[debug] [MJSONWP (36104151)] at ProxyRequestError.errorFromMJSONWPStatusCode [as getActualError] (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:683:14)
[debug] [MJSONWP (36104151)] at JWProxy.getActualError [as command] (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/jsonwp-proxy/proxy.js:237:19)
[HTTP] <-- GET /wd/hub/session/36104151-f967-4fa8-a474-af0d60332432/source 500 87 ms - 7719
[HTTP]
[debug] [WD Proxy] Got response with status 200: "{\n “value” : "iVBORw0KGgoAAAANSUhEUgAABNoAAAqACAIAAAD2w8zRAAAAAXNSR0IArs4c6QAA\r\nAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKAC\r\nAAQAAAABAAAE2qADAAQAAAABAAAKgAAAAACahtPHAAAAHGlET1QAAAACAAAAAAAA\r\nBUAAAAAoAAAFQAAABUAAAp0kSVx2VwAAQABJREFUeAHs3XewNFldP2CygAi4JEmC\r\nEgRcEAk\/QDIYyAIKCAJLMCCIgIqiAipYCAJigRaoZYBCBUoEUapEoiQ3Z5bNy+ac\r\nw7vZ32ffL3to5s777u3pnvDeeeaPuWd6Tp8+\/fR01\/nc7um53vU8CBAgQIAAAQIE\r\nCBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAg\r\nQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAA\r\nAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIE\r\nCBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAg\r\nQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAA\r\nAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIE\r\nCBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAg\r\nQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAA\r\nAQIECBAgQIAAAQI…
[debug] [WD Proxy] Proxying [GET /window/size] to [GET http://localhost:8100/session/B9BE1F14-9CDA-4E18-93B7-09A4248AECF2/window/size] with no body
[debug] [MJSONWP (36104151)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABNoAAAqACAIAAAD2w8zRAAAAAXNSR0IArs4c6QAA\r\nAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKAC\r\nAAQAAAABAAAE2qADAAQAAAABAAAKgAAAAACahtPHAAAAHGlET1QAAAACAAAAAAAA\r\nBUAAAAAoAAAFQAAABUAAAp0kSVx2VwAAQABJREFUeAHs3XewNFldP2CygAi4JEmC\r\nEgRcEAk/QDIYyAIKCAJLMCCIgIqiAipYCAJigRaoZYBCBUoEUapEoiQ3Z5bNy+ac\r\nw7vZ32ffL3to5s777u3pnvDeeeaPuWd6Tp8+/fR01/nc7um53vU8CBAgQIAAAQIE\r\nCBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAg\r\nQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAA\r\nAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIE\r\nCBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAg\r\nQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAA\r\nAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIE\r\nCBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAg\r\nQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAA\r\nAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIE\r\n…
[HTTP] <-- GET /wd/hub/session/36104151-f967-4fa8-a474-af0d60332432/screenshot 200 247 ms - 581686
[HTTP]
[debug] [WD Proxy] Got response with status 200: "{\n “value” : "-[XCApplicationQuery elementSnapshotForDebugDescription]: unrecognized selector sent to instance 0x6000021d6a00\n\n(\n\t0 CoreFoundation 0x00007fff23b98bde __exceptionPreprocess + 350\n\t1 libobjc.A.dylib 0x00007fff503b5b20 objc_exception_throw + 48\n\t2 CoreFoundation 0x00007fff23bb9704 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132\n\t3 CoreFoundation 0x00007fff23b9d7bc forwarding + 1436\n\t4 CoreFoundation 0x00007fff23b9f6c8 _CF_forwarding_prep_0 + 120\n\t5 WebDriverAgentLib 0x00000001055b6654 -[XCUIElement(FBUtilities) fb_lastSnapshot] + 68\n\t6 WebDriverAgentLib 0x00000001055adcf1 -[XCUIElement(WebDriverAttributesForwarding) fb_snapshotForAttributeName:] + 769\n\t7 WebDriverAgentLib 0x00000001055adf38 -[XCUIElement(WebDriverAttributesForwarding) forwardingTargetForSelector:] + 152…
[debug] [MJSONWP] Matched JSONWP error code 13 to UnknownError
[debug] [MJSONWP (36104151)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: -[XCApplicationQuery elementSnapshotForDebugDescription]: unrecognized selector sent to instance 0x6000021d6a00
[debug] [MJSONWP (36104151)]
[debug] [MJSONWP (36104151)] (
[debug] [MJSONWP (36104151)] 0 CoreFoundation 0x00007fff23b98bde __exceptionPreprocess + 350
[debug] [MJSONWP (36104151)] 1 libobjc.A.dylib 0x00007fff503b5b20 objc_exception_throw + 48
[debug] [MJSONWP (36104151)] 2 CoreFoundation 0x00007fff23bb9704 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
[debug] [MJSONWP (36104151)] 3 CoreFoundation 0x00007fff23b9d7bc forwarding + 1436
[debug] [MJSONWP (36104151)] 4 CoreFoundation 0x00007fff23b9f6c8 CF_forwarding_prep_0 + 120
[debug] [MJSONWP (36104151)] 5 WebDriverAgentLib 0x00000001055b6654 -[XCUIElement(FBUtilities) fb_lastSnapshot] + 68
[debug] [MJSONWP (36104151)] 6 WebDriverAgentLib 0x00000001055adcf1 -[XCUIElement(WebDriverAttributesForwarding) fb_snapshotForAttributeName:] + 769
[debug] [MJSONWP (36104151)] 7 WebDriverAgentLib 0x00000001055adf38 -[XCUIElement(WebDriverAttributesForwarding) forwardingTargetForSelector:] + 152
[debug] [MJSONWP (36104151)] 8 CoreFoundation 0x00007fff23b9d306 forwarding + 230
[debug] [MJSONWP (36104151)] 9 CoreFoundation 0x00007fff23b9f7c8 forwarding_prep_1
+ 120
[debug] [MJSONWP (36104151)] 10 WebDriverAgentLib 0x00000001055d4480 +[FBElementCommands handleGetWindowSize:] + 176
[debug] [MJSONWP (36104151)] 11 WebDriverAgentLib 0x000000010559fd86 -[FBRoute_TargetAction mountRequest:intoResponse:] + 182
[debug] [MJSONWP (36104151)] 12 WebDriverAgentLib 0x000000010558d2fb __37-[FBWebServer registerRouteHandlers:]_block_invoke + 555
[debug] [MJSONWP (36104151)] 13 RoutingHTTPServer 0x00000001056efba3 -[RoutingHTTPServer handleRoute:withRequest:response:] + 136
[debug] [MJSONWP (36104151)] 14 RoutingHTTPServer 0x00000001056f04b6 __72-[RoutingHTTPServer routeMethod:withPath:parameters:request:connection:]_block_invoke + 47
[debug] [MJSONWP (36104151)] 15 libdispatch.dylib 0x00007fff511fc7f9 _dispatch_client_callout + 8
[debug] [MJSONWP (36104151)] 16 libdispatch.dylib 0x00007fff512098e8 _dispatch_async_and_wait_invoke + 109
[debug] [MJSONWP (36104151)] 17 libdispatch.dylib 0x00007fff511fc7f9 _dispatch_client_callout + 8
[debug] [MJSONWP (36104151)] 18 libdispatch.dylib 0x00007fff51208d22 _dispatch_main_queue_callback_4CF + 1212
[debug] [MJSONWP (36104151)] 19 CoreFoundation 0x00007fff23afb699 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9
[debug] [MJSONWP (36104151)] 20 CoreFoundation 0x00007fff23af62f9 _CFRunLoopRun + 2329
[debug] [MJSONWP (36104151)] 21 CoreFoundation 0x00007fff23af56b6 CFRunLoopRunSpecific + 438
[debug] [MJSONWP (36104151)] 22 Foundation 0x00007fff2566d0df -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 211
[debug] [MJSONWP (36104151)] 23 WebDriverAgentLib 0x000000010558bc28 -[FBWebServer startServing] + 360
[debug] [MJSONWP (36104151)] 24 WebDriverAgentRunner 0x0000000105577fba -[UITestingUITests testRunner] + 106
[debug] [MJSONWP (36104151)] 25 CoreFoundation 0x00007fff23b9f95c invoking
+ 140
[debug] [MJSONWP (36104151)] 26 CoreFoundation 0x00007fff23b9cd8f -[NSInvocation invoke] + 287
[debug] [MJSONWP (36104151)] 27 XCTest 0x0000000103201121 __24-[XCTestCase invokeTest]_block_invoke.208 + 78
[debug] [MJSONWP (36104151)] 28 XCTest 0x000000010325b1e2 -[XCTestCase(Failures) performFailableBlock:testCaseRun:shouldInterruptTest:] + 57
[debug] [MJSONWP (36104151)] 29 XCTest 0x000000010325b100 -[XCTestCase(Failures) _performTurningExceptionsIntoFailuresInterruptAfterHandling:block:] + 96
[debug] [MJSONWP (36104151)] 30 XCTest 0x0000000103200c0a __24-[XCTestCase invokeTest]_block_invoke + 1153
[debug] [MJSONWP (36104151)] 31 XCTest 0x0000000103262424 -[XCUITestContext performInScope:] + 117
[debug] [MJSONWP (36104151)] 32 XCTest 0x00000001032006c6 -[XCTestCase testContextPerformInScope:] + 183
[debug] [MJSONWP (36104151)] 33 XCTest 0x000000010320077c -[XCTestCase invokeTest] + 137
[debug] [MJSONWP (36104151)] 34 XCTest 0x00000001032024ed __26-[XCTestCase performTest:]_block_invoke_2 + 43
[debug] [MJSONWP (36104151)] 35 XCTest 0x000000010325b1e2 -[XCTestCase(Failures) performFailableBlock:testCaseRun:shouldInterruptTest:] + 57
[debug] [MJSONWP (36104151)] 36 XCTest 0x000000010325b100 -[XCTestCase(Failures) _performTurningExceptionsIntoFailuresInterruptAfterHandling:block:] + 96
[debug] [MJSONWP (36104151)] 37 XCTest 0x0000000103202404 __26-[XCTestCase performTest:]_block_invoke.334 + 88
[debug] [MJSONWP (36104151)] 38 XCTest 0x000000010326e492 +[XCTContext runInContextForTestCase:block:] + 219
[debug] [MJSONWP (36104151)] 39 XCTest 0x0000000103201b73 -[XCTestCase performTest:] + 668
[debug] [MJSONWP (36104151)] 40 XCTest 0x0000000103247077 -[XCTest runTest] + 57
[debug] [MJSONWP (36104151)] 41 XCTest 0x00000001031fc14a __27-[XCTestSuite performTest:]_block_invoke + 365
[debug] [MJSONWP (36104151)] 42 XCTest 0x00000001031fb874 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 54
[debug] [MJSONWP (36104151)] 43 XCTest 0x00000001031fbb71 -[XCTestSuite performTest:] + 355
[debug] [MJSONWP (36104151)] 44 XCTest 0x0000000103247077 -[XCTest runTest] + 57
[debug] [MJSONWP (36104151)] 45 XCTest 0x00000001031fc14a __27-[XCTestSuite performTest:]_block_invoke + 365
[debug] [MJSONWP (36104151)] 46 XCTest 0x00000001031fb874 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 54
[debug] [MJSONWP (36104151)] 47 XCTest 0x00000001031fbb71 -[XCTestSuite performTest:] + 355
[debug] [MJSONWP (36104151)] 48 XCTest 0x0000000103247077 -[XCTest runTest] + 57
[debug] [MJSONWP (36104151)] 49 XCTest 0x00000001031fc14a __27-[XCTestSuite performTest:]_block_invoke + 365
[debug] [MJSONWP (36104151)] 50 XCTest 0x00000001031fb874 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 54
[debug] [MJSONWP (36104151)] 51 XCTest 0x00000001031fbb71 -[XCTestSuite performTest:] + 355
[debug] [MJSONWP (36104151)] 52 XCTest 0x0000000103247077 -[XCTest runTest] + 57
[debug] [MJSONWP (36104151)] 53 XCTest 0x000000010327d43e __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke + 171
[debug] [MJSONWP (36104151)] 54 XCTest 0x000000010327d541 __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke.84 + 118
[debug] [MJSONWP (36104151)] 55 XCTest 0x0000000103215e83 -[XCTestObservationCenter _observeTestExecutionForBlock:] + 588
[debug] [MJSONWP (36104151)] 56 XCTest 0x000000010327d1fd -[XCTTestRunSession runTestsAndReturnError:] + 623
[debug] [MJSONWP (36104151)] 57 XCTest 0x00000001031df6d7 -[XCTestDriver runTestsAndReturnError:] + 456
[debug] [MJSONWP (36104151)] 58 XCTest 0x000000010326a6e4 _XCTestMain + 2484
[debug] [MJSONWP (36104151)] 59 WebDriverAgentRunner-Runner 0x0000000102f31edd -[_XCTRunnerAppDelegate applicationWillResignActive:] + 0
[debug] [MJSONWP (36104151)] 60 WebDriverAgentRunner-Runner 0x0000000102f31ddb _XCTRunnerRunTests + 0
[debug] [MJSONWP (36104151)] 61 CoreFoundation 0x00007fff23afb8ec CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK + 12
[debug] [MJSONWP (36104151)] 62 CoreFoundation 0x00007fff23afb058 __CFRunLoopDoBlocks + 312
[debug] [MJSONWP (36104151)] 63 CoreFoundation 0x00007fff23af5ee4 __CFRunLoopRun + 1284
[debug] [MJSONWP (36104151)] 64 CoreFoundation 0x00007fff23af56b6 CFRunLoopRunSpecific + 438
[debug] [MJSONWP (36104151)] 65 GraphicsServices 0x00007fff3815cbb0 GSEventRunModal + 65
[debug] [MJSONWP (36104151)] 66 UIKitCore 0x00007fff47162a67 UIApplicationMain + 1621
[debug] [MJSONWP (36104151)] 67 WebDriverAgentRunner-Runner 0x0000000102f32098 main + 183
[debug] [MJSONWP (36104151)] 68 libdyld.dylib 0x00007fff5123bcf5 start + 1
[debug] [MJSONWP (36104151)] 69 ??? 0x0000000000000005 0x0 + 5
[debug] [MJSONWP (36104151)] )
[debug] [MJSONWP (36104151)] at errorFromMJSONWPStatusCode (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:789:10)
[debug] [MJSONWP (36104151)] at ProxyRequestError.errorFromMJSONWPStatusCode [as getActualError] (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:683:14)
[debug] [MJSONWP (36104151)] at JWProxy.getActualError [as command] (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/jsonwp-proxy/proxy.js:237:19)
[HTTP] <-- GET /wd/hub/session/36104151-f967-4fa8-a474-af0d60332432/window/current/size 500 361 ms - 7688
[HTTP]

The problem was solved by switching to appium@beta…
Thanks to mykola-mokhnach