bin/calabash-ios-setup.rb in calabash-cucumber-0.9.169.pre2 vs bin/calabash-ios-setup.rb in calabash-cucumber-0.9.169.pre5

- old
+ new

@@ -152,13 +152,11 @@ setup_cmd = %Q[#{path_to_setup} "#{path}" "#{project_name}"] system(setup_cmd) end - - -require 'calabash-cucumber/launch/simulator_helper' +require 'calabash-cucumber/launch/simulator_launcher' def validate_setup(args) if args.length > 0 if args[0].end_with?(".ipa") validate_ipa(args[0]) elsif args[0].end_with?(".app") @@ -168,10 +166,10 @@ puts "File should end with .app or .ipa" end exit 1 end else - dd_dir = Calabash::Cucumber::SimulatorHelper.derived_data_dir_for_project + dd_dir = Calabash::Cucumber::SimulatorLauncher.new().derived_data_dir_for_project if not dd_dir puts "Unable to find iOS XCode project." puts "You should run this command from an XCode project directory." exit 1 end \ No newline at end of file