Skip to content

Instantly share code, notes, and snippets.

@veraposeidon
Created December 31, 2021 12:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save veraposeidon/cf7711c3a88a4d96711fc1f7e65fdf8d to your computer and use it in GitHub Desktop.
Save veraposeidon/cf7711c3a88a4d96711fc1f7e65fdf8d to your computer and use it in GitHub Desktop.
find your certificate id from Apple Developer Portal
require 'spaceship'
Spaceship::login("your@apple.id")
Spaceship::select_team
Spaceship::certificate.all.each do |certificate|
cert_type = Spaceship::Portal::Certificate::CERTIFICATE_TYPE_IDS[certificate.type_display_id].to_s.split('::').last
puts "#{certificate.id} - #{certificate.name} - #{certificate.status} - #{cert_type}"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment