Expired iOS certificate
iOS build failure: Expired certificate
If your app build is failing, your download is not working, or your build is not completing and you see the error:
“It seems your app build has encountered an issue. The uploaded certificate has expired. Please upload a valid certificate.”
This means the distribution certificate uploaded in your dashboard is no longer valid in your Apple Developer account.
An expired certificate will always cause the iOS build to fail.
Why this build failure happens
The distribution certificate has passed its expiration date
Apple certificates are valid only for a limited period
Once expired, they cannot be used for app builds
The expired certificate is still uploaded in your dashboard
The system attempts to generate a build using an invalid certificate
The build process fails immediately
How to fix this iOS build failure
Check certificate expiration
Log in to your Apple Developer account
Go to Certificates, Identifiers & Profiles
Open Certificates
Check the expiration date of your Apple Distribution certificate
If the certificate is expired, you must create a new one.
Create a new distribution certificate
Click the + button in Certificates
Select Apple Distribution or iOS Distribution
Upload your CSR file
Download the generated .cer file
Open it in Keychain Access
Export it as a .p12 file
Export the .p12 certificate without setting a password.
Update your provisioning profile
After creating a new certificate:
Go to Profiles
Select your existing App Store provisioning profile
Replace the old distribution certificate with the new one
Regenerate and download the updated provisioning profile
If you do not update the provisioning profile with the new certificate, the build will continue to fail.
Upload the updated files to your dashboard
Go to your app dashboard
Navigate to the iOS configuration section
Upload the new .p12 certificate
Upload the updated provisioning profile
Save the changes
Rebuild your app
Go to the Download section
Click Rebuild under the iOS app card
Once the new certificate and provisioning profile are correctly uploaded, your build failure should be resolved and the download should complete successfully.
Last updated
Was this helpful?