I have Calabash installed as a pod in my project. The gem itself is installed using bundler. When I try to run cucumber for my Calabash target, the first features starts but just hangs and the simulator never launches:
$ bundle exec cucumber
Feature: Ensure Login and Oauth Screen Functionality
Scenario: Verify Welcome Page # features/Sign_in.feature:3
More details from my install:
# xcode installation location
$ xcode-select --print-path
/Applications/Xcode.app/Contents/Developer
# xcode version
$ xcodebuild -version
Xcode 5.1.1
Build version 5B1008
# calabash version
$ bundle exec calabash-ios version
0.9.168
# calabash < 0.9.169 or Xamarin IDE users
# start your app manually in the simulator or from Xcode and then launch a console
$ bundle exec calabash-ios console
> server_version
{
"outcome" => "SUCCESS",
"app_id" => "[REDACTED]",
"simulator_device" => "iPhone",
"version" => "0.9.168",
"app_name" => "[REDACTED]",
"iphone_app_emulated_on_ipad" => false,
"4inch" => true,
"git" => {
"remote_origin" => "git@github.com:jmoody/calabash-ios-server.git",
"branch" => "master",
"revision" => "adde106"
},
"app_version" => "2.0.1",
"iOS_version" => "7.1",
"system" => "x86_64",
"simulator" => "iPhone Simulator 463.9.41, iPhone OS 7.1 (iPhone Retina (4-inch)/11D167)"
}
APP_BUNDLE_PATH
like so:APP_BUNDLE_PATH = "~/Library/Developer/Xcode/DerivedData/[Project Name]-ecqxvrsnmjuqujfwxaoiruzmutmx/Build/Products/Debug-iphonesimulator/[App Name]"
. I am not getting any error messages in the console but I am getting a popup that says path not found. However the path definitely exists.calabash-ios
console to open a ruby console and in there typestart_test_server_in_background
and check the simulator launching with app-cal app. Tell us what is the result.start_test_server_in_background
, I get the following errors:RuntimeError: Error... Unable to find APP_BUNDLE_PATH. Cannot find a built app that is linked with calabash.framework Please build your app from Xcode You should build your calabash target. Alternatively, specify APP_BUNDLE_PATH in features/support/01_launch.rb This should point to the location of your built app linked with calabash.