【问题标题】:UIAutomation on device via command line failing on iOS 8通过命令行在 iOS 8 上失败的设备上的 UIAutomation
【发布时间】:2014-12-27 17:02:43
【问题描述】:

我正在尝试通过仪器命令行工具在我的 iOS 8 设备上控制我的应用程序。该命令失败并出现以下错误:

Automation Instrument 在尝试运行脚本时遇到异常。 UIAScriptAgentSignaledException

有人知道为什么吗?

【问题讨论】:

    标签: xcode ios8 instruments ui-automation


    【解决方案1】:

    在 iOS 8 上,设备的开发者设置中有一个新选项 Enable UI Automation:

    Settings -> Developer -> Enable UI Automation

    将其切换为“开启”可解决此问题。

    【讨论】:

      猜你喜欢
      • 2013-02-23
      • 1970-01-01
      • 2018-06-01
      • 1970-01-01
      • 2019-01-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-04-29
      相关资源
      最近更新 更多