问题一:
编译 WDA 后,访问 inspector ,界面是一片空白
问题二:
没有解决上面的问题,运行 appium 之后发现一直在不断重启 app
有大神遇到类似的问题可以解答一下吗?
贴日志,不能让人猜啊
这是编译 WDA 的日志
2019-11-19 11:11:22.869468+0800 WebDriverAgentRunner-Runner[884:444124] Running tests...
2019-11-19 11:11:23.363392+0800 WebDriverAgentRunner-Runner[884:444124] Continuing to run tests in the background with task ID 1
Test Suite 'All tests' started at 2019-11-19 11:11:24.002
Test Suite 'WebDriverAgentRunner.xctest' started at 2019-11-19 11:11:24.002
Test Suite 'UITestingUITests' started at 2019-11-19 11:11:24.003
Test Case '-[UITestingUITests testRunner]' started.
t = 0.00s Start Test at 2019-11-19 11:11:24.003
t = 0.00s Set Up
2019-11-19 11:11:24.008662+0800 WebDriverAgentRunner-Runner[884:444124] Built at Nov 14 2019 19:03:14
2019-11-19 11:11:24.023604+0800 WebDriverAgentRunner-Runner[884:444124] ServerURLHere->http://10.2.13.199:8100<-ServerURLHere
2019-11-19 11:12:17.450194+0800 WebDriverAgentRunner-Runner[884:444124] +[XCAXClient_iOS sharedClient]: unrecognized selector sent to class 0x1002cc130
2019-11-19 11:12:17.499308+0800 WebDriverAgentRunner-Runner[884:444124] +[XCAXClient_iOS sharedClient]: unrecognized selector sent to class 0x1002cc130
2019-11-19 11:12:51.933443+0800 WebDriverAgentRunner-Runner[884:444124] +[XCAXClient_iOS sharedClient]: unrecognized selector sent to class 0x1002cc130
2019-11-19 11:12:51.966786+0800 WebDriverAgentRunner-Runner[884:444124] +[XCAXClient_iOS sharedClient]: unrecognized selector sent to class 0x1002cc130
2019-11-19 11:12:53.185503+0800 WebDriverAgentRunner-Runner[884:444124] +[XCAXClient_iOS sharedClient]: unrecognized selector sent to class 0x1002cc130
2019-11-19 11:12:53.206650+0800 WebDriverAgentRunner-Runner[884:444124] +[XCAXClient_iOS sharedClient]: unrecognized selector sent to class 0x1002cc130
appium 日志:
[XCUITest] 4 CoreFoundation 0x000000018b4cad4c _CF_forwarding_prep_0 + 92
[XCUITest] 5 WebDriverAgentLib 0x0000000106ff02a4 __37+[FBApplication fb_activeApplication]_block_invoke + 52
[XCUITest] 6 WebDriverAgentLib 0x0000000106fc93d4 -[FBRunLoopSpinner spinUntilTrue:error:] + 152
[XCUITest] 7 WebDriverAgentLib 0x0000000106fc9314 -[FBRunLoopSpinner spinUntilTrue:] + 84
[XCUITest] 8 WebDriverAgentLib 0x0000000106ff0004 +[FBApplication fb_activeApplication] + 128
[XCUITest] 9 WebDriverAgentLib 0x0000000106fdba48 -[FBSession application] + 332
[XCUITest] 10 WebDriverAgentLib 0x0000000106fe2818 +[FBSessionCommands currentCapabilities] + 124
[XCUITest] 11 WebDriverAgentLib 0x0000000106fe26d4 +[FBSessionCommands sessionInformation] + 288
[XCUITest] 12 WebDriverAgentLib 0x0000000106fe1d0c +[FBSessionCommands handleCreateSession:] + 1404
[XCUITest] 13 WebDriverAgentLib 0x0000000106fc7df4 -[FBRoute_TargetAction mountRequest:intoResponse:] + 220
[XCUITest] 14 WebDriverAgentLib 0x0000000106fbe294 __37-[FBWebServer registerRouteHandlers:]_block_invoke + 504
[XCUITest] 15 RoutingHTTPServer 0x000000010707e3cc -[RoutingHTTPServer handleRoute:withRequest:response:] + 144
[XCUITest] 16 RoutingHTTPServer 0x000000010707eb80 __72-[RoutingHTTPServer routeMethod:withPath:parameters:request:connection:]_block_invoke + 44
[XCUITest] 17 libdispatch.dylib 0x000000018a4829a0 + 16
[XCUITest] 18 libdispatch.dylib 0x000000018a4937a8 + 304
[XCUITest] 19 libdispatch.dylib 0x000000018a4829a0 + 16
[XCUITest] 20 libdispatch.dylib 0x000000018a4875e8 _dispatch_main_queue_callback_4CF + 996
[XCUITest] 21 CoreFoundation 0x000000018b5790c8 + 12
[XCUITest] 22 CoreFoundation 0x000000018b576ce4 + 1572
[XCUITest] 23 CoreFoundation 0x000000018b4a6da4 CFRunLoopRunSpecific + 424
[XCUITest] 24 Foundation 0x000000018bfc0d74 + 304
[XCUITest] 25 WebDriverAgentLib 0x0000000106fbd2a0 -[FBWebServer startServing] + 416
[XCUITest] 26 WebDriverAgentRunner 0x0000000106fa7be8 -[UITestingUITests testRunner] + 124
[XCUITest] 27 CoreFoundation 0x000000018b5d0e80 + 144
[XCUITest] 28 CoreFoundation 0x000000018b4c62c4 + 292
[XCUITest] 29 XCTest 0x00000001001c200c __24-[XCTestCase invokeTest]_block_invoke_2.200 + 68
[XCUITest] 30 XCTest 0x0000000100229ef8 -[XCTMemoryChecker _assertInvalidObjectsDeallocatedAfterScope:] + 68
[XCUITest] 31 XCTest 0x00000001001ca604 -[XCTestCase assertInvalidObjectsDeallocatedAfterScope:] + 112
[XCUITest] 32 XCTest 0x00000001001c1f98 __24-[XCTestCase invokeTest]_block_invoke.194 + 196
[XCUITest] 33 XCTest 0x0000000100216ed4 -[XCTestCase(Failures) performFailableBlock:testCaseRun:shouldInterruptTest:] + 64
[XCUITest] 34 XCTest 0x0000000100216dec -[XCTestCase(Failures) _performTurningExceptionsIntoFailuresInterruptAfterHandling:block:] + 108
[XCUITest] 35 XCTest 0x00000001001c1bc8 __24-[XCTestCase invokeTest]_block_invoke + 808
[XCUITest] 36 XCTest 0x000000010021ce8c -[XCUITestContext performInScope:] + 144
[XCUITest] 37 XCTest 0x00000001001c17cc -[XCTestCase testContextPerformInScope:] + 120
[XCUITest] 38 XCTest 0x00000001001c188c -[XCTestCase invokeTest] + 140
[XCUITest] 39 XCTest 0x00000001001c335c __26-[XCTestCase performTest:]_block_invoke_2 + 44
[XCUITest] 40 XCTest 0x0000000100216ed4 -[XCTestCase(Failures) performFailableBlock:testCaseRun:shouldInterruptTest:] + 64
[XCUITest] 41 XCTest 0x0000000100216dec -[XCTestCase(Failures) _performTurningExceptionsIntoFailuresInterruptAfterHandling:block:] + 108
[XCUITest] 42 XCTest 0x00000001001c3274 __26-[XCTestCase performTest:]_block_invoke.324 + 96
[XCUITest] 43 XCTest 0x0000000100227440 +[XCTContext runInContextForTestCase:block:] + 216
[XCUITest] 44 XCTest 0x00000001001c2a2c -[XCTestCase performTest:] + 644
[XCUITest] 45 XCTest 0x00000001002040e8 -[XCTest runTest] + 60
[XCUITest] 46 XCTest 0x00000001001bd81c __27-[XCTestSuite performTest:]_block_invoke + 280
[XCUITest] 47 XCTest 0x00000001001bd13c -[XCTestSuite _performProtectedSectionForTest:testSection:] + 68
[XCUITest] 48 XCTest 0x00000001001bd3d8 -[XCTestSuite performTest:] + 276
[XCUITest] 49 XCTest 0x00000001002040e8 -[XCTest runTest] + 60
[XCUITest] 50 XCTest 0x00000001001bd81c __27-[XCTestSuite performTest:]_block_invoke + 280
[XCUITest] 51 XCTest 0x00000001001bd13c -[XCTestSuite _performProtectedSectionForTest:testSection:] + 68
[XCUITest] 52 XCTest 0x00000001001bd3d8 -[XCTestSuite performTest:] + 276
[XCUITest] 53 XCTest 0x00000001002040e8 -[XCTest runTest] + 60
[XCUITest] 54 XCTest 0x00000001001bd81c __27-[XCTestSuite performTest:]_block_invoke + 280
[XCUITest] 55 XCTest 0x00000001001bd13c -[XCTestSuite _performProtectedSectionForTest:testSection:] + 68
[XCUITest] 56 XCTest 0x00000001001bd3d8 -[XCTestSuite performTest:] + 276
[XCUITest] 57 XCTest 0x00000001002040e8 -[XCTest runTest] + 60
[XCUITest] 58 XCTest 0x00000001002346a8 __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke + 176
[XCUITest] 59 XCTest 0x0000000100234778 __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke.80 + 60
[XCUITest] 60 XCTest 0x00000001001d46d0 -[XCTestObservationCenter _observeTestExecutionForBlock:] + 516
[XCUITest] 61 XCTest 0x0000000100234464 -[XCTTestRunSession runTestsAndReturnError:] + 596
[XCUITest] 62 XCTest 0x00000001001a2704 -[XCTestDriver runTestsAndReturnError:] + 436
[XCUITest] 63 XCTest 0x00000001002238c0 _XCTestMain + 2248
[XCUITest] 64 WebDriverAgentRunner-Runner 0x000000010006bb60 -[_XCTRunnerAppDelegate applicationWillResignActive:] + 0
[XCUITest] 65 WebDriverAgentRunner-Runner 0x000000010006ba68 _XCTRunnerRunTests + 0
[XCUITest] 66 CoreFoundation 0x000000018b57930c + 20
[XCUITest] 67 CoreFoundation 0x000000018b578b28 + 288
[XCUITest] 68 CoreFoundation 0x000000018b576998 + 728
[XCUITest] 69 CoreFoundation 0x000000018b4a6da4 CFRunLoopRunSpecific + 424
[XCUITest] 70 GraphicsServices 0x000000018cf10074 GSEventRunModal + 100
[XCUITest] 71 UIKit 0x0000000191761058 UIApplicationMain + 208
[XCUITest] 72 WebDriverAgentRunner-Runner 0x000000010006bd3c main + 192
[XCUITest] 73 libdyld.dylib 0x000000018a4b559c + 4
[XCUITest] )). Retrying...
[BaseDriver] Event 'wdaSessionAttempted' logged at 1574133711090 (11:21:51 GMT+0800 (CST))
[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":"com.fenbi.solarinhouse","arguments":[],"environment":{},"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}}
[WD Proxy] Got response with status 200: {"value":"+[XCAXClient_iOS sharedClient]: unrecognized selector sent to class 0x1002cc130\n\n(\n\t0 CoreFoundation 0x000000018b5caff8 + 148\n\t1 libobjc.A.dylib 0x000000018a02c538 objc_exception_throw + 56\n\t2 CoreFoundation 0x000000018b5d1e34 + 0\n\t3 CoreFoundation 0x000000018b5cef54 + 916\n\t4 CoreFoundation 0x000000018b4cad4c _CF_forwarding_prep_0 + 92\n\t5 WebDriverAgentLib 0x0000000106ff02a4 __37+[FBApplication fb_activeApplication]_block_invoke + 52\n\t6 WebDriverAgentLib 0x0000000106fc93d4 -[FBRunLoopSpinner spinUntilTrue:error:] + 152\n\t7 WebDriverAgentLib 0x0000000106fc9314 -[FBRunLoopSpinner spinUntilTrue:] + 84\n\t8 WebDriverAgentLib 0x0000000106ff0004 +[FBApplication fb_activeApplication] + 128\n\t9 WebDriverAgentLib 0x0000000106fdba48 -[FBSession a...
[WD Proxy] Got an unexpected response: {"value":"+[XCAXClient_iOS sharedClient]: unrecognized selector sent to class 0x1002cc130\n\n(\n\t0 CoreFoundation 0x000000018b5caff8 + 148\n\t1 libobjc.A.dylib 0x000000018a02c538 objc_exception_throw + 56\n\t2 CoreFoundation ...
[MJSONWP] Matched JSONWP error code 13 to UnknownError
[XCUITest] Failed to create WDA session (An unknown server-side error occurred while processing the command. Original error: +[XCAXClient_iOS sharedClient]: unrecognized selector sent to class 0x1002cc130
[XCUITest]
XCUITest). Retrying...
[BaseDriver] Event 'wdaSessionAttempted' logged at 1574133715720 (11:21:55 GMT+0800 (CST))
[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":"com.fenbi.solarinhouse","arguments":[],"environment":{},"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}}
[WD Proxy] Got response with status 200: {"value":"+[XCAXClient_iOS sharedClient]: unrecognized selector sent to class 0x1002cc130\n\n(\n\t0 CoreFoundation 0x000000018b5caff8 + 148\n\t1 libobjc.A.dylib 0x000000018a02c538 objc_exception_throw + 56\n\t2 CoreFoundation 0x000000018b5d1e34 + 0\n\t3 CoreFoundation 0x000000018b5cef54 + 916\n\t4 CoreFoundation 0x000000018b4cad4c _CF_forwarding_prep_0 + 92\n\t5 WebDriverAgentLib 0x0000000106ff02a4 __37+[FBApplication fb_activeApplication]_block_invoke + 52\n\t6 WebDriverAgentLib 0x0000000106fc93d4 -[FBRunLoopSpinner spinUntilTrue:error:] + 152\n\t7 WebDriverAgentLib 0x0000000106fc9314 -[FBRunLoopSpinner spinUntilTrue:] + 84\n\t8 WebDriverAgentLib 0x0000000106ff0004 +[FBApplication fb_activeApplication] + 128\n\t9 WebDriverAgentLib 0x0000000106fdba48 -[FBSession a...
[WD Proxy] Got an unexpected response: {"value":"+[XCAXClient_iOS sharedClient]: unrecognized selector sent to class 0x1002cc130\n\n(\n\t0 CoreFoundation 0x000000018b5caff8 + 148\n\t1 libobjc.A.dylib 0x000000018a02c538 objc_exception_throw + 56\n\t2 CoreFoundation ...
[MJSONWP] Matched JSONWP error code 13 to UnknownError
[XCUITest] Failed to create WDA session (An unknown server-side error occurred while processing the command. Original error: +[XCAXClient_iOS sharedClient]: unrecognized selector sent to class 0x1002cc130
[XCUITest]
XCUITest). Retrying...
[BaseDriver] Event 'wdaSessionAttempted' logged at 1574133720227 (11:22:00 GMT+0800 (CST))
[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":"com.fenbi.solarinhouse","arguments":[],"environment":{},"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}}
[WD Proxy] Got response with status 200: {"value":"+[XCAXClient_iOS sharedClient]: unrecognized selector sent to class 0x1002cc130\n\n(\n\t0 CoreFoundation 0x000000018b5caff8 + 148\n\t1 libobjc.A.dylib 0x000000018a02c538 objc_exception_throw + 56\n\t2 CoreFoundation 0x000000018b5d1e34 + 0\n\t3 CoreFoundation 0x000000018b5cef54 + 916\n\t4 CoreFoundation 0x000000018b4cad4c _CF_forwarding_prep_0 + 92\n\t5 WebDriverAgentLib 0x0000000106ff02a4 __37+[FBApplication fb_activeApplication]_block_invoke + 52\n\t6 WebDriverAgentLib 0x0000000106fc93d4 -[FBRunLoopSpinner spinUntilTrue:error:] + 152\n\t7 WebDriverAgentLib 0x0000000106fc9314 -[FBRunLoopSpinner spinUntilTrue:] + 84\n\t8 WebDriverAgentLib 0x0000000106ff0004 +[FBApplication fb_activeApplication] + 128\n\t9 WebDriverAgentLib 0x0000000106fdba48 -[FBSession a...
[WD Proxy] Got an unexpected response: {"value":"+[XCAXClient_iOS sharedClient]: unrecognized selector sent to class 0x1002cc130\n\n(\n\t0 CoreFoundation 0x000000018b5caff8 + 148\n\t1 libobjc.A.dylib 0x000000018a02c538 objc_exception_throw + 56\n\t2 CoreFoundation ...
[MJSONWP] Matched JSONWP error code 13 to UnknownError
[XCUITest] Failed to create WDA session (An unknown server-side error occurred while processing the command. Original error: +[XCAXClient_iOS sharedClient]: unrecognized selector sent to class 0x1002cc130
[XCUITest]
XCUITest). Retrying...
[BaseDriver] Event 'wdaSessionAttempted' logged at 1574133724824 (11:22:04 GMT+0800 (CST))
[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":"com.fenbi.solarinhouse","arguments":[],"environment":{},"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}}
[WD Proxy] Got response with status 200: {"value":"+[XCAXClient_iOS sharedClient]: unrecognized selector sent to class 0x1002cc130\n\n(\n\t0 CoreFoundation 0x000000018b5caff8 + 148\n\t1 libobjc.A.dylib 0x000000018a02c538 objc_exception_throw + 56\n\t2 CoreFoundation 0x000000018b5d1e34 + 0\n\t3 CoreFoundation 0x000000018b5cef54 + 916\n\t4 CoreFoundation 0x000000018b4cad4c _CF_forwarding_prep_0 + 92\n\t5 WebDriverAgentLib 0x0000000106ff02a4 __37+[FBApplication fb_activeApplication]_block_invoke + 52\n\t6 WebDriverAgentLib 0x0000000106fc93d4 -[FBRunLoopSpinner spinUntilTrue:error:] + 152\n\t7 WebDriverAgentLib 0x0000000106fc9314 -[FBRunLoopSpinner spinUntilTrue:] + 84\n\t8 WebDriverAgentLib 0x0000000106ff0004 +[FBApplication fb_activeApplication] + 128\n\t9 WebDriverAgentLib 0x0000000106fdba48 -[FBSession a...
[WD Proxy] Got an unexpected response: {"value":"+[XCAXClient_iOS sharedClient]: unrecognized selector sent to class 0x1002cc130\n\n(\n\t0 CoreFoundation 0x000000018b5caff8 + 148\n\t1 libobjc.A.dylib 0x000000018a02c538 objc_exception_throw + 56\n\t2 CoreFoundation ...
[MJSONWP] Matched JSONWP error code 13 to UnknownError
[XCUITest] Failed to create WDA session (An unknown server-side error occurred while processing the command. Original error: +[XCAXClient_iOS sharedClient]: unrecognized selector sent to class 0x1002cc130
[XCUITest]
XCUITest). Retrying...
[BaseDriver] Event 'wdaSessionAttempted' logged at 1574133729343 (11:22:09 GMT+0800 (CST))
[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":"com.fenbi.solarinhouse","arguments":[],"environment":{},"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}}
[WD Proxy] Got response with status 200: {"value":"+[XCAXClient_iOS sharedClient]: unrecognized selector sent to class 0x1002cc130\n\n(\n\t0 CoreFoundation 0x000000018b5caff8 + 148\n\t1 libobjc.A.dylib 0x000000018a02c538 objc_exception_throw + 56\n\t2 CoreFoundation 0x000000018b5d1e34 + 0\n\t3 CoreFoundation 0x000000018b5cef54 + 916\n\t4 CoreFoundation 0x000000018b4cad4c _CF_forwarding_prep_0 + 92\n\t5 WebDriverAgentLib 0x0000000106ff02a4 __37+[FBApplication fb_activeApplication]_block_invoke + 52\n\t6 WebDriverAgentLib 0x0000000106fc93d4 -[FBRunLoopSpinner spinUntilTrue:error:] + 152\n\t7 WebDriverAgentLib 0x0000000106fc9314 -[FBRunLoopSpinner spinUntilTrue:] + 84\n\t8 WebDriverAgentLib 0x0000000106ff0004 +[FBApplication fb_activeApplication] + 128\n\t9 WebDriverAgentLib 0x0000000106fdba48 -[FBSession a...
[WD Proxy] Got an unexpected response: {"value":"+[XCAXClient_iOS sharedClient]: unrecognized selector sent to class 0x1002cc130\n\n(\n\t0 CoreFoundation 0x000000018b5caff8 + 148\n\t1 libobjc.A.dylib 0x000000018a02c538 objc_exception_throw + 56\n\t2 CoreFoundation ...
[MJSONWP] Matched JSONWP error code 13 to UnknownError
[XCUITest] Failed to create WDA session (An unknown server-side error occurred while processing the command. Original error: +[XCAXClient_iOS sharedClient]: unrecognized selector sent to class 0x1002cc130
[XCUITest]
XCUITest). Retrying...
[BaseDriver] Event 'wdaSessionAttempted' logged at 1574133733902 (11:22:13 GMT+0800 (CST))
[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":"com.fenbi.solarinhouse","arguments":[],"environment":{},"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}}
[WD Proxy] Got response with status 200: {"value":"+[XCAXClient_iOS sharedClient]: unrecognized selector sent to class 0x1002cc130\n\n(\n\t0 CoreFoundation 0x000000018b5caff8 + 148\n\t1 libobjc.A.dylib 0x000000018a02c538 objc_exception_throw + 56\n\t2 CoreFoundation 0x000000018b5d1e34 + 0\n\t3 CoreFoundation 0x000000018b5cef54 + 916\n\t4 CoreFoundation 0x000000018b4cad4c _CF_forwarding_prep_0 + 92\n\t5 WebDriverAgentLib 0x0000000106ff02a4 __37+[FBApplication fb_activeApplication]_block_invoke + 52\n\t6 WebDriverAgentLib 0x0000000106fc93d4 -[FBRunLoopSpinner spinUntilTrue:error:] + 152\n\t7 WebDriverAgentLib 0x0000000106fc9314 -[FBRunLoopSpinner spinUntilTrue:] + 84\n\t8 WebDriverAgentLib 0x0000000106ff0004 +[FBApplication fb_activeApplication] + 128\n\t9 WebDriverAgentLib 0x0000000106fdba48 -[FBSession a...
[WD Proxy] Got an unexpected response: {"value":"+[XCAXClient_iOS sharedClient]: unrecognized selector sent to class 0x1002cc130\n\n(\n\t0 CoreFoundation 0x000000018b5caff8 + 148\n\t1 libobjc.A.dylib 0x000000018a02c538 objc_exception_throw + 56\n\t2 CoreFoundation ...
[MJSONWP] Matched JSONWP error code 13 to UnknownError
[XCUITest] Failed to create WDA session (An unknown server-side error occurred while processing the command. Original error: +[XCAXClient_iOS sharedClient]: unrecognized selector sent to class 0x1002cc130
[XCUITest]
XCUITest). Retrying...
[BaseDriver] Event 'wdaSessionAttempted' logged at 1574133738537 (11:22:18 GMT+0800 (CST))
[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":"com.fenbi.solarinhouse","arguments":[],"environment":{},"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}}
[WD Proxy] Got response with status 200: {"value":"+[XCAXClient_iOS sharedClient]: unrecognized selector sent to class 0x1002cc130\n\n(\n\t0 CoreFoundation 0x000000018b5caff8 + 148\n\t1 libobjc.A.dylib 0x000000018a02c538 objc_exception_throw + 56\n\t2 CoreFoundation 0x000000018b5d1e34 + 0\n\t3 CoreFoundation 0x000000018b5cef54 + 916\n\t4 CoreFoundation 0x000000018b4cad4c _CF_forwarding_prep_0 + 92\n\t5 WebDriverAgentLib 0x0000000106ff02a4 __37+[FBApplication fb_activeApplication]_block_invoke + 52\n\t6 WebDriverAgentLib 0x0000000106fc93d4 -[FBRunLoopSpinner spinUntilTrue:error:] + 152\n\t7 WebDriverAgentLib 0x0000000106fc9314 -[FBRunLoopSpinner spinUntilTrue:] + 84\n\t8 WebDriverAgentLib 0x0000000106ff0004 +[FBApplication fb_activeApplication] + 128\n\t9 WebDriverAgentLib 0x0000000106fdba48 -[FBSession a...
[WD Proxy] Got an unexpected response: {"value":"+[XCAXClient_iOS sharedClient]: unrecognized selector sent to class 0x1002cc130\n\n(\n\t0 CoreFoundation 0x000000018b5caff8 + 148\n\t1 libobjc.A.dylib 0x000000018a02c538 objc_exception_throw + 56\n\t2 CoreFoundation ...
[MJSONWP] Matched JSONWP error code 13 to UnknownError
[XCUITest] Failed to create WDA session (An unknown server-side error occurred while processing the command. Original error: +[XCAXClient_iOS sharedClient]: unrecognized selector sent to class 0x1002cc130
[XCUITest]
XCUITest). Retrying...
[BaseDriver] Event 'wdaSessionAttempted' logged at 1574133743227 (11:22:23 GMT+0800 (CST))
[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":"com.fenbi.solarinhouse","arguments":[],"environment":{},"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}}
[WD Proxy] Got response with status 200: {"value":"+[XCAXClient_iOS sharedClient]: unrecognized selector sent to class 0x1002cc130\n\n(\n\t0 CoreFoundation 0x000000018b5caff8 + 148\n\t1 libobjc.A.dylib 0x000000018a02c538 objc_exception_throw + 56\n\t2 CoreFoundation 0x000000018b5d1e34 + 0\n\t3 CoreFoundation 0x000000018b5cef54 + 916\n\t4 CoreFoundation 0x000000018b4cad4c _CF_forwarding_prep_0 + 92\n\t5 WebDriverAgentLib 0x0000000106ff02a4 __37+[FBApplication fb_activeApplication]_block_invoke + 52\n\t6 WebDriverAgentLib 0x0000000106fc93d4 -[FBRunLoopSpinner spinUntilTrue:error:] + 152\n\t7 WebDriverAgentLib 0x0000000106fc9314 -[FBRunLoopSpinner spinUntilTrue:] + 84\n\t8 WebDriverAgentLib 0x0000000106ff0004 +[FBApplication fb_activeApplication] + 128\n\t9 WebDriverAgentLib 0x0000000106fdba48 -[FBSession a...
[WD Proxy] Got an unexpected response: {"value":"+[XCAXClient_iOS sharedClient]: unrecognized selector sent to class 0x1002cc130\n\n(\n\t0 CoreFoundation 0x000000018b5caff8 + 148\n\t1 libobjc.A.dylib 0x000000018a02c538 objc_exception_throw + 56\n\t2 CoreFoundation ...
[MJSONWP] Matched JSONWP error code 13 to UnknownError
[XCUITest] Failed to create WDA session (An unknown server-side error occurred while processing the command. Original error: +[XCAXClient_iOS sharedClient]: unrecognized selector sent to class 0x1002cc130
[XCUITest]
XCUITest). Retrying...
[XCUITest] Unable to start WebDriverAgent session because of xcodebuild failure: An unknown server-side error occurred while processing the command. Original error: +[XCAXClient_iOS sharedClient]: unrecognized selector sent to class 0x1002cc130
[XCUITest]
XCUITest Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[XCUITest] Quitting and uninstalling WebDriverAgent, then retrying
[XCUITest] Shutting down sub-processes
[XCUITest] Removing WDA application from device
[XCUITest] Error: Unable to start WebDriverAgent session because of xcodebuild failure: An unknown server-side error occurred while processing the command. Original error: +[XCAXClient_iOS sharedClient]: unrecognized selector sent to class 0x1002cc130
[XCUITest]
XCUITest Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[XCUITest] at quitAndUninstall (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:476:13)
[XCUITest] Not clearing log files. Use clearSystemFiles
capability to turn on.
[iOSLog] Stopping iOS log capture
[BaseDriver] Event 'newSessionStarted' logged at 1574133747300 (11:22:27 GMT+0800 (CST))
[MJSONWP] Encountered internal error running command: Error: Unable to start WebDriverAgent session because of xcodebuild failure: An unknown server-side error occurred while processing the command. Original error: +[XCAXClient_iOS sharedClient]: unrecognized selector sent to class 0x1002cc130
[MJSONWP]
MJSONWP Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[MJSONWP] at quitAndUninstall (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:476:13)
[HTTP] <-- POST /wd/hub/session 500 71731 ms - 8255
[HTTP]
[HTTP] --> DELETE /wd/hub/session
[HTTP] {}
[HTTP] No route found. Setting content type to 'text/plain'
[HTTP] <-- DELETE /wd/hub/session 404 7 ms - 57
[HTTP]
在编译 WDA 的时候,WDALib 那里总是显示 Dont code sign
但是子啊 WDARunner 那里就有签名证书,头大
感觉上是 Appium 和 wda 版本匹配不上了,依赖出现了问题,手动把手机里的删了,用 Appium 自带的 wda 编译吧 。
下载了 appium 的 WDA 还是不行,app 都不会启动
appium 是什么版本?
从 [1] 提示中看,你用的是 xcode 至少是 xcode10.2 版本,而你调试用的 WDA 估计是从 facebook 废弃的 WDA 仓库里下载的或者是旧版的 Appium,由于缺少维护,从 Xcode10.2 开始已不适用,主要是 Apple 从 Xcode10.2 版本开始废弃 XCAXClient_iOS 类。 仍然想用当前版本 WDA 可以尝试把 Xcode 降为 10.1 版本,或者直接更新 Appium 版本使用最新 WDA,如果还有问题可以列出日志和提供 xcode 版本信息,以便更好的排查问题
[1]+[XCAXClient_iOS sharedClient]: unrecognized selector sent to class 0x1002cc130\n\n(\n\t0 CoreFoundation 0x000000018b5caff8 + 148\n\t1 libobjc.A.dylib
我也遇到了跟 lz 一样的问题,请问解决了吗?找了很多都没有找到解决方法
我刚刚弄好。
我的解决方法是:
遇到的一个很坑的地方:
我的电脑上装了 appium server 和 appium desktop 。
我替换的位置是 appium desktop 中 WDA 的位置,但是我却是在终端启动的 appium,所以我还一直以为有问题。
然后突然想到,在 appium desktop 启动了 appium, 就正常了。
没想到第一步就这么艰难
WDA 运行过程中,此应用会被删除或进程被杀掉,有人知道为什么吗?