-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eas build -p ios --profile development --local , error Distribution certificate with fingerprint xxxxxxxxxxx hasn't been imported successfully #1331
Comments
Are you getting this error repeatedly? When running |
when i tried to running |
Do you use |
no, i don't. should i add it to my root project? |
No, you don't if you don't need local credentials. I'm just trying to understand the problem. |
yes, it works without any problems. |
It seems stupid but can you try restarting your Mac and running local build again? |
yes, already did that, but still it gives the same error. The error says |
same issue for me... build is working on eas server but not on --local. Already tried factory reseting my m1 and following steps from here with fresh project... |
I was experiencing the same problem. While trying to debug I manually downloaded the Distribution Certificate from the Credentials section on the EAS dashboard. When adding it to my macOS keychain (password is provided in .md file in the download) it shows the Certificate is untrusted. Following this thread I was missing this newer "Apple Worldwide Developer Relations Certification Authority" certificate. After adding this Apple certificate the distribution certificate is also trusted. Furthermore deleting the distribution certificate again and then running a I'm not sure, why this certificate is missing, as Apple states it should have been updated with XCode. |
hi kiwi, thank you so much for this, your explanation solved my problem. also thank you @dsokal for helping me! |
@ KiwiKilian |
成功了。。。微信:yjavacn |
Same issue happened again with latest Xcode 14.2 and this certificate solved it |
I was running in to this issue and fixed it by opening xcode and logging in to my apple developer account inside xcode. Hope that helps. |
Thanks a lot @KiwiKilian . |
Thanks a lot man. This worked |
I usually run "eas build --profile production --platform ios" on Windows and since yesterday I get the following error: Do you have any ideas? |
@iamemiliano This issue is only about using |
@KiwiKilian's solution works with additional step mentioned here: https://discussions.apple.com/thread/2737481?sortBy=best |
Thank you so much for this. |
this is still very relevant in 2024 - thanks!! |
thank you very much! this solved my issue! |
Just wanted to say thanks! |
Steps:
security add-trusted-cert -d -r unspecified -k ~/Library/Keychains/login.keychain-db ~/Downloads/AppleWWDRCAG3.cer (I found the command in StackOverflow.) |
Thanks for this! Worked for me. |
am i need regenerate provisioning profile after install Apple Worldwide Developer Relations Certification Authority ? @PROMEDIK-INDONESIA @KiwiKilian |
Thanks. Wish I found this three hours ago! 😁 |
Cheers ✨ @KiwiKilian |
I had this issue too. I fixed it by just building an app directly in xcode. I guess it must have updated whatever it needed, and now local eas builds work fine. |
This works locally for me. I'm running --local builds in github actions and getting
which i believe is related. Is there a fix for this issue when fetching certs --non-interactive --local in gha? Locally the fix in the comment above did work. |
@bromeooo Did you find a solution to this? |
@cryptobench yes. This error is misleading, it just means expo can't find ANY certs. Try generating certs with the cli and making sure your build is pointed at the right expo project (with the certs). |
@bromeooo Does that mean you upload your cert to the github repo? I am finding it hard to find any documentation that points me towards logging into apple somehow via the github actions runner. |
@cryptobench so expo will set you up. If you use expo - cli locally and run a build with eas. It will prompt you to log in and generate certs for you. The certs are linked to your apple account and will exist on your project expo dashboard. After you do this locally you can run that same build on gh actions and it will find the certs non-interactive |
Hello. I have the same problem with my certificates. My EAS builds were working as expected until I have created a new App ID and certificates. The problem is that I do not have a Mac so I am using OpenSSL to handle the certificates. Steps Taken
Note that I have also issued a certificate for APN. After those changes the build fails at the "Prepare Credentials" step with error message: Distribution certificate with fingerprint xxxxxxxxxxxxxxxxxx hasn't been imported successfully |
Thanks, it works!!! |
@KiwiKilian's above workaround didn't work for me, it said @TarifEzaz's additional step worked to solve it though:
|
Hello guys i'm getting this error as well (inside expo builds), but in my case i don't have a mac so i follow this steps in my linux distro fedora
If someone already made this work, tell me the steps i should follow please |
@KiwiKilian @AlbertCardo . Thanks for this! Worked for me. |
Build/Submit details page URL
https://expo.dev/accounts/dirabbieto/projects/iidi-project/builds/0fbe0224-2b74-420c-99f5-2ff56e8b8d47
Summary
i want to install React Native Google Mobile Ads (https://github.com/invertase/react-native-google-mobile-ads) on my project, but when i finished setup and run
eas build -p ios --profile development --local
on my terminal, it shows errorError: Distribution certificate with fingerprint *************** hasn't been imported successfully
.Managed or bare?
managed
Environment
Error output
Reproducible demo or steps to reproduce from a blank project
https://snack.expo.dev/@dirabbieto/expo-google-admob-setup
The text was updated successfully, but these errors were encountered: