Method: Sigh::Runner#ensure_app_exists!

Defined in:
sigh/lib/sigh/runner.rb

#ensure_app_exists!Object

Makes sure the current App ID exists. If not, it will show an appropriate error message



313
314
315
316
317
318
319
320
# File 'sigh/lib/sigh/runner.rb', line 313

def ensure_app_exists!
  # Only ensuring by app identifier
  # We used to ensure by platform (IOS and MAC_OS) but now apps are
  # always UNIVERSAL as of 2020-07-30
  return if Spaceship::ConnectAPI::BundleId.find(Sigh.config[:app_identifier])
  print_produce_command(Sigh.config)
  UI.user_error!("Could not find App with App Identifier '#{Sigh.config[:app_identifier]}'")
end