Remove DEVELOPER_ID_APPLICATION_G2 certificate type#467
Conversation
|
Question: While on Codemagic's VMs, which have 0.67.0, it fails to fetch my certificate (it finds a different one) and no profiles. If it works with the old version, does this mean that Apple fixed the Appstore Connect API and it now accepts Update: |
|
Do let me know if you prefer me to create a full new issue for this |
|
Hi @envictor! Thanks for letting us know about it. Apple has now even included Restoring support for it should be fairly straightforward and I hope to get it done soon. There is no need for separate issue. |
|
Appreciate the quick turnaround time, @priitlatt . Thanks so much! |
Starting from 05.06.25 App Store Connect API has removed support for
DEVELOPER_ID_APPLICATION_G2certificate type despite it still being listed as a valid value forCertificateType(as of 06.06.25).This causes requests to
GET https://api.appstoreconnect.apple.com/v1/certificatesfail iffilter[certificateType]query parameter contains valueDEVELOPER_ID_APPLICATION_G2. Server responds with status code 400 and error payload{ "errors": [ { "id": "9b255f99-cf4b-4d43-9722-30a688964035", "status": "400", "code": "PARAMETER_ERROR.INVALID", "title": "A parameter has an invalid value", "detail": "'DEVELOPER_ID_APPLICATION_G2' is not a valid filter value. Expected one of: APPLE_PAY, APPLE_PAY_MERCHANT_IDENTITY, APPLE_PAY_PSP_IDENTITY, APPLE_PAY_RSA, DEVELOPER_ID_KEXT, DEVELOPER_ID_APPLICATION, DEVELOPMENT, DISTRIBUTION, IDENTITY_ACCESS, IOS_DEVELOPMENT, IOS_DISTRIBUTION, MAC_APP_DISTRIBUTION, MAC_INSTALLER_DISTRIBUTION, MAC_APP_DEVELOPMENT, PASS_TYPE_ID, PASS_TYPE_ID_WITH_NFC", "source": { "parameter": "filter[certificateType]" } } ] }Full command log
Remove usages of
DEVELOPER_ID_APPLICATION_G2certificate type to overcome those errors. When resolving certificate type for given provisioning profile type, onlyDEVELOPER_ID_APPLICATIONcertificate type will be used now for profile typesMAC_APP_DIRECTandMAC_CATALYST_APP_DIRECT.Updated actions:
app-store-connect fetch-signing-filesapp-store-connect certificates createapp-store-connect certificates list