更新:这个问题已经解决。在下面的评论中解决。
在终端或通过 Rubymine 运行 Calabash 测试时,在测试完成之前不会显示输出。通过 webdriver 测试,我们可以实时获得输出。有没有办法用 Calabash 实时显示控制台输出?
额外细节
>xcode-select --print-path
/Applications/XCode.app/Contents/Developer
>xcodebuild -version
Xcode 5.1.1
Build version 5B1008
>calabash-ios version
0.9.169
irb(main):002:0> server_version
(我删除了应用名称)
{
"outcome" => "SUCCESS",
"app_id" => "com.<redacted>",
"simulator_device" => "iPhone",
"version" => "0.9.169",
"app_name" => "<redacted>",
"iphone_app_emulated_on_ipad" => false,
"4inch" => true,
"git" => {
"remote_origin" => "git@github.com:calabash/calabash-ios-server.git",
"branch" => "master",
"revision" => "ca62f6e"
},
"app_version" => "1.0",
"iOS_version" => "7.1",
"system" => "x86_64",
"simulator" => "iPhone Simulator 463.9.41, iPhone OS 7.1 (iPhone Retina (4-inch)/11D167)"
}