Code Sign Error after renewing Prov Prof - works on other projects but not original!
Everything was working beautifully, until I had to renew an expired provisioning profile. I logged on to the dev center, renewed the profile, downloaded and installed it and wham - errors.
I have spent the customary few days trawling forums, deleting and reinstalling certificates, provisioning profiles, keys in the key chain, crying, pulling my hair out and now please god will someone help me.
Basically, after all of the above, deploying to my iPhone WORKS. If I create a new project and build to the device it works fine. I have 2 provisioning profiles, one with an explicit identifier and the other with a wild card. Both work fine with a NEW project.
The problem is that one project in particular (my main one) will not deploy. In the Project Settings, everything looks fine.
The provisioning profiles are fine. The bundle identifier is correct. But I STILL get this error every time:
Check dependencies
[BEROR]Code Sign error: The identity 'iPhone Distribution: Michael Othen' doesn't match any valid certificate/private key pair in the default keychain
If I go back in to the Project Settings and click on the line in the picture, I get the following text below:
The name (“common name”) of a valid code-signing certificate in a keychain within your keychain path. A missing or invalid certificate will cause a build error. [CODE_SIGN_IDENTITY]
However, I also get this in any new project, which all work fine! The error doesn't appear when the settings screen loads, only when I reselect the Code Signing Identity.
I have revoked, renewed, downloaded and re-installed everything more than once. Please, please can someone help me figure this out before I lose all my sanity.
Thanks so much!!!
Michael
|