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

Allow IOS_DISTRIBUTION certificate type for creation with app-store-connect fetch-signing-files #262

Open
dkvyk opened this issue Sep 13, 2022 · 1 comment
Labels
app-store-connect enhancement New feature or request

Comments

@dkvyk
Copy link

dkvyk commented Sep 13, 2022

With the current approach (version 0.27.0), when calling

app-store-connect fetch-signing-files

with --type IOS_APP_STORE, if a matching certificate was not found DISTRIBUTION certificate will be created.
Please allow specifying certificate type used for creation.
Because of Apple limitations, we cannot use more than 3 DISTRIBUTION certificates and we want to be able to generate IOS_DISTRIBUTION ones automatically.

@priitlatt priitlatt added the enhancement New feature or request label Sep 14, 2022
@priitlatt
Copy link
Contributor

@dkvyk thank you for the feedback and for raising this issue.

Indeed there is a hard limit of 3 by Apple on how many distribution certificates can a single Apple Developer Portal team have. For now we've chosen to map IOS_APP_STORE provisioning profile type to use DISTRIBUTION certificates as those are more versatile than IOS_DISTRIBUTION certificates in a sense that those can also be used to sign macOS applications. And note that the same maximum of 3 limitation applies to IOS_DISTRIBUTION certificates too.

That being said I think we could add an optional argument --certificate-type (or similar) to app-store-connect fetch-signing-files to force it to use a specific certificate type instead of inferring it from given provisioning profile type.

I'm afraid I cannot give any ETA for you right now when will it be ready.

In the meantime as a workaround you could create a IOS_DISTRIBUTION certificate using

app-store-connect create-certificate --type IOS_DISTRIBUTION

This will create a certificate that can later be picked up by app-store-connect fetch-signing-file as for IOS_APP_STORE profiles it searches both DISTRIBUTION and IOS_DISTRIBUTION certifiactes that can be used with found profiles.

@priitlatt priitlatt changed the title [App Store Connect] Allow to specify IOS_Distribution certificate type for creation in fetch_signing_files Allow IOS_DISTRIBUTION certificate type for creation with app-store-connect fetch-signing-files Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app-store-connect enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants