0

Whenever I try to build my iPhone app in Xcode 3.2.1 I get an error that says:

Code Sign error: The identity 'iPhone Distribution: foo' doesn't match any identity in any profile

This is a distribution certificate, however it worked perfectly with a developer certificate.

I have revoked and installed all of my iPhone certificates, and Google hasn't been of much help either. How can I build my app without this error?

Sid
  • 3
  • 1

1 Answers1

0

This looks similar to an earlier question, that says you need to generate a new provisioning profile for your new certificate.

EDIT:

From looking at the Code Sign error, it seems it is trying to match up your distribution certificate with a provisioning profile. I have not yet distributed an app to the App Store, but it seems you have to create an "App Store Distribution Provisioning Profile". See this doc from the Apple Developer Connection.

Community
  • 1
  • 1
pythonquick
  • 10,789
  • 6
  • 33
  • 28
  • Thanks for the response, but I need to fix the distribution certificate, not the developer certificate (which works perfectly). In other words, I need to code sign this app to distribute it on the App Store. – Sid Oct 11 '09 at 00:01