snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb in fastlane-2.146.1 vs snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb in fastlane-2.147.0
- old
+ new
@@ -87,12 +87,16 @@
language: language,
locale: locale,
log_path: xcodebuild_log_path(language: language, locale: locale)
)
+ devices.each { |device_type| override_status_bar(device_type) } if launcher_config.override_status_bar
+
UI.important("Running snapshot on: #{devices.join(', ')}")
execute(command: command, language: language, locale: locale, launch_args: launch_arguments, devices: devices)
+
+ devices.each { |device_type| clear_status_bar(device_type) } if launcher_config.override_status_bar
return copy_screenshots(language: language, locale: locale, launch_args: launch_arguments)
end
def execute(retries = 0, command: nil, language: nil, locale: nil, launch_args: nil, devices: nil)