Calabash UI 自动化测试

Calabash UI Automation test

/Users/apple/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/run_loop-2.4.1/lib/run_loop/device_agent/bin/iOSDeviceManager 安装 --device-id acd9daeb11c04eebaeef3d2c4f14cf6e45f8cbc1 -a /Users/apple/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/run_loop-2.4.1/lib/run_loop/device_agent/ipa/DeviceAgent-Runner.app

无法安装设备代理 无法 运行, 有谁能帮忙吗

我遇到了类似的问题,发现这是由于我的命令行工具被设置为 Xcode 9 beta(我认为 calabash 目前不支持)。如果你在 Xcode 9,试试这个:

  1. 启动 Xcode-beta
  2. 打开首选项(Xcode > 首选项...)
  3. Select 位置选项卡
  4. 将命令行工具下拉菜单设置为 Xcode 8.3.3

如果这不起作用,请向我们提供有关您正在使用的 iOS、Xcode、MacOS 和 Calabash 版本的更多信息。