gpt4 book ai didi

ios - 无法使用Appium Desktop在真实设备上运行WebDriverAgent

转载 作者:行者123 更新时间:2023-11-29 05:46:28 27 4
gpt4 key购买 nike

我无法使用 Appium Desktop 在真实设备上运行 WebDriverAgent。我已附上错误日志的要点。

我尝试了 github/appium 的一些解决方案,但它没有解决我的问题。

服务器日志

https://gist.github.com/guowang94/ec923da6a3b77aca06a902c450200238

appium.app错误消息

https://gist.github.com/guowang94/ef2c5bb5bcc617baa2af19418e9a8b8e

我希望 WebDriverAgent 在真实设备中运行,以便我可以继续执行下一个任务,但我无法在真实设备上安装和运行 WebDriverAgent

最佳答案

您的日志有两个问题:

An empty identity is not valid when signing a binary for the product type 'UI Testing Bundle'. (in target 'WebDriverAgentRunner')

这表明与签署 WebDriverAgentRunner-Runner.app 相关的 XCode 配置不正确

以及解决方案:

Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65 .... Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md

如果官方指南不清楚,您可以按照 Configuring Appium Environment for iOS Real Device 中的步骤操作文章。


您也可以考虑Appium Studio这使得在真实 iOS 设备上设置 Appium 测试的过程变得更加容易。

关于ios - 无法使用Appium Desktop在真实设备上运行WebDriverAgent,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56107437/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com