[英]“Instruments crashed on startup” Appium on iOS Real Device?
I got error " A new session could not be created. (Original error: Instruments crashed on startup) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 22.44 seconds " while using Appium for iOS Automation. 我在使用Appium for iOS Automation时收到错误“ 无法创建新会话。(原始错误:仪器在启动时崩溃)(警告:服务器未提供任何堆栈跟踪信息)命令持续时间或超时:22.44秒 ”。
Configuration :- XCode 7.3 iPhone 5S -- Version 10 配置:-XCode 7.3 iPhone 5S-版本10
Please suggest with Steps. 请提出建议。
I am not sure this will work for you but i solve the problem like below: 我不确定这是否适合您,但我可以解决以下问题:
first, open xcode and open 首先,打开xcode并打开
xcode > window > devices
there you will see all of your available device and simulator. 在那里,您将看到所有可用的设备和模拟器。
Right click on the device name and delete the device.
Now at bottom, you will see a "+" icon, click there and Add 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.
Now click on the red mark area in the attached image: 现在,单击所附图像中的红色标记区域:
After clicking on that, you will see your device in the list. 单击该按钮后,您将在列表中看到您的设备。 select the device 选择设备
and wait for a while and restart the xcode. 稍等片刻,然后重新启动xcode。
Hope this will help you 希望这个能对您有所帮助
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.