xcode 安装 /Applications/Xcode.app/Contents/Developer
葫芦版
➜ calabash.framework git:(master) ✗ Resources/version
0.9.169
葫芦服务器版
{
"outcome" => "SUCCESS",
"app_id" => "<removed>",
"simulator_device" => "iPhone",
"version" => "0.9.169",
"app_name" => "iPhone-cal",
"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)"
}
目标等
export DEBUG=1 DEVICE_TARGET='iPhone Retina (4-inch) - Simulator - iOS 7.1'
问题是,当我运行 cucumber 时,会出现以下随机故障(这也会导致构建失败并导致我从 CI/CD 堆栈中删除功能测试)。
0.9.169/features/step_definitions/calabash_steps.rb:161
Then I touch "Nationstar Bank" # calabash-cucumber-0.9.169/features/step_definitions/calabash_steps.rb:15
Retrying.. Errno::ECONNREFUSED: (Connection refused - connect(2) (http://localhost:37265))
Retrying.. Errno::ECONNREFUSED: (Connection refused - connect(2) (http://localhost:37265))
Failing... Errno::ECONNREFUSED
Retrying.. Errno::ECONNREFUSED: (Connection refused - connect(2) (http://localhost:37265))
Retrying.. Errno::ECONNREFUSED: (Connection refused - connect(2) (http://localhost:37265))
Failing... Errno::ECONNREFUSED
Then I wait to see "Choose Date" # calabash-cucumber-0.9.169/features/step_definitions/calabash_steps.rb:161
enter code here
其他信息:
Apple OS : 10.9.3