38
39
40
41
42
43
44
45
46
47
|
# File 'deliver/lib/deliver/detect_values.rb', line 38
def find_app(options)
search_by = options[:app_identifier]
search_by = options[:app] if search_by.to_s.length == 0
app = Spaceship::Tunes::Application.find(search_by, mac: options[:platform] == "osx")
if app
options[:app] = app
else
UI.user_error!("Could not find app with app identifier '#{options[:app_identifier]}' in your App Store Connect account (#{options[:username]} - Team: #{Spaceship::Tunes.client.team_id})")
end
end
|