lib/calabash-cucumber/launch/simulator_helper.rb in calabash-cucumber-0.9.49 vs lib/calabash-cucumber/launch/simulator_helper.rb in calabash-cucumber-0.9.50
- old
+ new
@@ -96,9 +96,10 @@
File.expand_path(ENV['PROJECT_DIR'] || Dir.pwd)
end
def self.app_bundle_or_raise(path)
bundle_path = nil
+ path = File.expand_path(path)
if path and not File.directory?(path)
puts "Unable to find .app bundle at #{path}. It should be an .app directory."
dd_dir = derived_data_dir_for_project
app_bundles = Dir.glob(File.join(dd_dir, "Build", "Products", "*", "*.app"))