Skip to main content

Code Sign error: The identity "iPhone Developer" doesn"t match any valid certificate/private key pair in the default keychain



Code Sign error: The identity 'iPhone Developer' doesn't match any valid certificate/private key pair in the default keychain




Comments

  1. This happens if you forgot to change your build settings to Simulator. Unless you want to build to a device, in which case you should see the other answers.

    ReplyDelete
  2. I 'tripped' across my solution after 2 days...XCODE 4.0

    I've just upgraded to XCode 4.0 and this code signing issue has been a stunning frustrastion. And I've been doing this for over a year various versions...so if you are having problems, you are not alone.

    I have recertified, reprovisioned, drag and dropped, manually edit the project file, deleted PROVISIIONING paths, stopped/started XCODE, stopped started keychain, checked spelling, checked bundle ID's, check my birth certificate, the phase of the moon, and taught my dog morse code...none of it worked!!!!

    --bottom line---
    1. Goto Targets...Build Settings tab
    2. Go to the Code Signing identity block
    - Check Debug AND Distribution have the same code signing information
    ..in my case "IPhone Distribution:, dont let DEBUG be blank or not filled in.

    If the Debug mode was not the same, it failed the Distribution mode as well...go figure. Hope that helps someone...

    ReplyDelete
  3. Check if you are building for device instead of simulator. Go to Xcode menu 'Project' -> 'Set Active SDK' change from 'Device' to 'Simulator'

    Under Xcode 4.1
    Check your build settings for the project and your targets. For each check under 'Code Signing' check 'Code Signing Identity' and change over to 'Don't Code Sign'

    ReplyDelete
  4. This usually happens to me when I forget to change the company to match mine.


    Select the target under Groups & Files
    Click the Get Info button
    Choose the Properties tab
    Under Identifier, make sure it says com.YOURREALCOMPANYNAME.APPNAME


    When you create a new app, it usually says, "com.yourcompany". Change it to whatever you registered with, in my case com.DavidKanarek

    ReplyDelete
  5. I had the same problem. I'm very new to iphone development and it was my first time trying to load my program onto my iphone. The message is correct, you need to create a certificate in the keychain. The best walkthrough is here:

    http://developer.apple.com/ios/manage/overview/index.action

    You of course need to have a developer account (need to have paid the $100 yearly fee).

    I hope this helps.

    ReplyDelete
  6. In XCode 4.0 main workspace, at the top left side & just after the "Stop Button", there is scheme selector, click on it and change your scheme to IPhone Simulator. That's it

    ReplyDelete
  7. if you are just using the simulator and just upgraded then this solved the issue for me:
    go to menu->project-edit project setting.
    find code signing section (you can type 'code' in the quick search)
    in the code signing identity select 'any sdk' and set the value to 'Don't Code Sign'

    ReplyDelete
  8. When I had this problem, the issue was I did not have the private key necessary for the developer certificate to be valid.

    The solution was:


    Have the developer who created the certificate export their private
    key matching the iOS developer public key. see
    http://developer.apple.com/ios/manage/certificates/team/howto.action
    Open this file (Certificates.p12) on your machine (with KeyChain),
    and enter the password the other developer used when exporting. It
    is now imported into your KeyChain.
    Now connect iOS device and rebuild targeting the iOS device.

    ReplyDelete

Post a Comment

Popular posts from this blog

Slow Android emulator

I have a 2.67 GHz Celeron processor, 1.21 GB of RAM on a x86 Windows XP Professional machine. My understanding is that the Android emulator should start fairly quickly on such a machine, but for me it does not. I have followed all instructions in setting up the IDE, SDKs, JDKs and such and have had some success in staring the emulator quickly but is very particulary. How can I, if possible, fix this problem?

Java Urban Myths

Along the line of C++ Urban Myths and Perl Myths : What are the Java Urban Myths? That is, the ideas and conceptions about Java that are common but have no actual roots in reality . As a Java programmer, what ideas held by your fellow Java programmers have you had to disprove so often that you've come to believe they all learned at the feet of the same drunk old story-teller? Ideally, you would express these myths in a single sentence, and include an explanation of why they are false.

CCNA 1 Final Exam 2011 latest (hot hot hot)

  Hi! I have been posted content of ccna1 final exam (latest and only question.) I will post the answer and insert image on sunday. If you care, please subscribe your email an become a first person have full test content. Subcribe now  Some question  have not content because this question have images content. So that can you wait for me? SUNDAY 1. A user sees the command prompt: Router(config-if)# . What task can be performed at this mode? Reload the device. Perform basic tests. Configure individual interfaces. Configure individual terminal lines. 2. Refer to the exhibit. Host A attempts to establish a TCP/IP session with host C. During this attempt, a frame was captured with the source MAC address 0050.7320.D632 and the destination MAC address 0030.8517.44C4. The packet inside the captured frame has an IP source address 192.168.7.5, and the destination IP address is 192.168.219.24. At which point in the network was this packet captured? leaving host A leaving ATL leaving...