So, I just renewed my Apple developer membership and I started getting this error "Warning unable to build chain to self signed root for signer apple Development"
.
I am unable to archive my apps in order to upload them to the AppStore, I tried these threads with no luck:
https://developer.apple.com/forums/thread/86161
Always 'Ad Hoc Code Signed' for Embedded Binary Signing Certificate
https://developer.apple.com/forums/thread/662300
PS: I have "this certificate is not trusted"
in my Apple development and Apple Distribution certificates in the Certificates section on the keychain access. I don’t know if that is related to my issue?
2
Answers
What worked for me was to download the
"Apple Worldwide Developer Relations Certification Authority"
that expires in 20 Feb 2030 along side with the already existent one that expires in 7 Feb 2023.That was enough to make the
"this certificate is not trusted"
go away, and to let me build and archive my app again.I have this issue recently and I have found out that this is a problem with the OS.
This solution seems like a hack but it works!
Go to Xcode Preferences menu (command+,) and then Accounts tab
click on the gear icon on the bottom left and Export Apple ID and Code Signing Assets…
Set a password for the export
Delete all accounts.
Build and face the new error.
Import them back using your password.
It’s should working again now.