Xcode: iPhone app codesign error

后端 未结 10 642
一生所求
一生所求 2020-12-23 20:18

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

codesign error: code signing identity \'iphone developer\' does not match any co

相关标签:
10条回答
  • This situation is happening when you receive a Xcode project from other person.

    Here is what I did to solve the problem.

    1. Register your key in a key chain access. You can download your key in iOS provisioning portal. (Application -> Utility -> Keychain Access)
    2. Install Provisioning file for the app.
    3. Change iPhone developer in a project configuration. (Target Info -> Build tap -> Code Signing -> Code Signing Identity and Any iOS)
    0 讨论(0)
  • 2020-12-23 20:55

    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’.


    (source: kickasslabs.com)

    0 讨论(0)
  • 2020-12-23 20:55

    I had the same problem. Found the fix here:

    iphone sdk tools utilities

    In Keychain Access.app my Developer Certificate would show up as "This certificate was signed by an unknown authority". The reason was that I didn't have the ADC intermediate certificate (which you can download from "Provisioning Program" in "Certificates" tab. Once I installed this the developer certificate showed up correctly in keychain and my code could be deployed on the bloody phone.

    0 讨论(0)
  • 2020-12-23 21:04

    No Voodoo necessary. Sometimes some app changes default keychain and Xcode stops finding iPhone Developer Keys. The solution is simple (it worked for me):

    1. List item Start Keychain Access app
    2. Ctrl+click on keychain where you stored your development keys and select Make Keychain Default
    3. Enjoy developing great iPhone apps.
    0 讨论(0)
提交回复
热议问题