What to do if the keychain says "Certificate is not trusted" in iOS development certificate
The other day, I was setting up various developments on a new Mac, and when I saved the certificate used for Xcode development in the keychain, like the capture, "~ certificate is not trusted" was displayed.
It took a long time to resolve this, so I will leave it as a memorandum.
How to resolve "Certificate is not trusted"
In conclusion, the method I practiced is to download additional certificates from Apple's site.
After a lot of research, on the keychain, select "Get Info" for the certificate and on the details screen that appears, select "> Trust" and set the certificate trust settings to "Always trust". However, I felt that it was dangerous, and when I checked the keychain of another Mac, it was not set like that, so I stopped it.
The certificate written above can be downloaded from Apple's following site.
On this site, click
Worldwide Developer Relations - G3 (Expiring 02/20/2030 00:00:00 UTC) to download the certificate and save it to your keychain. "This certificate is valid" is displayed 🎉
To be honest, I don't know the reason (if anyone knows, I'd be happy if you could tell me).
However, if there are people who are having trouble with the same thing, I hope that it will be helpful.
There was also a page that seems to be a list of certificates on the above site, so I will list it for reference.