请各位帮忙看看什么问题
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
[XCUIApplication resolve]: unrecognized selector sent to instance 0x2809f0af0, resolve 方法从 Xcode 11.0 已经废弃了,最新的 Appium WebDriverAgent 另外用了其他方法做了兼容,但是他们废弃了 inspector 端点,所以你还想访问 inspector 最好是降低 Xcode 版本或者到 Appium/WebDriverAgent 找指定的 commit 更新下代码也行
我下载了最新的 appium 1.16.0, 重新编译自带的 WDA,虽然 inspector 命令还是没有被识别,但是 appium 可以正常运行了,感谢!!