The default keychain doesn't have an identity

2019-07-25 19:54发布

问题:

I am trying to test my iPhone app on a real device. It was working before, and now it is not??? I get this error:

Code Sign error: The default keychain doesn't have an identity matching the profile '*' and identity '*'

I have tried deleting all profiles and certificates, and starting over. I have tried cleaning the project, restarting everything...etc. Any suggestions?

回答1:

I think the error is probably because you are mixing up the 'Distribution Provisoning Profile' with the 'Development Provisioning Profile'.