Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS] Automatically detect signing certificate type #239

Open
arthurpalves opened this issue Apr 19, 2024 · 0 comments
Open

[iOS] Automatically detect signing certificate type #239

arthurpalves opened this issue Apr 19, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@arthurpalves
Copy link
Member

Background

As of now, when providing a signing configuration for iOS, we need to specify in the team_name the entire signing identity name including the certificate type, such as "iPhone Distribution: BACKBASE EUROPE B.V.".

The certificate type might also be Apple Distribution, being it the responsibility of whoever is in charge of editing variants.yml to provide the correct option. This might cause confusion and lead to problems.

Proposed Solution

When only the team name is provided, such as "BACKBASE EUROPE B.V.", automatically detect the certificate type and make use of the appropriate prefix. This can be done in multiple ways, one of which is to check the valid signing identities in the keychain while filtering by the provided team_name and/or team_id (also configured in variants.yml).

i.e.:

security find-identity -v | grep "<TEAM_NAME or TEAM_ID>" | cut -d '"' -f2
@arthurpalves arthurpalves added the enhancement New feature or request label Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant