maaboo
maaboo

Reputation: 137

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

Just upgraded my Xcode to 4.5 from 4.3.2 and got an error: "The identity doesn't match any valid, non-expired certificate/private key pair in your keychains".

Sounds odd, because i successfully built a code right just before. Sure, i have a private key, a valid certificate signed with a key, bundle name exactly match the provisioning profile etc. Nothing was changed except Xcode version.

The one new strange thing is that if i set profile selector to automatic mode it says "No profiles currently match) for Debug and Release, but do a right selection for Debug - Any iOS SDK and Release - Any iOS SDK.

May do i need to do something with an Xcode? Any ideas? Didn't hear before that iOS SDK affect on signing…

Upvotes: 1

Views: 5825

Answers (2)

fred
fred

Reputation: 21

I lost so many days to close this issue too. I got this error after updating Xcode version. it was just because the Xcode was set by default to device instead of simulator. I hope it could help you.

Upvotes: 2

maaboo
maaboo

Reputation: 137

The problem was that the new Xcode (i suspect that it was an Xcode) did a real mess with profiles.

I deleted EVERYTHING (except private key, sure) at my Mac and any device. And re-install: Apple WWDRCA, Development Certificate, all provisioning profiles.

Then manually set signing, because automatic selection pointed to wrong (non existed) profiles.

So i didn't need to revoke and issue certificate.

To any other commenators: Thanks, but i know how to sign apps and sure read all topics posted in comments. Please try to read carefully the whole question especially if you think it's duplicate. Mea culpa, i'm didn't specify that i already read similar topics.

Upvotes: 1

Related Questions