Search code examples
iosxcodecode-signingarchiveios-provisioning

No Provisiong profiles with a valid signing identity were found and Failed to locate or generate matching signing assets


I have my ios Project running smoothly till yesterday. Today i have to give one build to TestFlightAap generated a new Adhoc provisioning profile by adding one additional device to my provisioning profile. I have deleted the old provisioning profile and when i used the new one which i had generated, it starts giving me the following error.

enter image description here.

If i press fix issue it uses Automatic in the provisioning profile selection and allow me to archieve it but when i try to export the IPA it starts giving me the following error.

enter image description here.

The very same thing happened on another Mac where i am able to do the archieve before but when i used the new provisioning profile it starts giving me the same error.

When i checked the Distribution certificate in XCodePreferences ==> Accounts ==> View Details. The status forDistribution certificateisRevoked`. But its not the same on the other MAC where this problem happened. I am using XCode 6.1

enter image description here

Can some body guide me how i can successfully archieve with the provisioning profile i want.

Thanks


Solution

  • You may have created a new provisioning profile using certificates the private key for which have been deleted from your keychain. Or the certificate has been created from another mac. I have faced such issues and the best solution is to create a new certificate and a new provisioning profile.