“仪器在启动时崩溃”iOS Real Device上的Appium?

时间:2016-08-03 15:29:28

标签: ios iphone ios-simulator appium

我收到错误“无法创建新会话。(原始错误:启动时仪器崩溃)(警告:服务器未提供任何堆栈跟踪信息)命令持续时间或超时:22.44秒 “使用Appium进行iOS自动化。

配置: - XCode 7.3 iPhone 5S - 第10版

请建议步骤。

1 个答案:

答案 0 :(得分:0)

我不确定这对你有用,但我解决了下面的问题:

首先,打开xcode并打开

xcode > window > devices

在那里,您将看到所有可用的设备和模拟器。

Right click on the device name and delete the device.

现在在底部,你会看到一个" +"图标,单击那里并添加设备。

Now go to the xcode > open developer tool > instruments and click on it.

After opening the instruments, Double click on "Automation" option which is on top 4 from left.

现在点击附加图片中的红色标记区域:

enter image description here

点击后,您将在列表中看到您的设备。选择设备

等待一段时间然后重新启动xcode。

希望这会对你有所帮助