Xcode: iPhone app codesign error

Gabe Hollombe picture Gabe Hollombe · Dec 30, 2008 · Viewed 97.4k times · Source

When building a new iPhone app in Xcode, I'm getting this error:

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.

What's the fix?

Answer

Gabe Hollombe picture Gabe Hollombe · Dec 30, 2008

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-screenshot
(source: kickasslabs.com)