lib/calabash-cucumber/launch/simulator_helper.rb in calabash-cucumber-0.9.40 vs lib/calabash-cucumber/launch/simulator_helper.rb in calabash-cucumber-0.9.41

- old
+ new

@@ -71,9 +71,10 @@ msg << app_bundles.join("\n") raise msg elsif path bundle_path = path else + dd_dir = derived_data_dir_for_project sim_dirs = Dir.glob(File.join(dd_dir, "Build", "Products", "*-iphonesimulator", "*.app")) if sim_dirs.empty? msg = ["Unable to auto detect APP_BUNDLE_PATH."] msg << "Have you built your app for simulator?." msg << "Searched dir: #{dd_dir}/Build/Products"