deliver/lib/deliver/download_screenshots.rb in fastlane-2.183.2 vs deliver/lib/deliver/download_screenshots.rb in fastlane-2.184.0
- old
+ new
@@ -11,10 +11,10 @@
UI.error(ex)
UI.error("Couldn't download already existing screenshots from App Store Connect.")
end
def self.download(options, folder_path)
- app = options[:app]
+ app = Deliver.cache[:app]
platform = Spaceship::ConnectAPI::Platform.map(options[:platform])
if options[:use_live_version]
version = app.get_live_app_store_version(platform: platform)
UI.user_error!("Could not find a live version on App Store Connect. Try using '--use_live_version false'") if version.nil?