我正在使用模拟器(iOS 9.0)。
我正在运行命令:device_target=UDID cucumber
模拟器启动,应用程序正在加载,但控制台会挂起几分钟,直到超时。
当我在控制台中手动运行时,我也遇到了同样的问题:
calabash-ios console
start_test_server_in_background我得到的错误是:
#<RuntimeError: Timed out connecting to Calabash server after 10 retries. Make sure it is linked and App isn't crashing>
RuntimeError: Unable to make connection to Calabash Server at http://localhost:37265/`
Make sure you don't have a firewall blocking traffic to http://localhost:37265/.运行命令curl http://localhost:37265并得到错误- curl: (7) Failed to connect to localhost port 37265: Connection refused
我错过了什么?
(用Xamarin开发的应用程序)
发布于 2015-11-23 21:23:51
device_target=UDID黄瓜
这并不是你所期望的。Calabash响应device_target,而不是DEVICE_TARGET。
我最好的猜测是,您需要检查您的.app是否与Calabash链接。
请看这两个页面:
https://stackoverflow.com/questions/33868049
复制相似问题