Sit back, relax, and enjoy the code.

Resolving the CodeSign error in Xcode when building new iPhone projects

Posted: December 13th, 2008 | Author: gabe | Filed under: iPhone | Tags: | 2 Comments »

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/Bookmark

2 Comments on “Resolving the CodeSign error in Xcode when building new iPhone projects”

  1. #1 Joseph said at 10:47 am on February 7th, 2009:

    Thanks a lot for sharing this. ;)

  2. #2 Nguyen Thuy Lien said at 6:06 am on April 28th, 2009:

    Thank you very much!


Leave a Reply