Skip to content
This repository was archived by the owner on Dec 26, 2019. It is now read-only.
This repository was archived by the owner on Dec 26, 2019. It is now read-only.

Does not work in IOS 12.1 #1130

@rhyspang

Description

@rhyspang

The WDA server starts with no error, status api return

{
  "value" : {
    "state" : "success",
    "os" : {
      "name" : "iOS",
      "version" : "12.1.2"
    },
    "ios" : {
      "simulatorVersion" : "12.1.2",
      "ip" : "192.168.199.117"
    },
    "build" : {
      "time" : "Jul 23 2019 00:02:53"
    }
  },
  "sessionId" : "0CEA2D34-9DBA-4020-9E3E-7683D2D4AEEA",
  "status" : 0
}

but inspector get empty page
image

I inspected the backend api, the detail is as follow

GET http://localhost:8100/wda/homescreen

{
  "value" : "Unhandled endpoint: \/wda\/homescreen -- http:\/\/localhost:8100\/ with parameters {\n    wildcards =     (\n        \"wda\/homescreen\"\n    );\n}",
  "sessionId" : "0CEA2D34-9DBA-4020-9E3E-7683D2D4AEEA",
  "status" : 1
}

GET http://localhost:8100/source?format=json

{
    "value"  :  "+[XCAXClient_iOS  sharedClient]:  unrecognized  selector  sent  to  class  0x104a8c130\n\n(\n\t0      CoreFoundation                                            0x00000001a7164edc  <redacted>  +  252\n\t1      libobjc.A.dylib                                          0x00000001a6335a40  objc_exception_throw  +  56\n\t2      CoreFoundation                                            0x00000001a7082ccc  <redacted>  +  0\n\t3      CoreFoundation                                            0x00000001a716a7dc  <redacted>  +  1412\n\t4      CoreFoundation                                            0x00000001a716c48c  _CF_forwarding_prep_0  +  92\n\t5      WebDriverAgentLib                                      0x00000001068e85a8  __37+[FBApplication  fb_activeApplication]_block_invoke  +  52\n\t6      WebDriverAgentLib                                      0x00000001068c16d8  -[FBRunLoopSpinner  spinUntilTrue:error:]  +  152\n\t7      WebDriverAgentLib                                      0x00000001068c1618  -[FBRunLoopSpinner  spinUntilTrue:]  +  84\n\t8      WebDriverAgentLib                                      0x00000001068e8308  +[FBApplication  fb_activeApplication]  +  128\n\t9      WebDriverAgentLib                                      0x00000001068cc82c  +[FBDebugCommands  handleGetSourceCommand:]  +  204\n\t10    WebDriverAgentLib                                      0x00000001068c00f8  -[FBRoute_TargetAction  mountRequest:intoResponse:]  +  220\n\t11    WebDriverAgentLib                                      0x00000001068b6598  __37-[FBWebServer  registerRouteHandlers:]_block_invoke  +  504\n\t12    RoutingHTTPServer                                      0x00000001069763cc  -[RoutingHTTPServer  handleRoute:withRequest:response:]  +  144\n\t13    RoutingHTTPServer                                      0x0000000106976b80  __72-[RoutingHTTPServer  routeMethod:withPath:parameters:request:connection:]_block_invoke  +  44\n\t14    libdispatch.dylib                                      0x00000001a6b9e484  <redacted>  +  16\n\t15    libdispatch.dylib                                      0x00000001a6b4b6a0  <redacted>  +  92\n\t16    libdispatch.dylib                                      0x00000001a6b9e484  <redacted>  +  16\n\t17    libdispatch.dylib                                      0x00000001a6b4a9a4  <redacted>  +  1068\n\t18    CoreFoundation                                            0x00000001a70f4df4  <redacted>  +  12\n\t19    CoreFoundation                                            0x00000001a70efcbc  <redacted>  +  1964\n\t20    CoreFoundation                                            0x00000001a70ef1f0  CFRunLoopRunSpecific  +  436\n\t21    Foundation                                                    0x00000001a7ae5494  <redacted>  +  300\n\t22    WebDriverAgentLib                                      0x00000001068b55a4  -[FBWebServer  startServing]  +  416\n\t23    WebDriverAgentRunner                                0x000000010689fbe8  -[UITestingUITests  testRunner]  +  124\n\t24    CoreFoundation                                            0x00000001a716c630  <redacted>  +  144\n\t25    CoreFoundation                                            0x00000001a704a450  <redacted>  +  292\n\t26    XCTest                                                            0x000000010498200c  __24-[XCTestCase  invokeTest]_block_invoke_2.200  +  68\n\t27    XCTest                                                            0x00000001049e9ef8  -[XCTMemoryChecker  _assertInvalidObjectsDeallocatedAfterScope:]  +  68\n\t28    XCTest                                                            0x000000010498a604  -[XCTestCase  assertInvalidObjectsDeallocatedAfterScope:]  +  112\n\t29    XCTest                                                            0x000000 0104981f98 __24-[XCTestCase invokeTest]_block_invoke.194 + 196\n\t30  XCTest                              0x00000001049d6ed4 -[XCTestCase(Failures) performFailableBlock:testCaseRun:shouldInterruptTest:] + 64\n\t31  XCTest                              0x00000001049d6dec -[XCTestCase(Failures) _performTurningExceptionsIntoFailuresInterruptAfterHandling:block:] + 108\n\t32  XCTest                              0x0000000104981bc8 __24-[XCTestCase invokeTest]_block_invoke + 808\n\t33  XCTest                              0x00000001049dce8c -[XCUITestContext performInScope:] + 144\n\t34  XCTest                              0x00000001049817cc -[XCTestCase testContextPerformInScope:] + 120\n\t35  XCTest                              0x000000010498188c -[XCTestCase invokeTest] + 140\n\t36  XCTest                              0x000000010498335c __26-[XCTestCase performTest:]_block_invoke_2 + 44\n\t37  XCTest                              0x00000001049d6ed4 -[XCTestCase(Failures) performFailableBlock:testCaseRun:shouldInterruptTest:] + 64\n\t38  XCTest                              0x00000001049d6dec -[XCTestCase(Failures) _performTurningExceptionsIntoFailuresInterruptAfterHandling:block:] + 108\n\t39  XCTest                              0x0000000104983274 __26-[XCTestCase performTest:]_block_invoke.324 + 96\n\t40  XCTest                              0x00000001049e7440 +[XCTContext runInContextForTestCase:block:] + 216\n\t41  XCTest                              0x0000000104982a2c -[XCTestCase performTest:] + 644\n\t42  XCTest                              0x00000001049c40e8 -[XCTest runTest] + 60\n\t43  XCTest                              0x000000010497d81c __27-[XCTestSuite performTest:]_block_invoke + 280\n\t44  XCTest                              0x000000010497d13c -[XCTestSuite _performProtectedSectionForTest:testSection:] + 68\n\t45  XCTest                              0x000000010497d3d8 -[XCTestSuite performTest:] + 276\n\t46  XCTest                              0x00000001049c40e8 -[XCTest runTest] + 60\n\t47  XCTest                              0x000000010497d81c __27-[XCTestSuite performTest:]_block_invoke + 280\n\t48  XCTest                              0x000000010497d13c -[XCTestSuite _performProtectedSectionForTest:testSection:] + 68\n\t49  XCTest                              0x000000010497d3d8 -[XCTestSuite performTest:] + 276\n\t50  XCTest                              0x00000001049c40e8 -[XCTest runTest] + 60\n\t51  XCTest                              0x000000010497d81c __27-[XCTestSuite performTest:]_block_invoke + 280\n\t52  XCTest                              0x000000010497d13c -[XCTestSuite _performProtectedSectionForTest:testSection:] + 68\n\t53  XCTest                              0x000000010497d3d8 -[XCTestSuite performTest:] + 276\n\t54  XCTest                              0x00000001049c40e8 -[XCTest runTest] + 60\n\t55  XCTest                              0x00000001049f46a8 __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke + 176\n\t56  XCTest                              0x00000001049f4778 __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke.80 + 60\n\t57  XCTest                              0x00000001049946d0 -[XCTestObservationCenter _observeTestExecutionForBlock:] + 516\n\t58  XCTest                              0x00000001049f4464 -[XCTTestRunSession runTestsAndReturnError:] + 596\n\t59  XCTest                              0x0000000104962704 -[XCTestDriver runTestsAndReturnError:] + 436\n\t60  XCTest                              0x00000001049e38c0 _XCTestMain + 2248\n\t61  WebDriverAgentRunner-Runner         0x0000000104523b60 -[_XCTRunnerAppDelegate applicationWillResignActive:] + 0\n\t62  WebDriverAgentRunner-Runner         0x0000000104523a68 _XCTRunnerRunTests + 0\n\t63  CoreFoundation                      0x00000001a70f5040 <redacted> + 20\n\t64  CoreFoundation                      0x00000001a70f4940 <redacted> + 272\n\t65  CoreFoundation                      0x00000001a70ef934 <redacted> + 1060\n\t66  CoreFoundation                      0x00000001a70ef1f0 CFRunLoopRunSpecific + 436\n\t67  GraphicsServices                    0x00000001a9368584 GSEventRunModal + 100\n\t68  UIKitCore                           0x00000001d447ad40 UIApplicationMain + 212\n\t69  WebDriverAgentRunner-Runner         0x0000000104523d3c main + 192\n\t70  libdyld.dylib                       0x00000001a6baebb4 <redacted> + 4\n)",
  "sessionId" : "0CEA2D34-9DBA-4020-9E3E-7683D2D4AEEA",
  "status" : 13
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions