【问题标题】:Unable to run WebDriverAgent on the real device using Appium Desktop使用 Appium Desktop 无法在真机上运行 WebDriverAgent
【发布时间】:2019-09-30 02:58:57
【问题描述】:

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

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

服务器日志

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

appium.app 错误消息

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

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

【问题讨论】:

  • 尝试使用appium 1.12.1版本。我也无法在 1.13.0 版本上运行我的脚本。切换到 1.12.1 后,它工作正常。也可以关注this guide在真机上运行appium测试。

标签: ios automation appium


【解决方案1】:

您的日志有两个问题:

为产品类型“UI 测试包”签署二进制文件时,空标识无效。 (在目标“WebDriverAgentRunner”中)

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

以及解决方案:

由于 xcodebuild 失败,无法启动 WebDriverAgent:xcodebuild 失败,代码为 65 ...。请确保按照 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 测试的过程变得更加容易。

【讨论】:

    猜你喜欢
    • 2018-08-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-02-04
    • 2021-02-07
    • 1970-01-01
    • 2018-05-10
    • 2017-03-23
    相关资源
    最近更新 更多