sigh/lib/sigh/runner.rb in fastlane-2.98.0 vs sigh/lib/sigh/runner.rb in fastlane-2.99.0
- old
+ new
@@ -174,10 +174,15 @@
when 'ios', 'tvos'
if profile_type == Spaceship.provisioning_profile.Development
certificates = Spaceship.certificate.development.all
elsif profile_type == Spaceship.provisioning_profile.InHouse
certificates = Spaceship.certificate.in_house.all
+ # handles case where the desired certificate type is adhoc but the account is an enterprise account
+ # the apple dev portal api has a weird quirk in it where if you query for distribution certificates
+ # for enterprise accounts, you get nothing back even if they exist.
+ elsif profile_type == Spaceship.provisioning_profile.AdHoc && Spaceship.client && Spaceship.client.in_house?
+ certificates = Spaceship.certificate.in_house.all
else
certificates = Spaceship.certificate.production.all # Ad hoc or App Store
end
when 'macos'
@@ -281,10 +286,10 @@
UI.message("You can easily generate a new App ID on the Developer Portal using 'produce':")
UI.message("")
UI.message("fastlane produce -u #{config[:username]} -a #{config[:app_identifier]} --skip_itc".yellow)
UI.message("")
UI.message("You will be asked for any missing information, like the full name of your app")
- UI.message("If the app should also be created on iTunes Connect, remove the " + "--skip_itc".yellow + " from the command above")
+ UI.message("If the app should also be created on App Store Connect, remove the " + "--skip_itc".yellow + " from the command above")
UI.message("==========================================".yellow)
UI.message("")
end
end
end