deliver/lib/deliver/download_screenshots.rb in fastlane-2.152.0 vs deliver/lib/deliver/download_screenshots.rb in fastlane-2.153.0
- old
+ new
@@ -12,12 +12,10 @@
UI.error(ex)
UI.error("Couldn't download already existing screenshots from App Store Connect.")
end
def self.download(options, folder_path)
- legacy_app = options[:app]
- app_id = legacy_app.apple_id
- app = Spaceship::ConnectAPI::App.get(app_id: app_id)
+ app = options[: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?