2017-05-30 800 views
1

我在使用終端安裝WebDriverAgent時遇到了以下問題。'RoutingHTTPServer/RoutingConnection.h'文件未找到

Appium : 1.6.4 
Xcode : 8.3 
MAC : 10.12 

當我運行下面的命令

xcodebuild build test -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id='<udid>' -configuration Debug 

我得到了下面的日誌

usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentLib/Routing/FBWebServer.m:12:9: 'RoutingHTTPServer/RoutingConnection.h' file not found 

請參考附件截圖:

enter image description here 請提供此解決方案問題。

回答

1

這是WebDriverAgent的問題。 WebDriveragent項目中可能缺少RoutingConnection.h文件。嘗試卸載並安裝appium,並通過提供適當的配置配置文件和開發人員證書來運行webdriveragent。