lib/calabash/ios/device/device_implementation.rb in calabash-1.9.9.pre2 vs lib/calabash/ios/device/device_implementation.rb in calabash-1.9.9.pre3

- old
+ new

@@ -1,9 +1,10 @@ module Calabash module IOS # An iOS Device is an iOS Simulator or physical device. + # @!visibility private class Device < ::Calabash::Device include Calabash::IOS::PhysicalDeviceMixin include Calabash::IOS::Routes::ResponseParser include Calabash::IOS::Routes::HandleRouteMixin @@ -465,10 +466,13 @@ installed_app = Calabash::IOS::Application.new(bridge.fetch_app_dir) if installed_app.same_sha1_as?(application) true else - @logger.log("The sha1 checksum has changed (#{installed_app.sha1} != #{application.sha1}.", :info) + @logger.log("The installed app and the target app are different.", :info) + @logger.log(" The target app has SHA: #{application.sha1}", :info) + @logger.log("The installed app has SHA: #{installed_app.sha1}", :info) + @logger.log("Installing the target app.", :info) install_app_on_simulator(application, @run_loop_device, bridge) end else install_app_on_simulator(application, @run_loop_device, bridge) end