18.3 C
New York
Friday, April 4, 2025

ios – Flutter/Xcode Provisioning profile failed qualification – Profile does not embody the chosen signing certificates


Whereas growing an Flutter software, I just lately received my provisioning profile expired and requested my boss to get a brand new provisioning profile. And ever since then, at any time when I strive importing the app to AppStoreConnect or Testflight, this error occurs

enter image description here

I attempted trying within the logs and located

2025-04-04 08:31:59 +0000  Provisioning profile "iOS Staff Retailer Provisioning Profile: xxxxx" failed qualification checks:
  Profile does not embody the chosen signing certificates.
2025-04-04 08:31:59 +0000  2025-04-04 08:31:59 +0000 IDEProvisioningRepair(Runner.app): 2025-04-04 08:31:59 +0000 IDEProvisioningRepair(Runner.app): Utilizing account [email protected]"> for restore

2025-04-04 08:31:59 +0000  2025-04-04 08:31:59 +0000 IDEProvisioningRepair(Runner.app): 2025-04-04 08:31:59 +0000 IDEProvisioningRepair(Runner.app): -[IDEProvisioningRepairStepGenerator_Automatic _allCertificateTypesForProgram:purpose:profileType:context:]:certificates sorts for OID 1.2.840.113635.100.6.1.4: {(
    ,
    
)}

2025-04-04 08:31:59 +0000  2025-04-04 08:31:59 +0000 IDEProvisioningRepair(Runner.app): 2025-04-04 08:31:59 +0000 IDEProvisioningRepair(Runner.app): -[IDEProvisioningRepairStepGenerator_Automatic _allCertificateTypesForProgram:purpose:profileType:context:]: profile allowed certificates sorts: {(
    ,
    
)}

2025-04-04 08:31:59 +0000  2025-04-04 08:31:59 +0000 IDEProvisioningRepair(Runner.app): 2025-04-04 08:31:59 +0000 IDEProvisioningRepair(Runner.app): -[IDEProvisioningRepairStepGenerator_Automatic _getPrimaryCertificateType:team:context:]: creatable certificates sorts: {(
    
)}

2025-04-04 08:31:59 +0000  2025-04-04 08:31:59 +0000 IDEProvisioningRepair(Runner.app): 2025-04-04 08:31:59 +0000 IDEProvisioningRepair(Runner.app): -[IDEProvisioningRepairStepGenerator_Automatic _getPrimaryCertificateType:team:context:]: certificates sorts eligible for main kind: {(
    
)}

2025-04-04 08:31:59 +0000  2025-04-04 08:31:59 +0000 IDEProvisioningRepair(Runner.app): 2025-04-04 08:31:59 +0000 IDEProvisioningRepair(Runner.app): -[IDEProvisioningRepairStepGenerator_Automatic _getPrimaryCertificateType:team:context:]: discovered main certificates kind Apple Distribution

2025-04-04 08:31:59 +0000  2025-04-04 08:31:59 +0000 IDEProvisioningRepair(Runner.app): 2025-04-04 08:31:59 +0000 IDEProvisioningRepair(Runner.app): Sending request F5CE0759-3A1E-48CD-8830-2B7B818A03AD to  for session [email protected]'>'>.
Methodology: POST

Headers:
{
    Settle for = "software/vnd.api+json";
    "Settle for-Encoding" = "gzip, deflate";
    "Content material-Size" = 104;
    "Content material-Kind" = "software/vnd.api+json";
    "Consumer-Agent" = Xcode;
    "X-Apple-App-Information" = "com.apple.gs.xcode.auth";
    "X-Apple-GS-Token" = "AAAABLwIAAAAAGfuW0URDWdzLnhjb2RlLmF1dGi9AGdkeDMTPlO0iAeh85F2imatjwq+RbQk+Ja83lMEXSxxPtOxLImIyDb5iL2VF5N8m+GMNi3zCe8JRHn8TdN03v6KRrto0foE+kIjHZNVTkDDKqf5GmBfIX0yTOV3gkFwMqBdRAXl9+/xzBx2IAxUJX+8XGRo";
    "X-Apple-I-Id-Id" = "001663-10-a5bb392f-b826-41ba-aa77-ee507901bc87";
    "X-HTTP-Methodology-Override" = GET;
    "X-MMe-Consumer-Information" = "  ";
    "X-Mme-Gadget-Id" = "7661D8C7-AE7C-5414-9564-683D95CB3DB4";
    "X-Xcode-Model" = "16.2 (16C5032a)";
}

Payload:
{"urlEncodedQueryParams":"teamId=xxxxxx&filterpercent5BcertificateTypepercent5D=DISTRIBUTION_MANAGED&restrict=200"}

2025-04-04 08:32:01 +0000  2025-04-04 08:32:01 +0000 IDEProvisioningRepair(Runner.app): 2025-04-04 08:32:01 +0000 IDEProvisioningRepair(Runner.app): Obtained response for F5CE0759-3A1E-48CD-8830-2B7B818A03AD @ . Code = 0

2025-04-04 08:32:01 +0000  2025-04-04 08:32:01 +0000 IDEProvisioningRepair(Runner.app): 2025-04-04 08:32:01 +0000 IDEProvisioningRepair(Runner.app): Response payload: {
  "errors" : [ {
    "id" : "e24d0979-e8f8-42de-996c-4efbe253c7c1",
    "status" : "403",
    "code" : "FORBIDDEN_ERROR",
    "title" : "This request is forbidden for security reasons",
    "resultCode" : 7495,
    "detail" : "You haven't been given access to cloud-managed distribution certificates. Please contact your team's Account Holder or an Admin to give you access. If you need further assistance, contact Apple Developer Program Support at https://developer.apple.com/contact/."
  } ]
}



2025-04-04 08:32:01 +0000  2025-04-04 08:32:01 +0000 IDEProvisioningRepair(Runner.app): 2025-04-04 08:32:01 +0000 IDEProvisioningRepair(Runner.app): -[IDEProvisioningRepairStepGenerator_Automatic _evaluateCertificatesWithSession:context:repairable:steps:userAction:error:]: portal has no cert and the sort may be created silently

I discovered later I am unable to get cloud-managed distribution until I am the app proprietor which I’m not, so I attempted checking my provisioning profile if I missed my distribution certificates.
enter image description here

Which I am unable to have beacause we solely received a single distribution certificates.

If anybody is , listed below are how my I configured my signings. (It was identical after I turned it into automated signing)
enter image description here

enter image description here
enter image description here

I believe I actually tried most of issues corresponding to rebooting the mac, deleting the certificates and profiles and redownloading it. Would there be any extra sugestions? I am down for any new strategies.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles