请问解决了吗
我最后使用了 xcode 11
已解决,感谢!
已经解决啦!我把 appium 升级后就好了。虽然 inspector 命令在编译 WDA 还是不能识别,但是 appium 已经可以正常运行了
我下载了最新的 appium 1.16.0, 重新编译自带的 WDA,虽然 inspector 命令还是没有被识别,但是 appium 可以正常运行了,感谢!!
真机
xcode 日志
2020-01-14 16:02:14.341924+0800 WebDriverAgentRunner-Runner[2412:757583] Running tests...
objc[2412]: Class GCDAsyncSocketPreBuffer is implemented in both /private/var/containers/Bundle/Application/B9A34AA7-B3F1-4ADB-AA0C-760597A6E27B/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/Frameworks/RoutingHTTPServer.framework/RoutingHTTPServer (0x10928d620) and /private/var/containers/Bundle/Application/B9A34AA7-B3F1-4ADB-AA0C-760597A6E27B/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/Frameworks/CocoaAsyncSocket.framework/CocoaAsyncSocket (0x106744578). One of the two will be used. Which one is undefined.
objc[2412]: Class GCDAsyncReadPacket is implemented in both /private/var/containers/Bundle/Application/B9A34AA7-B3F1-4ADB-AA0C-760597A6E27B/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/Frameworks/RoutingHTTPServer.framework/RoutingHTTPServer (0x10928d670) and /private/var/containers/Bundle/Application/B9A34AA7-B3F1-4ADB-AA0C-760597A6E27B/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/Frameworks/CocoaAsyncSocket.framework/CocoaAsyncSocket (0x1067445c8). One of the two will be used. Which one is undefined.
objc[2412]: Class GCDAsyncWritePacket is implemented in both /private/var/containers/Bundle/Application/B9A34AA7-B3F1-4ADB-AA0C-760597A6E27B/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/Frameworks/RoutingHTTPServer.framework/RoutingHTTPServer (0x10928d6c0) and /private/var/containers/Bundle/Application/B9A34AA7-B3F1-4ADB-AA0C-760597A6E27B/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/Frameworks/CocoaAsyncSocket.framework/CocoaAsyncSocket (0x106744618). One of the two will be used. Which one is undefined.
objc[2412]: Class GCDAsyncSpecialPacket is implemented in both /private/var/containers/Bundle/Application/B9A34AA7-B3F1-4ADB-AA0C-760597A6E27B/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/Frameworks/RoutingHTTPServer.framework/RoutingHTTPServer (0x10928d710) and /private/var/containers/Bundle/Application/B9A34AA7-B3F1-4ADB-AA0C-760597A6E27B/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/Frameworks/CocoaAsyncSocket.framework/CocoaAsyncSocket (0x106744668). One of the two will be used. Which one is undefined.
objc[2412]: Class GCDAsyncSocket is implemented in both /private/var/containers/Bundle/Application/B9A34AA7-B3F1-4ADB-AA0C-760597A6E27B/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/Frameworks/RoutingHTTPServer.framework/RoutingHTTPServer (0x10928d760) and /private/var/containers/Bundle/Application/B9A34AA7-B3F1-4ADB-AA0C-760597A6E27B/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/Frameworks/CocoaAsyncSocket.framework/CocoaAsyncSocket (0x1067446b8). One of the two will be used. Which one is undefined.
Test Suite 'All tests' started at 2020-01-14 16:02:14.545
Test Suite 'WebDriverAgentRunner.xctest' started at 2020-01-14 16:02:14.546
Test Suite 'UITestingUITests' started at 2020-01-14 16:02:14.546
Test Case '-[UITestingUITests testRunner]' started.
t = 0.00s Start Test at 2020-01-14 16:02:14.547
t = 0.00s Set Up
2020-01-14 16:02:14.594060+0800 WebDriverAgentRunner-Runner[2412:757583] Built at Jan 14 2020 15:13:22
2020-01-14 16:02:14.609648+0800 WebDriverAgentRunner-Runner[2412:757583] ServerURLHere->http://10.2.29.36:8100<-ServerURLHere
2020-01-14 16:02:14.609966+0800 WebDriverAgentRunner-Runner[2412:757701] Using singleton test manager
2020-01-14 16:07:42.907821+0800 WebDriverAgentRunner-Runner[2412:757583] -[XCUIApplication resolve]: unrecognized selector sent to instance 0x2809f0af0
2020-01-14 16:11:48.861791+0800 WebDriverAgentRunner-Runner[2412:757583] -[XCUIApplication resolve]: unrecognized selector sent to instance 0x2809f0af0
请问什么原因
我的 inspector 页面获取不到页面元素,请问楼主遇到这样的情况了嘛?
求解答