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
235 stars 39 forks source link

Add support for certificate type `DEVELOPER_ID_APPLICATION_G2` #415

Closed priitlatt closed 2 weeks ago

priitlatt commented 2 weeks ago

Resolves #414

When creating Developer ID Application certificate in Apple Developer Portal, it is possible to select "G2 Sub-CA" for its profile type:

Screenshot 2024-07-04 at 12 15 32 (1)

The certificate that is created will have type DEVELOPER_ID_APPLICATION_G2, which as of 04.07.24 is not documented as a possible certificate type, but is used nonetheless.

Changes in this PR add bindings for this type and make it possible to use such certificates when requesting certificates for provisioning profiles of type MAC_APP_DIRECT and MAC_CATALYST_APP_DIRECT.

Updated actions: