尝试在真实设备上运行Appium,但如果已安装WebDriverAgentRunner应用程序,请尝试从该设备中删除该应用程序并重新启动该设备

尝试在真实设备上运行Appium,但如果已安装WebDriverAgentRunner应用程序,请尝试从该设备中删除该应用程序并重新启动该设备,appium,robotframework,appium-ios,Appium,Robotframework,Appium Ios,我在实际设备上执行自动化iOS时遇到问题,在我启动测试期间,我得到了erorr尝试从设备中删除WebDriverAgentRunner应用程序(如果已安装)并重新启动设备。我也尝试签署WebDriveragent,但问题仍然存在。 这是阿皮姆的日志 [![> Xcode\] Testing started on ' iPhone 6s Pink' \[Xcode\] \[Xcode\] Testing > failed: \[Xcode\] Signing for "Web

我在实际设备上执行自动化iOS时遇到问题,在我启动测试期间,我得到了erorr
尝试从设备中删除WebDriverAgentRunner应用程序(如果已安装)并重新启动设备。
我也尝试签署WebDriveragent,但问题仍然存在。 这是阿皮姆的日志

[![> Xcode\] Testing started on ' iPhone 6s Pink' \[Xcode\]  \[Xcode\] Testing
> failed: \[Xcode\]     Signing for "WebDriverAgentRunner" requires a
> development team. Select a development team in the Signing &
> Capabilities editor. \[Xcode\]    WebDriverAgentRunner: \[Xcode\]
>       WebDriverAgentRunner-Runner.app encountered an error (Failed to
> install or launch the test runner. (Underlying error: The file
> “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is
> no such file. The file doesn’t exist. (Underlying error: The operation
> couldn’t be completed. No such file or directory))) \[Xcode\]  \[Xcode\]
> ** TEST EXECUTE FAILED ** \[Xcode\]  \[Xcode\]  \[XCUITest\] xcodebuild exited with code '65' and signal 'null' \[debug\] \[BaseDriver\] Event
> 'wdaStartFailed' logged at 1576751453184 (17:30:53 GMT+0700 (Indochina
> Time)) \[debug\] \[XCUITest\] Unable to launch WebDriverAgent because of
> xcodebuild failure: "xcodebuild failed with code 65 \[debug\] \[XCUITest\]
> xcodebuild error message: \[debug\] \[XCUITest\]  \[debug\] \[XCUITest\]
> 2019-12-19 17:30:53.133 xcodebuild\[13095:284322\] Error
> Domain=NSCocoaErrorDomain Code=260 "The file
> “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is
> no such file."
> UserInfo={NSFilePath=/Users/keo.sidara/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app,
> NSUnderlyingError=0x7fa27214ee50 {Error Domain=NSPOSIXErrorDomain
> Code=2 "No such file or directory"}} \[debug\] \[XCUITest\] Test session
> results, code coverage, and logs: \[debug\] \[XCUITest\]
>   /Users/keo.sidara/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Test-WebDriverAgentRunner-2019.12.19_17-30-52-+0700.xcresult
> \[debug\] \[XCUITest\] Testing started on ' iPhone 6s Pink' \[debug\]
> \[XCUITest\] Testing failed: \[debug\] \[XCUITest\]   Signing for
> "WebDriverAgentRunner" requires a development team. Select a
> development team in the Signing & Capabilities editor. \[debug\]
> \[XCUITest\]  WebDriverAgentRunner: \[debug\] \[XCUITest\]
>       WebDriverAgentRunner-Runner.app encountered an error (Failed to
> install or launch the test runner. (Underlying error: The file
> “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is
> no such file. The file doesn’t exist. (Underlying error: The operation
> couldn’t be completed. No such file or directory))) \[debug\] \[XCUITest\]
> ** TEST EXECUTE FAILED **". 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 \[XCUITest\] Shutting down sub-processes
> \[XCUITest\] Shutting down iproxy process (pid 13094) \[debug\] \[XCUITest\]
> iproxy exited with code 'null' \[debug\] \[XCUITest\] Removing WDA
> application from device \[XCUITest\] Error: Unable to launch
> WebDriverAgent because of xcodebuild failure: "xcodebuild failed with
> code 65 \[XCUITest\] xcodebuild error message: \[XCUITest\]  \[XCUITest\]
> 2019-12-19 17:30:53.133 xcodebuild\[13095:284322\] Error
> Domain=NSCocoaErrorDomain Code=260 "The file
> “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is
> no such file."
> UserInfo={NSFilePath=/Users/keo.sidara/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app,
> NSUnderlyingError=0x7fa27214ee50 {Error Domain=NSPOSIXErrorDomain
> Code=2 "No such file or directory"}} \[XCUITest\] Test session results,
> code coverage, and logs: \[XCUITest\]
>   /Users/keo.sidara/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Test-WebDriverAgentRunner-2019.12.19_17-30-52-+0700.xcresult
> \[XCUITest\] Testing started on ' iPhone 6s Pink' \[XCUITest\] Testing
> failed: \[XCUITest\]  Signing for "WebDriverAgentRunner" requires a
> development team. Select a development team in the Signing &
> Capabilities editor. \[XCUITest\]     WebDriverAgentRunner: \[XCUITest\]
>       WebDriverAgentRunner-Runner.app encountered an error (Failed to
> install or launch the test runner. (Underlying error: The file
> “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is
> no such file. The file doesn’t exist. (Underlying error: The operation
> couldn’t be completed. No such file or directory))) \[XCUITest\] ** TEST
> EXECUTE FAILED **". 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
> (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:488:13)
> \[XCUITest\]     at
> /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:518:9
> \[debug\] \[XCUITest\] Not clearing log files. Use `clearSystemFiles`
> capability to turn on. \[debug\] \[iOSLog\] Stopping iOS log capture
> \[debug\] \[BaseDriver\] Event 'newSessionStarted' logged at 1576751453341
> (17:30:53 GMT+0700 (Indochina Time)) \[debug\] \[W3C\] Encountered
> internal error running command: Error: Unable to launch WebDriverAgent
> because of xcodebuild failure: "xcodebuild failed with code 65 \[debug\]
> \[W3C\] xcodebuild error message: \[debug\] \[W3C\]  \[debug\] \[W3C\]
> 2019-12-19 17:30:53.133 xcodebuild\[13095:284322\] Error
> Domain=NSCocoaErrorDomain Code=260 "The file
> “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is
> no such file."
> UserInfo={NSFilePath=/Users/keo.sidara/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app,
> NSUnderlyingError=0x7fa27214ee50 {Error Domain=NSPOSIXErrorDomain
> Code=2 "No such file or directory"}} \[debug\] \[W3C\] Test session
> results, code coverage, and logs: \[debug\] \[W3C\]
>   /Users/keo.sidara/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Test-WebDriverAgentRunner-2019.12.19_17-30-52-+0700.xcresult
> \[debug\] \[W3C\] Testing started on ' iPhone 6s Pink' \[debug\] \[W3C\]
> Testing failed: \[debug\] \[W3C\]     Signing for "WebDriverAgentRunner"
> requires a development team. Select a development team in the Signing
> & Capabilities editor. \[debug\] \[W3C\]  WebDriverAgentRunner: \[debug\]
> \[W3C\]       WebDriverAgentRunner-Runner.app encountered an error (Failed
> to install or launch the test runner. (Underlying error: The file
> “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is
> no such file. The file doesn’t exist. (Underlying error: The operation
> couldn’t be completed. No such file or directory))) \[debug\] \[W3C\] **
> TEST EXECUTE FAILED **". 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. \[debug\] \[W3C\]     at
> quitAndUninstall
> (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:488:13)
> \[debug\] \[W3C\]     at
> /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:518:9
> \[HTTP\] <-- POST /wd/hub/session 500 18368 ms - 3779][1]][1]
[![>Xcode\]测试开始于“iPhone 6s粉色”\[Xcode\]\[Xcode\]测试
>失败:\[Xcode\]为“WebDriverAgentRunner”签名需要
>开发团队。在签名栏中选择一个开发团队&
>功能编辑器。\[Xcode\]WebDriverAgentRunner:\[Xcode\]
>WebDriverAgentRunner-Runner.app遇到错误(无法
>安装或启动测试运行程序。(基本错误:文件
>无法打开“WebDriverAgentRunner.app”,因为存在
>没有这样的文件。该文件不存在。(基本错误:操作失败。)
>无法完成。没有这样的文件或目录)\[Xcode\]\[Xcode\]
>**测试执行失败**\[Xcode\]\[Xcode\]\[XCUITest\]xcodebuild退出,代码为“65”,信号为“null”\[debug\]\[BaseDriver\]事件
>在1576753184(格林尼治标准时间17:30:53+0700(印度支那)记录的“WDASTARTFILED”
>时间))\[debug\]\[XCUITest\]无法启动WebDriverAgent,原因是
>xcodebuild失败:“xcodebuild失败,代码为65\[debug\]\[XCUITest\]
>xcodebuild错误消息:\[debug\]\[XUITest\]\[debug\]\[XUITest\]
>2019-12-19 17:30:53.133 xcodebuild\[13095:284322\]错误
>Domain=nscocaerorrordomain Code=260“文件
>无法打开“WebDriverAgentRunner.app”,因为存在
>没有这样的文件。”
>UserInfo={NSFilePath=/Users/keo.sidara/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app,
>NSUnderlyingError=0x7fa27214ee50{Error Domain=NSPOSIXErrorDomain
>Code=2“没有这样的文件或目录”}}\[debug\]\[xguitest\]测试会话
>结果、代码覆盖率和日志:\[debug\]\[xguitest\]
>/Users/keo.sidara/Library/Developer/Xcode/DerivedData/webdrivergent brdadhpuduowllgivnnvuygphzy/Logs/Test/Test-WebDriverAgentRunner-2019.12.19_17-30-52-+0700.xcsult
>\[debug\]\[XCUIEST\]测试已在“iPhone 6s粉红色”上启动\[debug\]
>\[XUITEST\]测试失败:\[debug\]\[XUITEST\]对的签名
>“WebDriverAgentRunner”需要一个开发团队。请选择一个
>签名和功能编辑器中的开发团队。\[debug\]
>\[XUITest\]WebDriverAgentRunner:\[debug\]\[XUITest\]
>WebDriverAgentRunner-Runner.app遇到错误(无法
>安装或启动测试运行程序。(基本错误:文件
>无法打开“WebDriverAgentRunner.app”,因为存在
>没有这样的文件。该文件不存在。(基本错误:操作失败。)
>无法完成。没有这样的文件或目录)\[debug\]\[XCUITest\]
>**测试执行失败**”。请确保在https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md.
>如果需要,请尝试从设备中删除WebDriverAgentRunner应用程序
>它已安装并重新启动设备。\[XUITEST\]退出并重新启动
>卸载WebDriverAgent\[XCUITest\]关闭子进程
>\[XUITEST\]关闭iproxy进程(pid 13094)\[debug\]\[XUITEST\]
>iproxy已退出,代码为“null”\[debug\]\[xguitest\]正在删除WDA
>来自设备\[XCUITest\]的应用程序错误:无法启动
>WebDriverAgent因为xcodebuild失败:“xcodebuild因以下原因失败:
>代码65\[XUITEST\]xcodebuild错误消息:\[XUITEST\]\[XUITEST\]
>2019-12-19 17:30:53.133 xcodebuild\[13095:284322\]错误
>Domain=nscocaerorrordomain Code=260“文件
>无法打开“WebDriverAgentRunner.app”,因为存在
>没有这样的文件。”
>UserInfo={NSFilePath=/Users/keo.sidara/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app,
>NSUnderlyingError=0x7fa27214ee50{Error Domain=NSPOSIXErrorDomain
>Code=2“没有这样的文件或目录”}\[XCUITest\]测试会话结果,
>代码覆盖率和日志:\[XCUITest\]
>/Users/keo.sidara/Library/Developer/Xcode/DerivedData/webdrivergent brdadhpuduowllgivnnvuygphzy/Logs/Test/Test-WebDriverAgentRunner-2019.12.19_17-30-52-+0700.xcsult
>\[XUITest\]测试开始于“iPhone 6s粉色”\[XUITest\]测试
>失败:\[XUITest\]为“WebDriverAgentRunner”签名需要
>开发团队。在签名栏中选择一个开发团队&
>功能编辑器。\[XUITest\]WebDriverAgentRunner:\[XUITest\]
>WebDriverAgentRunner-Runner.app遇到错误(无法
>安装或启动测试运行程序。(基本错误:文件
>无法打开“WebDriverAgentRunner.app”,因为存在
>没有这样的文件。该文件不存在。(基本错误:操作失败。)
>无法完成。没有这样的文件或目录))\[XCUIEST\]**测试
>执行失败**”。请确保您在
> https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md.
>如果需要,请尝试从设备中删除WebDriverAgentRunner应用程序
>它已安装并重新启动设备。\[XUITEST\]位于
>退出并卸载
>(/usr/local/lib/node_modules/appium/node_modules/appium xguitest driver/lib/driver.js:488:13)
>\[XCUITest\]at
>/usr/local/lib/node_modules/appium/node_modules/appium xguitest driver/lib/driver.js:518:9
>\[debug\]\[XCUITest\]未清除日志文件。请使用'clearSystemFiles'`
>打开的功能。\[debug\]\[iOSLog\]正在停止iOS日志捕获
>\[debug\]\[BaseDriver\]事件“newSessionStarted”记录在157675453341
>(格林尼治标准时间17:30:53+0700(印度支那时间))\[debug\]\[W3C\]遇到
>运行命令时出现内部错误:错误:无法启动WebDriverAgen