"iPhone Distribution" certificate is not trusted

I had the Apple Worldwide Developer Relations Certification Authority certificate that expires on Feb 7, 2023 at 3:48:47 PM.

My issue was resolved when I installed the one that expires on Feb 19, 2030 at 6:00:00 PM.

You can download either one of those here: https://developer.apple.com/account/resources/certificates/add


Trust in an Apple certificate is provided through the Apple Worldwide Developer Relations Certification Authority certificate. It sounds like you don't have one. It looks like this:

enter image description here

If you don't have one of those, get it from the Apple Developer Member Center. Even if you do have one, try downloading a newer one.