Ios 文件“;WebDriverAgentRunner.app”;不能’;无法打开,因为没有这样的文件

Ios 文件“;WebDriverAgentRunner.app”;不能’;无法打开,因为没有这样的文件,ios,iphone,macos,selenium,appium-ios,Ios,Iphone,Macos,Selenium,Appium Ios,我已经使用终端在Mac上安装了Appium 1.6.4。我还可以在MAC上使用Safari浏览器查看iPhone的网页元素 但我需要检查iPhone real设备上的键盘元素和日期选择器元素。为此,我再次安装了Appium desktop 1.0.2 beta2版本。当我启动Appium桌面(GUI)并运行selenium代码时。它抛出下面的错误 XCUITest] Log file for xcodebuild test: /Users/msubramaniam/Library/Develop

我已经使用终端在Mac上安装了Appium 1.6.4。我还可以在MAC上使用Safari浏览器查看iPhone的网页元素

但我需要检查iPhone real设备上的键盘元素和日期选择器元素。为此,我再次安装了Appium desktop 1.0.2 beta2版本。当我启动Appium桌面(GUI)并运行selenium代码时。它抛出下面的错误

XCUITest] Log file for xcodebuild test: /Users/msubramaniam/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/D3F3B94A-A324-4996-B60F-0732CEBFB00D/Session-WebDriverAgentRunner-2017-05-30_125049-1uf7KZ.log
[Xcode] 2017-05-30 12:50:49.364 xcodebuild[87735:236610] Error Domain=NSCocoaErrorDomain Code=260 "The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/msubramaniam/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7fb4306026c0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[Xcode] 2017-05-30 12:50:49.364 xcodebuild[87735:236610] Error Domain=IDETestOperationsObserverErrorDomain Code=6 "Early unexpected exit, operation never finished bootstrapping - no restart will be attempted" UserInfo={NSLocalizedDescription=Early unexpected exit, operation never finished bootstrapping - no restart will be attempted}
[Xcode] 
[Xcode] ** TEST EXECUTE FAILED **
[Xcode] 
[Xcode] 
[XCUITest] xcodebuild exited with code '65' and signal 'null'
[BaseDriver] Event 'wdaStartFailed' logged at 1496128849419 (12:50:49 GMT+0530 (IST))
[XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
[XCUITest] Quitting and uninstalling WebDriverAgent, then retrying
[XCUITest] Shutting down sub-processes
[XCUITest] Shutting down iproxy process (pid 87701)
[XCUITest] iproxy exited with code 'null'
[XCUITest] Removing WDA application from device
[BaseDriver] Event 'wdaStartAttempted' logged at 1496128859998 (12:50:59 GMT+0530 (IST))
根据上面的日志,我已经导航到下面的位置

/Users/msubramaniam/Library/Developer/Xcode/DerivedData
我发现有两个WebDriverAgent

WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy
WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs
它正在调用第二个WebDriverAgent,但它没有“WebDriverAgent Runner.app”

第一个WebDriverAgent有“WebDriverAgentRunner.app”

那么如何调用第一个WebDriverAgent

我还尝试使用下面的命令删除WebDriverAgent

rm -rf /WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs
但它并没有被删除


请提供解决方案。

迦太基有问题。运行以下命令并得到解决:

rm '/usr/local/bin/carthage' 
brew install carthage 
brew link carthage

我已经删除了终端中的WebDriverAgent,所以它在iphone中被删除了。你的应用程序是否已正确签名?你能否添加这两个功能,然后尝试启动inspector:“agentPath”:“/usr/local/lib/node_modules/appium/node_modules/appium Xguitest driver/WebDriverAgent/WebDriverAgent.xcodeproj”,“bootstrapPath”:“/usr/local/lib/node\u modules/appium/node\u modules/appium xguitest driver/webdrivergent”webdrivergentrunner生成在xcode中失败,原因是“/usr/local/lib/node\u modules/appium xguitest driver/webdrivergent/FBWebServer.m:12:9:“找不到RoutingHTTPServer/RoutingConnection.h”文件“导航到WebDriverAgent项目并运行。/Scripts/bootstrap.shI已使用以下命令在iPhone上构建WebDriverAgent“xcodebuild-build-test-project/usr/local/lib/node_-modules/appium/node_-modules/appium-xguitest-driver/webdrivergent/webdrivergent.xcodeproj-scheme-webdrivergentrunner-destination id='********'-配置调试“但是,当我试图通过appium桌面应用程序以及使用终端启动appium时,WebDriverAgent构建被删除。因此,我再次运行xcode命令,它在terminalXCTRunner[434:667171]中抛出以下错误。捆绑包“WebDriverAgentRunner”无法加载,因为它已损坏或缺少必要的资源。尝试重新安装捆绑包。