Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Distribution certificate with fingerprint hasn't been imported successfully

Before today, eas build -profile production --platform ios worked well. But since, it give me this error. Do you have any idea what the problem is?

Preparing credentials
Creating keychain
Preparing credentials for target 'XXXX'
Getting distribution certificate fingerprint and common name
Fingerprint = "XXXXXXXXXXXXXXXXXXXXXXXX", common name = XXXXXX
Writing distribution certificate to /var/folders/dz/XXXXXXX
Importing distribution certificate into the keychain
Initializing provisioning profile
Validating whether distribution certificate has been imported successfully
Destroying keychain - /var/folders/dz/XXXXXXX/T/turtle-v2-XXXXXXX
Distribution certificate with fingerprint XXXXXX hasn't been imported successfully
like image 859
emile kaba Avatar asked Feb 01 '26 21:02

emile kaba


2 Answers

The other answer explains what needs to be done, but not how.

To fix the error "Error: Distribution certificate with fingerprint XYZ hasn't been imported successfully" first download the Apple Worldwide Developer Relations certificate from:

https://www.apple.com/certificateauthority/AppleWWDRCAG3.cer

Then install it to Keychain with:

security add-trusted-cert -d -r unspecified -k ~/Library/Keychains/login.keychain-db ~/Downloads/AppleWWDRCAG3.cer

(I got the command from this SO answer.)

like image 188
Albert Vila Calvo Avatar answered Feb 04 '26 16:02

Albert Vila Calvo


Looks like this issue can be fixed by installing the Apple Worldwide Developer Relations Certification Authority certificate

Sauce: https://github.com/expo/eas-cli/issues/1331, https://developer.apple.com/support/expiration/

like image 27
Wilhelm Erasmus Avatar answered Feb 04 '26 15:02

Wilhelm Erasmus