codemagic-ci-cd / cli-tools

Various utilities to managing Android and iOS app builds, code signing, and deployment.
https://codemagic.io/start/
GNU General Public License v3.0
265 stars 42 forks source link

Improvement: Include all eligible certificates when creating a profile #257

Closed priitlatt closed 2 years ago

priitlatt commented 2 years ago

Action app-store-connect fetch-signing files is capable of creating missing signing files in case none are found for the specified criteria (requires --create flag to be present).

When a suitable provisioning profile is not found and has to be created on the fly by this action, then this profile will include only the code signing certificate(s) that contain given certificate private key (defined by --certificate-key). This is somewhat pointless limitation and significantly reduces the possible usages for created profile.

Instead we can include all possible certificates that match profile's type from the App Store Connect team in the profile. This way the profile usage is not limited to just one specific code signing certificate.

Updated actions: