The identity 'iPhone Developer' doesn'

2019-02-16 17:57发布

问题:

I want to test my app in a device and I'm stuck with this error for hours:

The identity 'iPhone Developer' doesn't match any valid, non-expired certificate/private key pair in your keychains

I've followed this guide, and I've searched similar questions here on stackoverflow.

This might help: in my Provisioning Profiles my certificates have "Valid signing identity not found" and my Archives tab is empty.

Any help would be nice.

回答1:

This is about what is in your keychain. Look in your keychain (with Keychain Access). Do you or do you not have a valid up-to-date development certificate? Hint: it looks like this:

Except that the one in the screen shot is expired! You need to have one, and it needs to be not expired. If you don't have one, then get one.