Appium-desktop: Xcode11 with ios 13 don`t open inspector with appium-desktop.

Created on 24 Sep 2019  ·  43Comments  ·  Source: appium/appium-desktop

Appium or Appium Desktop?

Problem: Appium desktop.

The problem

Appium desktop Don`t open inspector with iOS 13.

Environment

  • MacBook Pro (15-inch, 2017)
  • Xcode 11
  • Simulator: IOS 13 and IOS 12.2
  • Appium Desktop: 1.13.0

Screenshot:

image

Most helpful comment

Thanks guys, now it worked.

Step 1 - npm uninstall -g appium && npm install -g appium@rc
Step 2 - Open appium-desktop and Modify Port to 4724
Step 3 - Open the terminal and type "appium" without the quotes. The appium through the terminal will be started. You will now be able to use the terminal appium from the appium-desktop.
Step 4 - In appium-desktop you should click on Start sERVER V1.13.0
Step 5 - In the appium-desktop you must click on the magnifying glass.
Step 6 - In appium-desktop you must select the CUSTOM SERVER tab
Step 7 - In appium-desktop you must Select IOS.
Step 8 - In the appium-desktop you must click on Start Session.

image

All 43 comments

The same problem here!

The same problem here!

The same issue!

The same

Same problem, please fixxxx fix fix !!!

The same issue!

Until a release is made (today for the server, shortly thereafter for the desktop app), you will need to install the release candidate (npm uninstall -g appium && npm install -g appium@rc) and then run it in a terminal.

Then connect the desktop app to it using the "Custom Server" tab in the start session window.

Screenshot 2019-09-23 09 20 12

Hi @imurchie
I still have problems with "npm uninstall -g appium && npm install -g appium@rc" and "Custom Server" tab.

Not sure what "problems" means.

My problem:
Appium desktop Don`t open inspector with iOS 13 and Xcode 11
New screenshot after install npm uninstall -g appium && npm install -g appium@r and Custom server tab.

image

@imurchie Thanks. Problem solved.

@imurchie It's doesn't work here. My problem is the same oof the @herbert-soares-ifood :(

Captura de Tela 2019-09-24 às 14 40 25

What is happening in the logs on the terminal?

I have this error on terminal:

[MJSONWP (31f18518)] )
[MJSONWP (31f18518)]     at errorFromMJSONWPStatusCode (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:789:10)
[MJSONWP (31f18518)]     at ProxyRequestError.errorFromMJSONWPStatusCode [as getActualError] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:683:14)
[MJSONWP (31f18518)]     at JWProxy.getActualError [as command] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/jsonwp-proxy/proxy.js:235:19)
[HTTP] <-- GET /wd/hub/session/31f18518-2774-4109-af33-335fa2738fc4/window/current/size  500

Can you provide the _full_ logs? There is nothing I can try to diagnose from that snippet.

Yes, my full logs:

[MJSONWP (31f18518)]    57  XCTest                              0x0000000101def6d7 -[XCTestDriver runTestsAndReturnError:] + 456
[MJSONWP (31f18518)]    58  XCTest                              0x0000000101e7a6e4 _XCTestMain + 2484
[MJSONWP (31f18518)]    59  WebDriverAgentRunner-Runner         0x0000000101b1fedd -[_XCTRunnerAppDelegate applicationWillResignActive:] + 0
[MJSONWP (31f18518)]    60  WebDriverAgentRunner-Runner         0x0000000101b1fddb _XCTRunnerRunTests + 0
[MJSONWP (31f18518)]    61  CoreFoundation                      0x0000000102f37aec __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
[MJSONWP (31f18518)]    62  CoreFoundation                      0x0000000102f372b0 __CFRunLoopDoBlocks + 336
[MJSONWP (31f18518)]    63  CoreFoundation                      0x0000000102f31b34 __CFRunLoopRun + 1252
[MJSONWP (31f18518)]    64  CoreFoundation                      0x0000000102f31302 CFRunLoopRunSpecific + 626
[MJSONWP (31f18518)]    65  GraphicsServices                    0x000000010b57b2fe GSEventRunModal + 65
[MJSONWP (31f18518)]    66  UIKitCore                           0x00000001056fbba2 UIApplicationMain + 140
[MJSONWP (31f18518)]    67  WebDriverAgentRunner-Runner         0x0000000101b20098 main + 183
[MJSONWP (31f18518)]    68  libdyld.dylib                       0x0000000107aa8541 start + 1
[MJSONWP (31f18518)] )
[MJSONWP (31f18518)]     at errorFromMJSONWPStatusCode (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:789:10)
[MJSONWP (31f18518)]     at ProxyRequestError.errorFromMJSONWPStatusCode [as getActualError] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:683:14)
[MJSONWP (31f18518)]     at JWProxy.getActualError [as command] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/jsonwp-proxy/proxy.js:235:19)
[HTTP] <-- GET /wd/hub/session/31f18518-2774-4109-af33-335fa2738fc4/source 500 28 ms - 7648
[HTTP] 
[WD Proxy] Got response with status 200: "{\n  \"value\" : \"iVBORw0KGgoAAAANSUhEUgAABGUAAAmECAIAAAAjR0TuAAAAAXNSR0IArs4c6QAA\\r\\nABxpRE9UAAAAAgAAAAAAAATCAAAAKAAABMIAAATCAACv2ttUtz0AAEAASURBVHgB\\r\\n7L1LryxPl591\\/u+1mwaPPGmDGmRDCwsJzIwP0gjUYtQjC9QSE8Qn8IS2rW6JgRl2\\r\\n89oGg1riy7zIQyyhRu\\/lnL3ruuua\\/FasyJWRt9pVZ18y965nK5Q7KisrM\\/KJzMj4\\r\\n5Vqx4suXH\\/\\/oyw9fcvry5Uc\\/WPYnX778NKWfffmi9O\\/89Kf\\/6R\\/+4f\\/wp3\\/6f\\/7i\\r\\nF\\/\\/ml79c\\/s3fVKtVtVweHx7Oi4Uyp8dHEgQgAAEIQAACEIAABCAAgbkRcNly+PZt\\r\\n++tf\\/z\\/\\/9y\\/\\/+hf\\/63\\/7J3\\/yX\\/yDf\\/Bv\\/+xnoXp+\\/OWL0k9\\/IjFkfz\\/88MNPfyo9\\r\\n5H8\\/fPnZv\\/W7Ekk\\/\\/PhHP\\/7xD9pEm+qXSlJK\\/8nf+3v\\/7M\\/\\/fC9RtNstfvWr03q9\\r\\n+dWvTCNtNgKx\\/\\/pVkkkZHX5uXCgPBCAAAQhAAAIQgAAEIAABEXAbj5l5lovj4nH3\\r\\n+Pj08LB5ePif\\/+k\\/\\/Y\\/\\/7t+V8DGxlHTQz3\\/8I\\/1lnfTDDz\\/5ib6sjUs\\/+Zk2s08\\/\\r\\n+9EPUkr\\/\\/u\\/\\/\\/v\\/+l395WC4Pj4vtb7\\/uHx61ax3ALEurlQ4ppeT2JeWpBghAAAIQ\\r\\ngAAEIAABCEAAAjMkIBuPW3dMtiwtVetNtdlW+\\/3qN7+RWehf\\/dVf\\/Z2\\/\\/bdlTvq5\\r\\nBFKSSj\\/\\/+c9DMplCkmXJxdLv\\/s7PJ...
[WD Proxy] Proxying [GET /window/size] to [GET http://localhost:8100/session/C9B5EE27-51E9-49C2-9D57-E0F62FC2954E/window/size] with no body
[MJSONWP (31f18518)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABGUAAAmECAIAAAAjR0TuAAAAAXNSR0IArs4c6QAA\r\nABxpRE9UAAAAAgAAAAAAAATCAAAAKAAABMIAAATCAACv2ttUtz0AAEAASURBVHgB\r\n7L1LryxPl591/u+1mwaPPGmDGmRDCwsJzIwP0gjUYtQjC9QSE8Qn8IS2rW6JgRl2\r\n89oGg1riy7zIQyyhRu/lnL3ruuua/FasyJWRt9pVZ18y965nK5Q7KisrM/KJzMj4\r\n5Vqx4suXH//oyw9fcvry5Uc/WPYnX778NKWfffmi9O/89Kf/6R/+4f/wp3/6f/7i\r\nF//ml79c/s3fVKtVtVweHx7Oi4Uyp8dHEgQgAAEIQAACEIAABCAAgbkRcNly+PZt\r\n++tf/z//9y//+hf/63/7J3/yX/yDf/Bv/+xnoXp+/OWL0k9/IjFkfz/88MNPfyo9\r\n5H8/fPnZv/W7Ekk//PhHP/7xD9pEm+qXSlJK/8nf+3v/7M//fC9RtNstfvWr03q9\r\n+dWvTCNtNgKx//pVkkkZHX5uXCgPBCAAAQhAAAIQgAAEIAABEXAbj5l5lovj4nH3\r\n+Pj08LB5ePif/+k//Y//7t+V8DGxlHTQz3/8I/1lnfTDDz/5ib6sjUs/+Zk2s08/\r\n+9EPUkr//u///v/+l395WC4Pj4vtb7/uHx61ax3ALEurlQ4ppeT2JeWpBghAAAIQ\r\ngAAEIAABCEAAAjMkIBuPW3dMtiwtVetNtdlW+/3qN7+RWehf/dVf/Z2//bdlTvq5\r\nBFKSSj//+c9DMplCkmXJxdLv/s7PJJa06X/zR39kP15vTsvVebXW7lwvVZu1EOh4\r\nSuGMh16a4WVBkSAAAQhAAAIQgAAEIAABEajWawkWqSYTTo8PMgLJILT79rCVolmt\r\nZB/SUuamP/njP5ZY+t0ffvi93/s9F0s//rHZk0wv/egnNmjpd35HWslMUX/xZ38m\r\n...
[HTTP] <-- GET /wd/hub/session/31f18518-2774-4109-af33-335fa2738fc4/screenshot 200 167 ms - 123690
[HTTP] 
[WD Proxy] Got response with status 200: "{\n  \"value\" : \"-[XCApplicationQuery elementSnapshotForDebugDescription]: unrecognized selector sent to instance 0x600000375620\\n\\n(\\n\\t0   CoreFoundation                      0x0000000102fd06fb __exceptionPreprocess + 331\\n\\t1   libobjc.A.dylib                     0x0000000102574ac5 objc_exception_throw + 48\\n\\t2   CoreFoundation                      0x0000000102feeab4 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132\\n\\t3   CoreFoundation                      0x0000000102fd5443 ___forwarding___ + 1443\\n\\t4   CoreFoundation                      0x0000000102fd7238 _CF_forwarding_prep_0 + 120\\n\\t5   WebDriverAgentLib                   0x000000011a4b0354 -[XCUIElement(FBUtilities) fb_lastSnapshot] + 68\\n\\t6   WebDriverAgentLib                   0x000000011a4a79d1 -[XCUIElement(WebDriverAttributesForwarding) fb_snapshotForAttributeName:] + 785\\n\\t7   WebDriverAgentLib                   0x000000011a4a7c18 -[XCUIElement(WebDriverAttributesForwarding) forwardingTargetForSelector:] + 152...
[MJSONWP] Matched JSONWP error code 13 to UnknownError
[MJSONWP (31f18518)] 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 0x600000375620
[MJSONWP (31f18518)] 
[MJSONWP (31f18518)] (
[MJSONWP (31f18518)]    0   CoreFoundation                      0x0000000102fd06fb __exceptionPreprocess + 331
[MJSONWP (31f18518)]    1   libobjc.A.dylib                     0x0000000102574ac5 objc_exception_throw + 48
[MJSONWP (31f18518)]    2   CoreFoundation                      0x0000000102feeab4 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
[MJSONWP (31f18518)]    3   CoreFoundation                      0x0000000102fd5443 ___forwarding___ + 1443
[MJSONWP (31f18518)]    4   CoreFoundation                      0x0000000102fd7238 _CF_forwarding_prep_0 + 120
[MJSONWP (31f18518)]    5   WebDriverAgentLib                   0x000000011a4b0354 -[XCUIElement(FBUtilities) fb_lastSnapshot] + 68
[MJSONWP (31f18518)]    6   WebDriverAgentLib                   0x000000011a4a79d1 -[XCUIElement(WebDriverAttributesForwarding) fb_snapshotForAttributeName:] + 785
[MJSONWP (31f18518)]    7   WebDriverAgentLib                   0x000000011a4a7c18 -[XCUIElement(WebDriverAttributesForwarding) forwardingTargetForSelector:] + 152
[MJSONWP (31f18518)]    8   CoreFoundation                      0x0000000102fd4f72 ___forwarding___ + 210
[MJSONWP (31f18518)]    9   CoreFoundation                      0x0000000102fd7338 __forwarding_prep_1___ + 120
[MJSONWP (31f18518)]    10  WebDriverAgentLib                   0x000000011a4ce2b0 +[FBElementCommands handleGetWindowSize:] + 176
[MJSONWP (31f18518)]    11  WebDriverAgentLib                   0x000000011a499796 -[FBRoute_TargetAction mountRequest:intoResponse:] + 182
[MJSONWP (31f18518)]    12  WebDriverAgentLib                   0x000000011a486b2b __37-[FBWebServer registerRouteHandlers:]_block_invoke + 555
[MJSONWP (31f18518)]    13  RoutingHTTPServer                   0x000000011a5e9a37 -[RoutingHTTPServer handleRoute:withRequest:response:] + 136
[MJSONWP (31f18518)]    14  RoutingHTTPServer                   0x000000011a5ea34a __72-[RoutingHTTPServer routeMethod:withPath:parameters:request:connection:]_block_invoke + 47
[MJSONWP (31f18518)]    15  libdispatch.dylib                   0x0000000107a3ad02 _dispatch_client_callout + 8
[MJSONWP (31f18518)]    16  libdispatch.dylib                   0x0000000107a476e8 _dispatch_async_and_wait_invoke + 109
[MJSONWP (31f18518)]    17  libdispatch.dylib                   0x0000000107a3ad02 _dispatch_client_callout + 8
[MJSONWP (31f18518)]    18  libdispatch.dylib                   0x0000000107a46a50 _dispatch_main_queue_callback_4CF + 1276
[MJSONWP (31f18518)]    19  CoreFoundation                      0x0000000102f378a9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
[MJSONWP (31f18518)]    20  CoreFoundation                      0x0000000102f31f56 __CFRunLoopRun + 2310
[MJSONWP (31f18518)]    21  CoreFoundation                      0x0000000102f31302 CFRunLoopRunSpecific + 626
[MJSONWP (31f18518)]    22  Foundation                          0x000000010203f044 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 277
[MJSONWP (31f18518)]    23  WebDriverAgentLib                   0x000000011a485450 -[FBWebServer startServing] + 368
[MJSONWP (31f18518)]    24  WebDriverAgentRunner                0x000000011a471fba -[UITestingUITests testRunner] + 106
[MJSONWP (31f18518)]    25  CoreFoundation                      0x0000000102fd74cc __invoking___ + 140
[MJSONWP (31f18518)]    26  CoreFoundation                      0x0000000102fd4a45 -[NSInvocation invoke] + 325
[MJSONWP (31f18518)]    27  XCTest                              0x0000000101e11121 __24-[XCTestCase invokeTest]_block_invoke.208 + 78
[MJSONWP (31f18518)]    28  XCTest                              0x0000000101e6b1e2 -[XCTestCase(Failures) performFailableBlock:testCaseRun:shouldInterruptTest:] + 57
[MJSONWP (31f18518)]    29  XCTest                              0x0000000101e6b100 -[XCTestCase(Failures) _performTurningExceptionsIntoFailuresInterruptAfterHandling:block:] + 96
[MJSONWP (31f18518)]    30  XCTest                              0x0000000101e10c0a __24-[XCTestCase invokeTest]_block_invoke + 1153
[MJSONWP (31f18518)]    31  XCTest                              0x0000000101e72424 -[XCUITestContext performInScope:] + 117
[MJSONWP (31f18518)]    32  XCTest                              0x0000000101e106c6 -[XCTestCase testContextPerformInScope:] + 183
[MJSONWP (31f18518)]    33  XCTest                              0x0000000101e1077c -[XCTestCase invokeTest] + 137
[MJSONWP (31f18518)]    34  XCTest                              0x0000000101e124ed __26-[XCTestCase performTest:]_block_invoke_2 + 43
[MJSONWP (31f18518)]    35  XCTest                              0x0000000101e6b1e2 -[XCTestCase(Failures) performFailableBlock:testCaseRun:shouldInterruptTest:] + 57
[MJSONWP (31f18518)]    36  XCTest                              0x0000000101e6b100 -[XCTestCase(Failures) _performTurningExceptionsIntoFailuresInterruptAfterHandling:block:] + 96
[MJSONWP (31f18518)]    37  XCTest                              0x0000000101e12404 __26-[XCTestCase performTest:]_block_invoke.334 + 88
[MJSONWP (31f18518)]    38  XCTest                              0x0000000101e7e492 +[XCTContext runInContextForTestCase:block:] + 219
[MJSONWP (31f18518)]    39  XCTest                              0x0000000101e11b73 -[XCTestCase performTest:] + 668
[MJSONWP (31f18518)]    40  XCTest                              0x0000000101e57077 -[XCTest runTest] + 57
[MJSONWP (31f18518)]    41  XCTest                              0x0000000101e0c14a __27-[XCTestSuite performTest:]_block_invoke + 365
[MJSONWP (31f18518)]    42  XCTest                              0x0000000101e0b874 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 54
[MJSONWP (31f18518)]    43  XCTest                              0x0000000101e0bb71 -[XCTestSuite performTest:] + 355
[MJSONWP (31f18518)]    44  XCTest                              0x0000000101e57077 -[XCTest runTest] + 57
[MJSONWP (31f18518)]    45  XCTest                              0x0000000101e0c14a __27-[XCTestSuite performTest:]_block_invoke + 365
[MJSONWP (31f18518)]    46  XCTest                              0x0000000101e0b874 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 54
[MJSONWP (31f18518)]    47  XCTest                              0x0000000101e0bb71 -[XCTestSuite performTest:] + 355
[MJSONWP (31f18518)]    48  XCTest                              0x0000000101e57077 -[XCTest runTest] + 57
[MJSONWP (31f18518)]    49  XCTest                              0x0000000101e0c14a __27-[XCTestSuite performTest:]_block_invoke + 365
[MJSONWP (31f18518)]    50  XCTest                              0x0000000101e0b874 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 54
[MJSONWP (31f18518)]    51  XCTest                              0x0000000101e0bb71 -[XCTestSuite performTest:] + 355
[MJSONWP (31f18518)]    52  XCTest                              0x0000000101e57077 -[XCTest runTest] + 57
[MJSONWP (31f18518)]    53  XCTest                              0x0000000101e8d43e __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke + 171
[MJSONWP (31f18518)]    54  XCTest                              0x0000000101e8d541 __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke.84 + 118
[MJSONWP (31f18518)]    55  XCTest                              0x0000000101e25e83 -[XCTestObservationCenter _observeTestExecutionForBlock:] + 588
[MJSONWP (31f18518)]    56  XCTest                              0x0000000101e8d1fd -[XCTTestRunSession runTestsAndReturnError:] + 623
[MJSONWP (31f18518)]    57  XCTest                              0x0000000101def6d7 -[XCTestDriver runTestsAndReturnError:] + 456
[MJSONWP (31f18518)]    58  XCTest                              0x0000000101e7a6e4 _XCTestMain + 2484
[MJSONWP (31f18518)]    59  WebDriverAgentRunner-Runner         0x0000000101b1fedd -[_XCTRunnerAppDelegate applicationWillResignActive:] + 0
[MJSONWP (31f18518)]    60  WebDriverAgentRunner-Runner         0x0000000101b1fddb _XCTRunnerRunTests + 0
[MJSONWP (31f18518)]    61  CoreFoundation                      0x0000000102f37aec __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
[MJSONWP (31f18518)]    62  CoreFoundation                      0x0000000102f372b0 __CFRunLoopDoBlocks + 336
[MJSONWP (31f18518)]    63  CoreFoundation                      0x0000000102f31b34 __CFRunLoopRun + 1252
[MJSONWP (31f18518)]    64  CoreFoundation                      0x0000000102f31302 CFRunLoopRunSpecific + 626
[MJSONWP (31f18518)]    65  GraphicsServices                    0x000000010b57b2fe GSEventRunModal + 65
[MJSONWP (31f18518)]    66  UIKitCore                           0x00000001056fbba2 UIApplicationMain + 140
[MJSONWP (31f18518)]    67  WebDriverAgentRunner-Runner         0x0000000101b20098 main + 183
[MJSONWP (31f18518)]    68  libdyld.dylib                       0x0000000107aa8541 start + 1
[MJSONWP (31f18518)] )
[MJSONWP (31f18518)]     at errorFromMJSONWPStatusCode (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:789:10)
[MJSONWP (31f18518)]     at ProxyRequestError.errorFromMJSONWPStatusCode [as getActualError] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:683:14)
[MJSONWP (31f18518)]     at JWProxy.getActualError [as command] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/jsonwp-proxy/proxy.js:235:19)
[HTTP] <-- GET /wd/hub/session/31f18518-2774-4109-af33-335fa2738fc4/window/current/size 500 199 ms - 7617
[HTTP] 

Are you sure of the version of Appium running? The logs above are characteristic of an older version trying to handle iOS 13.

Version appium-desktop:
version 1.13.0 (1.13.0.20190505.5)
image

And the server version running in the terminal?

My appium on terminal is 1.14.0

Is that what was installed when you ran npm uninstall -g appium && npm install -g appium@rc? Because that version will _never_ work with iOS 13, and should not install when getting appium@rc.

The version you need is v1.15.0-rc.5.

Yes, i executed this command, but don`t work. After that, i installed appium 1.14.0.

After command:
image

Appium Desktop:
image

image

Terminal with 1.15.0-rc.5

[Appium] Welcome to Appium v1.13.0
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session
[HTTP] {"desiredCapabilities":{"app":"/Users/hebertsoares/Downloads/9.20.0.ios/iFoodPackage/Payload/iFood.app","deviceName":"iPhone X 12.2","platformName":"iOS","platformVersion":"12.2","newCommandTimeout":0,"connectHardwareKeyboard":true}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"/Users/hebertsoares/Downloads/9.20.0.ios/iFoodPackage/Payload/iFood.app","deviceName":"iPhone X 12.2","platformName":"iOS","platformVersion":"12.2","newCommandTimeout":0,"connectHardwareKeyboard":true},null,null]
[BaseDriver] Event 'newSessionRequested' logged at 1569353487050 (16:31:27 GMT-0300 (-03))
[Appium] DeprecationWarning: 'automationName' capability was not provided. Future versions of Appium will require 'automationName' capability to be set for iOS sessions.
[Appium] Requested iOS support with version >= 10, using 'XCUITest' driver instead of UIAutomation-based driver, since the latter is unsupported on iOS 10 and up.
[Appium] Appium v1.13.0 creating new XCUITestDriver (v2.113.2) session
[Appium] Capabilities:
[Appium] app: /Users/hebertsoares/Downloads/9.20.0.ios/iFoodPackage/Payload/iFood.app
[Appium] deviceName: iPhone X 12.2
[Appium] platformName: iOS
[Appium] platformVersion: 12.2
[Appium] newCommandTimeout: 0
[Appium] connectHardwareKeyboard: true
[BaseDriver] Creating session with MJSONWP desired capabilities: {"app":"/Users/hebertsoares...
[BaseDriver] Session created with session id: 0a60341b-746b-4098-b2c0-4b49c0613353
[XCUITest] Current user: 'hebertsoares'
[iOSSim] Constructing iOS simulator for Xcode version 11.0 with udid 'DD7DF22E-CF06-4F76-8F46-99BE9B33C20D'
[XCUITest] Determining device to run tests on: udid: 'DD7DF22E-CF06-4F76-8F46-99BE9B33C20D', real device: false
[XCUITest] iOS SDK Version set to '13.0'
[BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1569353487923 (16:31:27 GMT-0300 (-03))
[BaseDriver] Using local app '/Users/hebertsoares/Downloads/9.20.0.ios/iFoodPackage/Payload/iFood.app'
[BaseDriver] Event 'appConfigured' logged at 1569353487927 (16:31:27 GMT-0300 (-03))
[XCUITest] Checking whether app '/Users/hebertsoares/Downloads/9.20.0.ios/iFoodPackage/Payload/iFood.app' is actually present on file system
[XCUITest] App is present
[iOS] Getting bundle ID from app '/Users/hebertsoares/Downloads/9.20.0.ios/iFoodPackage/Payload/iFood.app': 'br.com.brainweb.ifood'
[BaseDriver] Event 'resetStarted' logged at 1569353487938 (16:31:27 GMT-0300 (-03))
[XCUITest] Not scrubbing third party app in anticipation of uninstall
[BaseDriver] Event 'resetComplete' logged at 1569353488142 (16:31:28 GMT-0300 (-03))
[XCUITest] Starting log capture for iOS Simulator with udid 'DD7DF22E-CF06-4F76-8F46-99BE9B33C20D', using 'xcrun simctl spawn DD7DF22E-CF06-4F76-8F46-99BE9B33C20D log stream --style compact'
[BaseDriver] Event 'logCaptureStarted' logged at 1569353488566 (16:31:28 GMT-0300 (-03))
[XCUITest] Setting up simulator
[iOS] No reason to set locale
[iOS] No iOS / app preferences to set
[iOSSim] Setting preferences of DD7DF22E-CF06-4F76-8F46-99BE9B33C20D Simulator to {"ConnectHardwareKeyboard":true}
[iOSSim] Setting common Simulator preferences to {"RotateWindowWhenSignaledByGuest":true,"ConnectHardwareKeyboard":true}
[iOSSim] Updated DD7DF22E-CF06-4F76-8F46-99BE9B33C20D Simulator preferences at '/Users/hebertsoares/Library/Preferences/com.apple.iphonesimulator.plist' with {"DevicePreferences":{"DD7DF22E-CF06-4F76-8F46-99BE9B33C20D":{"ConnectHardwareKeyboard":true}},"RotateWindowWhenSignaledByGuest":true,"ConnectHardwareKeyboard":true}
[iOSSim] Got Simulator UI client PID: 659
[iOSSim] Both Simulator with UDID DD7DF22E-CF06-4F76-8F46-99BE9B33C20D and the UI client are currently running
[BaseDriver] Event 'simStarted' logged at 1569353488805 (16:31:28 GMT-0300 (-03))
[XCUITest] Verifying application platform
[XCUITest] CFBundleSupportedPlatforms: ["iPhoneSimulator"]
[XCUITest] Reset requested. Removing app with id 'br.com.brainweb.ifood' from the device
[XCUITest] Cleaning installd cache to save the disk space
[XCUITest] Installing '/Users/hebertsoares/Downloads/9.20.0.ios/iFoodPackage/Payload/iFood.app' on Simulator with UUID 'DD7DF22E-CF06-4F76-8F46-99BE9B33C20D'...
[XCUITest] The app has been installed successfully.
[BaseDriver] Event 'appInstalled' logged at 1569353492244 (16:31:32 GMT-0300 (-03))
[XCUITest] Using WDA path: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Using WDA agent: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'
[XCUITest] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[XCUITest] Parsed BUILD_DIR configuration value: '/Users/hebertsoares/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products'
[XCUITest] Got derived data root: '/Users/hebertsoares/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs'
[XCUITest] Starting WebDriverAgent initialization with the synchronization key '/Users/hebertsoares/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs'
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got response with status 200: "{\n \"value\" : {\n \"state\" : \"success\",\n \"os\" : {\n \"name\" : \"iOS\",\n \"version\" : \"12.2\",\n \"sdkVersion\" : \"13.0\"\n },\n \"ios\" : {\n \"simulatorVersion\" : \"12.2\",\n \"ip\" : \"172.31.104.8\"\n },\n \"build\" : {\n \"upgradedAt\" : \"1569335014483\",\n \"time\" : \"Sep 24 2019 12:43:32\",\n \"productBundleIdentifier\" : \"com.facebook.WebDriverAgentRunner\"\n }\n },\n \"sessionId\" : \"0037569A-7687-4C25-8F6A-18865D756811\",\n \"status\" : 0\n}"
[WD Proxy] Determined that the downstream protocol for proxy is MJSONWP
[XCUITest] Upgrade timestamp of the currently bundled WDA: 1569335014483
[XCUITest] Upgrade timestamp of the WDA on the device: 1569335014483
[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.
[XCUITest] Trying to start WebDriverAgent 2 times with 10000ms interval
[XCUITest] These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities
[BaseDriver] Event 'wdaStartAttempted' logged at 1569353495116 (16:31:35 GMT-0300 (-03))
[XCUITest] Using provided WebdriverAgent at 'http://localhost:8100/'
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got response with status 200: "{\n \"value\" : {\n \"state\" : \"success\",\n \"os\" : {\n \"name\" : \"iOS\",\n \"version\" : \"12.2\",\n \"sdkVersion\" : \"13.0\"\n },\n \"ios\" : {\n \"simulatorVersion\" : \"12.2\",\n \"ip\" : \"172.31.104.8\"\n },\n \"build\" : {\n \"upgradedAt\" : \"1569335014483\",\n \"time\" : \"Sep 24 2019 12:43:32\",\n \"productBundleIdentifier\" : \"com.facebook.WebDriverAgentRunner\"\n }\n },\n \"sessionId\" : \"0037569A-7687-4C25-8F6A-18865D756811\",\n \"status\" : 0\n}"
[WD Proxy] Determined that the downstream protocol for proxy is MJSONWP
[BaseDriver] Event 'wdaSessionAttempted' logged at 1569353495121 (16:31:35 GMT-0300 (-03))
[XCUITest] Sending createSession command to WDA
[WD Proxy] Matched '/session' to command name 'createSession'
[WD Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"desiredCapabilities":{"bundleId":"br.com.brainweb.ifood","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}}
[WD Proxy] Got response with status 200: {"value":{"sessionId":"F5E18F9D-B736-415B-BBBE-6A6EDD553003","capabilities":{"device":"iphone","browserName":"iFood","sdkVersion":"12.2","CFBundleIdentifier":"br.com.brainweb.ifood"}},"sessionId":"F5E18F9D-B736-415B-BBBE-6A6EDD553003","status":0}
[WD Proxy] Determined that the downstream protocol for proxy is MJSONWP
[BaseDriver] Event 'wdaSessionStarted' logged at 1569353498888 (16:31:38 GMT-0300 (-03))
[BaseDriver] Event 'wdaStarted' logged at 1569353498889 (16:31:38 GMT-0300 (-03))
[XCUITest] Skipping setting of the initial display orientation. Set the "orientation" capability to either "LANDSCAPE" or "PORTRAIT", if this is an undesired behavior.
[BaseDriver] Event 'orientationSet' logged at 1569353498889 (16:31:38 GMT-0300 (-03))
[Appium] New XCUITestDriver session created successfully, session 0a60341b-746b-4098-b2c0-4b49c0613353 added to master session list
[BaseDriver] Event 'newSessionStarted' logged at 1569353498890 (16:31:38 GMT-0300 (-03))
[MJSONWP (0a60341b)] Cached the protocol value 'MJSONWP' for the new session 0a60341b-746b-4098-b2c0-4b49c0613353
[MJSONWP (0a60341b)] Responding to client with driver.createSession() result: {"webStorageEnabled":false,"locationContextEnabled":false,"browserName":"","platform":"MAC","javascriptEnabled":true,"databaseEnabled":false,"takesScreenshot":true,"networkConnectionEnabled":false,"app":"/Users/hebertsoares/Downloads/9.20.0.ios/iFoodPackage/Payload/iFood.app","deviceName":"iPhone X 12.2","platformName":"iOS","platformVersion":"12.2","newCommandTimeout":0,"connectHardwareKeyboard":true,"udid":"DD7DF22E-CF06-4F76-8F46-99BE9B33C20D"}
[HTTP] <-- POST /wd/hub/session 200 11845 ms - 523
[HTTP]
[HTTP] --> POST /wd/hub/session/0a60341b-746b-4098-b2c0-4b49c0613353/context
[HTTP] {"name":"NATIVE_APP"}
[MJSONWP (0a60341b)] Calling AppiumDriver.setContext() with args: ["NATIVE_APP","0a60341b-746b-4098-b2c0-4b49c0613353"]
[XCUITest] Executing command 'setContext'
[iOS] Attempting to set context to 'NATIVE_APP'
[MJSONWP (0a60341b)] Responding to client with driver.setContext() result: null
[HTTP] <-- POST /wd/hub/session/0a60341b-746b-4098-b2c0-4b49c0613353/context 200 4 ms - 76
[HTTP]
[HTTP] --> GET /wd/hub/session/0a60341b-746b-4098-b2c0-4b49c0613353/source
[HTTP] {}
[MJSONWP (0a60341b)] Calling AppiumDriver.getPageSource() with args: ["0a60341b-746b-4098-b2c0-4b49c0613353"]
[XCUITest] Executing command 'getPageSource'
[HTTP] --> GET /wd/hub/session/0a60341b-746b-4098-b2c0-4b49c0613353/screenshot
[HTTP] {}
[MJSONWP (0a60341b)] Calling AppiumDriver.getScreenshot() with args: ["0a60341b-746b-4098-b2c0-4b49c0613353"]
[XCUITest] Executing command 'getScreenshot'
[HTTP] --> GET /wd/hub/session/0a60341b-746b-4098-b2c0-4b49c0613353/window/current/size
[HTTP] {}
[MJSONWP (0a60341b)] Calling AppiumDriver.getWindowSize() with args: ["current","0a60341b-746b-4098-b2c0-4b49c0613353"]
[XCUITest] Executing command 'getWindowSize'
[WD Proxy] Matched '/source' to command name 'getPageSource'
[WD Proxy] Proxying [GET /source] to [GET http://localhost:8100/session/F5E18F9D-B736-415B-BBBE-6A6EDD553003/source] with no body
[MJSONWP] Matched JSONWP error code 13 to UnknownError
[XCUITest] Taking screenshot with WDA
[WD Proxy] Matched '/screenshot' to command name 'getScreenshot'
[WD Proxy] Proxying [GET /screenshot] to [GET http://localhost:8100/session/F5E18F9D-B736-415B-BBBE-6A6EDD553003/screenshot] with no body
[MJSONWP (0a60341b)]
[MJSONWP (0a60341b)] (
[MJSONWP (0a60341b)] 0 CoreFoundation 0x0000000102fd06fb __exceptionPreprocess + 331
[MJSONWP (0a60341b)] 1 libobjc.A.dylib 0x0000000102574ac5 objc_exception_throw + 48
[MJSONWP (0a60341b)] 2 CoreFoundation 0x0000000102feeab4 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
[MJSONWP (0a60341b)] 3 CoreFoundation 0x0000000102fd5443 ___forwarding___ + 1443
[MJSONWP (0a60341b)] 4 CoreFoundation 0x0000000102fd7238 _CF_forwarding_prep_0 + 120
[MJSONWP (0a60341b)] 5 WebDriverAgentLib 0x000000011a4b03e1 -[XCUIElement(FBUtilities) fb_snapshotWithAttributes] + 97
[MJSONWP (0a60341b)] 6 WebDriverAgentLib 0x000000011a47e746 +[FBXPath writeXmlWithRootElement:indexPath:elementStore:includedAttributes:writer:] + 966
[MJSONWP (0a60341b)] 7 WebDriverAgentLib 0x000000011a47dabd +[FBXPath xmlRepresentationWithRootElement:writer:elementStore:query:] + 429
[MJSONWP (0a60341b)] 8 WebDriverAgentLib 0x000000011a47ce8f +[FBXPath xmlStringWithRootElement:] + 95
[MJSONWP (0a60341b)] 9 WebDriverAgentLib 0x000000011a48bb36 -[XCUIApplication(FBHelpers) fb_xmlRepresentation] + 54
[MJSONWP (0a60341b)] 10 WebDriverAgentLib 0x000000011a4acc7a +[FBDebugCommands handleGetSourceCommand:] + 538
[MJSONWP (0a60341b)] 11 WebDriverAgentLib 0x000000011a499796 -[FBRoute_TargetAction mountRequest:intoResponse:] + 182
[MJSONWP (0a60341b)] 12 WebDriverAgentLib 0x000000011a486b2b __37-[FBWebServer registerRouteHandlers:]_block_invoke + 555
[MJSONWP (0a60341b)] 13 RoutingHTTPServer 0x000000011a5e9a37 -[RoutingHTTPServer handleRoute:withRequest:response:] + 136
[MJSONWP (0a60341b)] 14 RoutingHTTPServer 0x000000011a5ea34a __72-[RoutingHTTPServer routeMethod:withPath:parameters:request:connection:]_block_invoke + 47
[MJSONWP (0a60341b)] 15 libdispatch.dylib 0x0000000107a3ad02 _dispatch_client_callout + 8
[MJSONWP (0a60341b)] 16 libdispatch.dylib 0x0000000107a476e8 _dispatch_async_and_wait_invoke + 109
[MJSONWP (0a60341b)] 17 libdispatch.dylib 0x0000000107a3ad02 _dispatch_client_callout + 8
[MJSONWP (0a60341b)] 18 libdispatch.dylib 0x0000000107a46a50 _dispatch_main_queue_callback_4CF + 1276
[MJSONWP (0a60341b)] 19 CoreFoundation 0x0000000102f378a9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
[MJSONWP (0a60341b)] 20 CoreFoundation 0x0000000102f31f56 __CFRunLoopRun + 2310
[MJSONWP (0a60341b)] 21 CoreFoundation 0x0000000102f31302 CFRunLoopRunSpecific + 626
[MJSONWP (0a60341b)] 22 Foundation 0x000000010203f044 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 277
[MJSONWP (0a60341b)] 23 WebDriverAgentLib 0x000000011a485450 -[FBWebServer startServing] + 368
[MJSONWP (0a60341b)] 24 WebDriverAgentRunner 0x000000011a471fba -[UITestingUITests testRunner] + 106
[MJSONWP (0a60341b)] 25 CoreFoundation 0x0000000102fd74cc __invoking___ + 140
[MJSONWP (0a60341b)] 26 CoreFoundation 0x0000000102fd4a45 -[NSInvocation invoke] + 325
[MJSONWP (0a60341b)] 27 XCTest 0x0000000101e11121 __24-[XCTestCase invokeTest]_block_invoke.208 + 78
[MJSONWP (0a60341b)] 28 XCTest 0x0000000101e6b1e2 -[XCTestCase(Failures) performFailableBlock:testCaseRun:shouldInterruptTest:] + 57
[MJSONWP (0a60341b)] 29 XCTest 0x0000000101e6b100 -[XCTestCase(Failures) _performTurningExceptionsIntoFailuresInterruptAfterHandling:block:] + 96
[MJSONWP (0a60341b)] 30 XCTest 0x0000000101e10c0a __24-[XCTestCase invokeTest]_block_invoke + 1153
[MJSONWP (0a60341b)] 31 XCTest 0x0000000101e72424 -[XCUITestContext performInScope:] + 117
[MJSONWP (0a60341b)] 32 XCTest 0x0000000101e106c6 -[XCTestCase testContextPerformInScope:] + 183
[MJSONWP (0a60341b)] 33 XCTest 0x0000000101e1077c -[XCTestCase invokeTest] + 137
[MJSONWP (0a60341b)] 34 XCTest 0x0000000101e124ed __26-[XCTestCase performTest:]_block_invoke_2 + 43
[MJSONWP (0a60341b)] 35 XCTest 0x0000000101e6b1e2 -[XCTestCase(Failures) performFailableBlock:testCaseRun:shouldInterruptTest:] + 57
[MJSONWP (0a60341b)] 36 XCTest 0x0000000101e6b100 -[XCTestCase(Failures) _performTurningExceptionsIntoFailuresInterruptAfterHandling:block:] + 96
[MJSONWP (0a60341b)] 37 XCTest 0x0000000101e12404 __26-[XCTestCase performTest:]_block_invoke.334 + 88
[MJSONWP (0a60341b)] 38 XCTest 0x0000000101e7e492 +[XCTContext runInContextForTestCase:block:] + 219
[MJSONWP (0a60341b)] 39 XCTest 0x0000000101e11b73 -[XCTestCase performTest:] + 668
[MJSONWP (0a60341b)] 40 XCTest 0x0000000101e57077 -[XCTest runTest] + 57
[MJSONWP (0a60341b)] 41 XCTest 0x0000000101e0c14a __27-[XCTestSuite performTest:]_block_invoke + 365
[MJSONWP (0a60341b)] 42 XCTest 0x0000000101e0b874 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 54
[MJSONWP (0a60341b)] 43 XCTest 0x0000000101e0bb71 -[XCTestSuite performTest:] + 355
[MJSONWP (0a60341b)] 44 XCTest 0x0000000101e57077 -[XCTest runTest] + 57
[MJSONWP (0a60341b)] 45 XCTest 0x0000000101e0c14a __27-[XCTestSuite performTest:]_block_invoke + 365
[MJSONWP (0a60341b)] 46 XCTest 0x0000000101e0b874 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 54
[MJSONWP (0a60341b)] 47 XCTest 0x0000000101e0bb71 -[XCTestSuite performTest:] + 355
[MJSONWP (0a60341b)] 48 XCTest 0x0000000101e57077 -[XCTest runTest] + 57
[MJSONWP (0a60341b)] 49 XCTest 0x0000000101e0c14a __27-[XCTestSuite performTest:]_block_invoke + 365
[MJSONWP (0a60341b)] 50 XCTest 0x0000000101e0b874 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 54
[MJSONWP (0a60341b)] 51 XCTest 0x0000000101e0bb71 -[XCTestSuite performTest:] + 355
[MJSONWP (0a60341b)] 52 XCTest 0x0000000101e57077 -[XCTest runTest] + 57
[MJSONWP (0a60341b)] 53 XCTest 0x0000000101e8d43e __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke + 171
[MJSONWP (0a60341b)] 54 XCTest 0x0000000101e8d541 __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke.84 + 118
[MJSONWP (0a60341b)] 55 XCTest 0x0000000101e25e83 -[XCTestObservationCenter _observeTestExecutionForBlock:] + 588
[MJSONWP (0a60341b)] 56 XCTest 0x0000000101e8d1fd -[XCTTestRunSession runTestsAndReturnError:] + 623
[MJSONWP (0a60341b)] 57 XCTest 0x0000000101def6d7 -[XCTestDriver runTestsAndReturnError:] + 456
[MJSONWP (0a60341b)] 58 XCTest 0x0000000101e7a6e4 _XCTestMain + 2484
[MJSONWP (0a60341b)] 59 WebDriverAgentRunner-Runner 0x0000000101b1fedd -[_XCTRunnerAppDelegate applicationWillResignActive:] + 0
[MJSONWP (0a60341b)] 60 WebDriverAgentRunner-Runner 0x0000000101b1fddb _XCTRunnerRunTests + 0
[MJSONWP (0a60341b)] 61 CoreFoundation 0x0000000102f37aec __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
[MJSONWP (0a60341b)] 62 CoreFoundation 0x0000000102f372b0 __CFRunLoopDoBlocks + 336
[MJSONWP (0a60341b)] 63 CoreFoundation 0x0000000102f31b34 __CFRunLoopRun + 1252
[MJSONWP (0a60341b)] 64 CoreFoundation 0x0000000102f31302 CFRunLoopRunSpecific + 626
[MJSONWP (0a60341b)] 65 GraphicsServices 0x000000010b57b2fe GSEventRunModal + 65
[MJSONWP (0a60341b)] 66 UIKitCore 0x00000001056fbba2 UIApplicationMain + 140
[MJSONWP (0a60341b)] 67 WebDriverAgentRunner-Runner 0x0000000101b20098 main + 183
[MJSONWP (0a60341b)] 68 libdyld.dylib 0x0000000107aa8541 start + 1
[MJSONWP (0a60341b)] )
[MJSONWP (0a60341b)] at errorFromMJSONWPStatusCode (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:789:10)
[MJSONWP (0a60341b)] at ProxyRequestError.errorFromMJSONWPStatusCode [as getActualError] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:683:14)
[MJSONWP (0a60341b)] at JWProxy.getActualError [as command] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/jsonwp-proxy/proxy.js:235:19)
[HTTP] <-- GET /wd/hub/session/0a60341b-746b-4098-b2c0-4b49c0613353/source 500 35 ms - 7648
[HTTP]
[WD Proxy] Got response with status 200: "{\n \"value\" : \"iVBORw0KGgoAAAANSUhEUgAABGUAAAmECAIAAAAjR0TuAAAAAXNSR0IArs4c6QAA\r\nABxpRE9UAAAAAgAAAAAAAATCAAAAKAAABMIAAATCAAFkOlKSMfcAAEAASURBVHgB\r\n7H0HnN1VmfYF3XXrt9\/uIpm5vfde5k5P752EZmNdbLQQUkhCDygCgqir210\/V0VR\r\nUIoISk1ICElIzyTTy+29Tm\/ne87\/P5kMbBaIZCKRd37Hy82de\/\/lueeM73Oe931e\r\nieRPJZKPSy7+xMc+Jrn4zyQf\/xvJn\/2Z5OKPS\/iLf\/oJyaUSiUMiWSiR3CiRfEvy\r\n8af\/XBaeYYxJLQm5LaV0YCQVdozJJ+I\/6ZEQIAQIAUKAECAECAFCgBAgBAiBDwMC\r\naYU9obSHtK4WrfMtmeHpv7jk2xLJBolksUTik0gqJJJPgPt8DONiieRPLpJ8Av\/8\r\n2EUXSz5xkeTPPya5SOBFF\/3Fn0jwW8nFfy35xF9ILv5LyUV\/JZH8X4lEIZHMkkju\r\nlil\/HZy50123T+9vt80EWYrLrLhz4kgfhq+froEQIAQIAUKAECAECAFCgBAgBN4F\r\ngazKid\/2KGztGnurwd1k9h40+3faql6omrXlb2c0SiRqieQSgTX9yUUXXyRIR5wl\r\ngUGBPfEX\/lQgS1CU\/uRj4FJ\/Ibz1kxIJPvmtS\/T77XNO6OubtMEOU3WXPtiudENZ\r\nwvkmyRL+Kb7yLpdIvyIECAFCgBAgBAgBQoAQIAQIAULgD4JARm7PIC1O5UhoPRG9\r\np1vv7dB5WrX+E9rgQUP96855\/6b21Aqs6f+CI10suegiqEsXgR7xcfHHQJwgLV0M\r\nsgSx6S8lkr+TSOQSyZV\/9bfP++edMM+OyWtSM7wJhSeqc...
[WD Proxy] Proxying [GET /window/size] to [GET http://localhost:8100/session/F5E18F9D-B736-415B-BBBE-6A6EDD553003/window/size] with no body
[MJSONWP (0a60341b)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABGUAAAmECAIAAAAjR0TuAAAAAXNSR0IArs4c6QAA\r\nABxpRE9UAAAAAgAAAAAAAATCAAAAKAAABMIAAATCAAFkOlKSMfcAAEAASURBVHgB\r\n7H0HnN1VmfYF3XXrt9/uIpm5vfde5k5P752EZmNdbLQQUkhCDygCgqir210/V0VR\r\nUIoISk1ICElIzyTTy+29Tm/ne87/P5kMbBaIZCKRd37Hy82de//lueeM73Oe931e\r\nieRPJZKPSy7+xMc+Jrn4zyQf/xvJn/2Z5OKPS/iLf/oJyaUSiUMiWSiR3CiRfEvy\r\n8af/XBaeYYxJLQm5LaV0YCQVdozJJ+I/6ZEQIAQIAUKAECAECAFCgBAgBAiBDwMC\r\naYU9obSHtK4WrfMtmeHpv7jk2xLJBolksUTik0gqJJJPgPt8DONiieRPLpJ8Av/8\r\n2EUXSz5xkeTPPya5SOBFF/3Fn0jwW8nFfy35xF9ILv5LyUV/JZH8X4lEIZHMkkju\r\nlil/HZy50123T+9vt80EWYrLrLhz4kgfhq+froEQIAQIAUKAECAECAFCgBAgBN4F\r\ngazKid/2KGztGnurwd1k9h40+3faql6omrXlb2c0SiRqieQSgTX9yUUXXyRIR5wl\r\ngUGBPfEX/lQgS1CU/uRj4FJ/Ibz1kxIJPvmtS/T77XNO6OubtMEOU3WXPtiudENZ\r\nwvkmyRL+Kb7yLpdIvyIECAFCgBAgBAgBQoAQIAQIAULgD4JARm7PIC1O5UhoPRG9\r\np1vv7dB5WrX+E9rgQUP96855/6b21Aqs6f+CI10suegiqEsXgR7xcfHHQJwgLV0M\r\nsgSx6S8lkr+TSOQSyZV/9bfP++edMM+OyWtSM7wJhSeqckcVrqTGB6ZEZOkP8k3T\r\nSQkBQoAQIAQIAUKAECAECAFC4GwRSFSYk5WWlNSalFnjCltU6Ygp3UmlNyHzZtR1\r\n...
[HTTP] <-- GET /wd/hub/session/0a60341b-746b-4098-b2c0-4b49c0613353/screenshot 200 146 ms - 219598
[HTTP]
[MJSONWP] Matched JSONWP error code 13 to UnknownError
[MJSONWP (0a60341b)]
[MJSONWP (0a60341b)] (
[MJSONWP (0a60341b)] 0 CoreFoundation 0x0000000102fd06fb __exceptionPreprocess + 331
[MJSONWP (0a60341b)] 1 libobjc.A.dylib 0x0000000102574ac5 objc_exception_throw + 48
[MJSONWP (0a60341b)] 2 CoreFoundation 0x0000000102feeab4 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
[MJSONWP (0a60341b)] 3 CoreFoundation 0x0000000102fd5443 ___forwarding___ + 1443
[MJSONWP (0a60341b)] 4 CoreFoundation 0x0000000102fd7238 _CF_forwarding_prep_0 + 120
[MJSONWP (0a60341b)] 5 WebDriverAgentLib 0x000000011a4b0354 -[XCUIElement(FBUtilities) fb_lastSnapshot] + 68
[MJSONWP (0a60341b)] 6 WebDriverAgentLib 0x000000011a4a79d1 -[XCUIElement(WebDriverAttributesForwarding) fb_snapshotForAttributeName:] + 785
[MJSONWP (0a60341b)] 7 WebDriverAgentLib 0x000000011a4a7c18 -[XCUIElement(WebDriverAttributesForwarding) forwardingTargetForSelector:] + 152
[MJSONWP (0a60341b)] 8 CoreFoundation 0x0000000102fd4f72 ___forwarding___ + 210
[MJSONWP (0a60341b)] 9 CoreFoundation 0x0000000102fd7338 __forwarding_prep_1___ + 120
[MJSONWP (0a60341b)] 10 WebDriverAgentLib 0x000000011a4ce2b0 +[FBElementCommands handleGetWindowSize:] + 176
[MJSONWP (0a60341b)] 11 WebDriverAgentLib 0x000000011a499796 -[FBRoute_TargetAction mountRequest:intoResponse:] + 182
[MJSONWP (0a60341b)] 12 WebDriverAgentLib 0x000000011a486b2b __37-[FBWebServer registerRouteHandlers:]_block_invoke + 555
[MJSONWP (0a60341b)] 13 RoutingHTTPServer 0x000000011a5e9a37 -[RoutingHTTPServer handleRoute:withRequest:response:] + 136
[MJSONWP (0a60341b)] 14 RoutingHTTPServer 0x000000011a5ea34a __72-[RoutingHTTPServer routeMethod:withPath:parameters:request:connection:]_block_invoke + 47
[MJSONWP (0a60341b)] 15 libdispatch.dylib 0x0000000107a3ad02 _dispatch_client_callout + 8
[MJSONWP (0a60341b)] 16 libdispatch.dylib 0x0000000107a476e8 _dispatch_async_and_wait_invoke + 109
[MJSONWP (0a60341b)] 17 libdispatch.dylib 0x0000000107a3ad02 _dispatch_client_callout + 8
[MJSONWP (0a60341b)] 18 libdispatch.dylib 0x0000000107a46a50 _dispatch_main_queue_callback_4CF + 1276
[MJSONWP (0a60341b)] 19 CoreFoundation 0x0000000102f378a9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
[MJSONWP (0a60341b)] 20 CoreFoundation 0x0000000102f31f56 __CFRunLoopRun + 2310
[MJSONWP (0a60341b)] 21 CoreFoundation 0x0000000102f31302 CFRunLoopRunSpecific + 626
[MJSONWP (0a60341b)] 22 Foundation 0x000000010203f044 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 277
[MJSONWP (0a60341b)] 23 WebDriverAgentLib 0x000000011a485450 -[FBWebServer startServing] + 368
[MJSONWP (0a60341b)] 24 WebDriverAgentRunner 0x000000011a471fba -[UITestingUITests testRunner] + 106
[MJSONWP (0a60341b)] 25 CoreFoundation 0x0000000102fd74cc __invoking___ + 140
[MJSONWP (0a60341b)] 26 CoreFoundation 0x0000000102fd4a45 -[NSInvocation invoke] + 325
[MJSONWP (0a60341b)] 27 XCTest 0x0000000101e11121 __24-[XCTestCase invokeTest]_block_invoke.208 + 78
[MJSONWP (0a60341b)] 28 XCTest 0x0000000101e6b1e2 -[XCTestCase(Failures) performFailableBlock:testCaseRun:shouldInterruptTest:] + 57
[MJSONWP (0a60341b)] 29 XCTest 0x0000000101e6b100 -[XCTestCase(Failures) _performTurningExceptionsIntoFailuresInterruptAfterHandling:block:] + 96
[MJSONWP (0a60341b)] 30 XCTest 0x0000000101e10c0a __24-[XCTestCase invokeTest]_block_invoke + 1153
[MJSONWP (0a60341b)] 31 XCTest 0x0000000101e72424 -[XCUITestContext performInScope:] + 117
[MJSONWP (0a60341b)] 32 XCTest 0x0000000101e106c6 -[XCTestCase testContextPerformInScope:] + 183
[MJSONWP (0a60341b)] 33 XCTest 0x0000000101e1077c -[XCTestCase invokeTest] + 137
[MJSONWP (0a60341b)] 34 XCTest 0x0000000101e124ed __26-[XCTestCase performTest:]_block_invoke_2 + 43
[MJSONWP (0a60341b)] 35 XCTest 0x0000000101e6b1e2 -[XCTestCase(Failures) performFailableBlock:testCaseRun:shouldInterruptTest:] + 57
[MJSONWP (0a60341b)] 36 XCTest 0x0000000101e6b100 -[XCTestCase(Failures) _performTurningExceptionsIntoFailuresInterruptAfterHandling:block:] + 96
[MJSONWP (0a60341b)] 37 XCTest 0x0000000101e12404 __26-[XCTestCase performTest:]_block_invoke.334 + 88
[MJSONWP (0a60341b)] 38 XCTest 0x0000000101e7e492 +[XCTContext runInContextForTestCase:block:] + 219
[MJSONWP (0a60341b)] 39 XCTest 0x0000000101e11b73 -[XCTestCase performTest:] + 668
[MJSONWP (0a60341b)] 40 XCTest 0x0000000101e57077 -[XCTest runTest] + 57
[MJSONWP (0a60341b)] 41 XCTest 0x0000000101e0c14a __27-[XCTestSuite performTest:]_block_invoke + 365
[MJSONWP (0a60341b)] 42 XCTest 0x0000000101e0b874 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 54
[MJSONWP (0a60341b)] 43 XCTest 0x0000000101e0bb71 -[XCTestSuite performTest:] + 355
[MJSONWP (0a60341b)] 44 XCTest 0x0000000101e57077 -[XCTest runTest] + 57
[MJSONWP (0a60341b)] 45 XCTest 0x0000000101e0c14a __27-[XCTestSuite performTest:]_block_invoke + 365
[MJSONWP (0a60341b)] 46 XCTest 0x0000000101e0b874 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 54
[MJSONWP (0a60341b)] 47 XCTest 0x0000000101e0bb71 -[XCTestSuite performTest:] + 355
[MJSONWP (0a60341b)] 48 XCTest 0x0000000101e57077 -[XCTest runTest] + 57
[MJSONWP (0a60341b)] 49 XCTest 0x0000000101e0c14a __27-[XCTestSuite performTest:]_block_invoke + 365
[MJSONWP (0a60341b)] 50 XCTest 0x0000000101e0b874 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 54
[MJSONWP (0a60341b)] 51 XCTest 0x0000000101e0bb71 -[XCTestSuite performTest:] + 355
[MJSONWP (0a60341b)] 52 XCTest 0x0000000101e57077 -[XCTest runTest] + 57
[MJSONWP (0a60341b)] 53 XCTest 0x0000000101e8d43e __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke + 171
[MJSONWP (0a60341b)] 54 XCTest 0x0000000101e8d541 __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke.84 + 118
[MJSONWP (0a60341b)] 55 XCTest 0x0000000101e25e83 -[XCTestObservationCenter _observeTestExecutionForBlock:] + 588
[MJSONWP (0a60341b)] 56 XCTest 0x0000000101e8d1fd -[XCTTestRunSession runTestsAndReturnError:] + 623
[MJSONWP (0a60341b)] 57 XCTest 0x0000000101def6d7 -[XCTestDriver runTestsAndReturnError:] + 456
[MJSONWP (0a60341b)] 58 XCTest 0x0000000101e7a6e4 _XCTestMain + 2484
[MJSONWP (0a60341b)] 59 WebDriverAgentRunner-Runner 0x0000000101b1fedd -[_XCTRunnerAppDelegate applicationWillResignActive:] + 0
[MJSONWP (0a60341b)] 60 WebDriverAgentRunner-Runner 0x0000000101b1fddb _XCTRunnerRunTests + 0
[MJSONWP (0a60341b)] 61 CoreFoundation 0x0000000102f37aec __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
[MJSONWP (0a60341b)] 62 CoreFoundation 0x0000000102f372b0 __CFRunLoopDoBlocks + 336
[MJSONWP (0a60341b)] 63 CoreFoundation 0x0000000102f31b34 __CFRunLoopRun + 1252
[MJSONWP (0a60341b)] 64 CoreFoundation 0x0000000102f31302 CFRunLoopRunSpecific + 626
[MJSONWP (0a60341b)] 65 GraphicsServices 0x000000010b57b2fe GSEventRunModal + 65
[MJSONWP (0a60341b)] 66 UIKitCore 0x00000001056fbba2 UIApplicationMain + 140
[MJSONWP (0a60341b)] 67 WebDriverAgentRunner-Runner 0x0000000101b20098 main + 183
[MJSONWP (0a60341b)] 68 libdyld.dylib 0x0000000107aa8541 start + 1
[MJSONWP (0a60341b)] )
[MJSONWP (0a60341b)] at errorFromMJSONWPStatusCode (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:789:10)
[MJSONWP (0a60341b)] at ProxyRequestError.errorFromMJSONWPStatusCode [as getActualError] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:683:14)
[MJSONWP (0a60341b)] at JWProxy.getActualError [as command] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/jsonwp-proxy/proxy.js:235:19)
[HTTP] <-- GET /wd/hub/session/0a60341b-746b-4098-b2c0-4b49c0613353/window/current/size 500 223 ms - 7617
[HTTP]

Yes, i executed this command, but don`t work.

What does this mean? There is an error on install? It won't run? Something else?

After that, i installed appium 1.14.0.

As I stated above, this will _never_ work. It will not be made to work.

I uploaded the Appium 1.15.0 screenshots above.

What I see is

Terminal with 1.15.0-rc.5

[Appium] Welcome to Appium v1.13.0
[Appium] Appium REST http interface listener started on 0.0.0.0:4723

This is _not_ 1.15.0-rc.5. I presume the image is not from it, either.

My appium desktop is v1.13.0
image

I copied the appium desktop log.

That is why I recommended as the only course of action, to install in the terminal and run there, and then connect using the "Custom Server" tab.

This allows you to connect to a more recent server, which is _necessary_ to automate iOS 13.

Is there any ETA on when a new appium server 1.15.0 will be integrated into the appium desktop app so that we do not need to run the separate custom server?

@imurchie I am facing the same issue.
I tried ur solution executed the command npm uninstall -g appium && npm install -g appium@rc now its showing latest appium version i.e. 1.15.0rc, after that I launched the Appium inspector>selected custom server> provided desired capabilities without adding any other advanced settings> start session.
Still infinite loading is appearing on appium inspector.
I have given logs below; please check

--

You'll want to go to Xcode Preferences and then open Components tab. There you can download iOS simulators you need (probably iOS 12 Simulator to start with).

Same problem
61569381053_ pic_hd

After using @imurchie command run Appium on terminal and then Launch appium desktop application

  • Change the port number 4724
  • Click on start server
  • Then Launch Appium Inspector
  • Click on Custom Server, In remote host enter "0.0.0.0" and in remote port "4723"
  • Then Start session.
    It will work.

Thanks guys, now it worked.

Step 1 - npm uninstall -g appium && npm install -g appium@rc
Step 2 - Open appium-desktop and Modify Port to 4724
Step 3 - Open the terminal and type "appium" without the quotes. The appium through the terminal will be started. You will now be able to use the terminal appium from the appium-desktop.
Step 4 - In appium-desktop you should click on Start sERVER V1.13.0
Step 5 - In the appium-desktop you must click on the magnifying glass.
Step 6 - In appium-desktop you must select the CUSTOM SERVER tab
Step 7 - In appium-desktop you must Select IOS.
Step 8 - In the appium-desktop you must click on Start Session.

image

We have the steps in readme https://github.com/appium/appium-desktop#connect-to-local-appium-server , too

@ajaykadian @herbert-soares-ifood Thannks for your suggestions, It is working now

same here

Captura de Tela 2019-09-27 às 14 43 18

@herbert-soares-ifood @ajaykadian thank u very much, now I can sleep well after 1 week in the suffering :), it is working now, and thank you all for ur suggestions

@KazuCocoa Should I update my WebDriverAgentRunner?!

Yes, but not only WebDriverAgentRunner but also xcuitest-driver bundled in Appium 1.15.0 modules for users. Thus, please use appium 1.15.0.

After using @imurchie command run Appium on terminal and then Launch appium desktop application

  • Change the port number 4724
  • Click on start server
  • Then Launch Appium Inspector
  • Click on Custom Server, In remote host enter "0.0.0.0" and in remote port "4723"
  • Then Start session.
    It will work.

I can confirm that this workaround works. Thanks!

Published https://github.com/appium/appium-desktop/releases/tag/v1.15.0
Please try out it... Thanks

VALEU MEU PATRONES! :)

Was this page helpful?
0 / 5 - 0 ratings