Resolving the CodeSign error in Xcode when building new iPhone projects

Quick tip: if you’re just getting started with iPhone app development and trying to build and run an iPhone app project using the iPhone simulator in Xcode and you’re getting an error that looks like:

CodeSign error: Code Signing Identity ‘iPhone Developer’ does not match any code-signing certificate in your keychain. Once added to the keychain, touch a file or clean the project to continue.

The fix is pretty simple.  In the Build Results window (which you probably got to by clicking the error icon in the lower right corner of your project window), change the pulldown menu from ‘Device – iPhone xxx’ to ‘Simulator – iPhone xxx’.  

Xcode Device Pulldown Menu

Share
This entry was posted in iPhone and tagged . Bookmark the permalink.

2 Responses to Resolving the CodeSign error in Xcode when building new iPhone projects

  1. Joseph says:

    Thanks a lot for sharing this. ;)

  2. Thank you very much!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">