iOS 7.0 No code signing identities found

后端 未结 19 1557
被撕碎了的回忆
被撕碎了的回忆 2020-11-28 02:10
  • certificate is valid
  • xcode 5
  • iOS 7

Code Sign error: No codesigning identities found: No codesigning identities (i.e.

相关标签:
19条回答
  • 2020-11-28 02:41

    After Pulling hair for a long time,I finally found an issue.I've selected wrong certificate while creating Provisioning Profile,By selecting right one,It helped for me.In your case,If it is multiple then You have to try and select one by one to get this issue solved.

    0 讨论(0)
  • 2020-11-28 02:43

    Targeting iOS 8 and 9 on Xcode 7. My development profile is fine, I got this error while archiving the app for uploading to the app store. Here's what I did:

    Xcode > Preferences > Accounts > View Details. Beside iOS Distribution, click the "Reset" button. This will invalidate the distribution provisioning profile that you are using (because you reset the distribution certificate), so edit the profile to include the newly reset certificate.

    Make sure to download both the new distribution certificate and the newly edited distribution provisioning profile. Restart Xcode.

    0 讨论(0)
  • 2020-11-28 02:44

    I just had this problem with Jenkins.

    The solution was to copy the certificate and paste it into the system keychain otherwise Jenkins couldn't read the certificate.

    0 讨论(0)
  • 2020-11-28 02:47

    I had the exact same problem in development. I solved it by

    1. Go to XCode preferences, view details of the Apple ID, and delete the provisioning file that's complaining.
    2. Go to the Keychain Access, and delete the development certificate that's related to the provisioning file you just deleted.
    3. In Apple Member Center, download the development provisioning file you just deleted locally, double click the file to make sure it's appearing in XCode.
    4. Download the development certificate you just deleted locally, and double click to make sure it appears in the Keychain Access.
    5. It should be good to go now.
    0 讨论(0)
  • 2020-11-28 02:50

    Go to the Issue navigator and check if Signing Identity: is present in your Keychain Access. If no, download .cer file and append it to the keychain.

    0 讨论(0)
  • 2020-11-28 02:53

    Thought I would supplement other answers with my own personal experience on this.

    Recently I had an issue whereby two targets would build, and two would fail with the following error:

    Code Sign error: No code signing identites found: No valid signing identities (i.e. certificate and private key pair) matching the team ID “XXXXXXXXXX” were found. CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 7.1'

    This was despite having updated everything in Xcode and on the iOS Developer Center.

    The hint was that the team ID shown in the build failure message about was out of date.

    Sure enough, opening Xcode's project.pbxproj file in a Text editor found the old team id:

    D29A93A318AB96440099C177 = {
            DevelopmentTeam = XXXXXXXXXX;
    };
    

    Incidentally, to get your project.pbxproj file, select your .xcodeproj file and do show contents as shown here:

    enter image description here

    Searching on the target Id D29A93A318AB96440099C177, I could see that it matched one of the failing targets:

    targets = (
        F5E8B19A16E64505006F22D4 /* MyTarget1 */,
        93DB2342183F737100BEA69F /* MyTarget2 */,
        D29A93A318AB96440099C177 /* MyTarget3 */,
        D200F4B518AB968A00F58C21 /* MyTarget4 */,
        F5E8B1C016E64505006F22D4 /* MyTarget5 */,
        589FB35119114DED003D9350 /* MyTarget6 */,
    );
    

    In this case, MyTarget3. To resolve, a simple text search replaced the old team Id with the new correct Id. Problem solved.

    To Summarise, hopefully your situation will be resolved using the answers above rather than delving into the complexities of Xcode's project file. However, if it doesn't, and the error shows an invalid team ID, then it's worth checking to see if that team ID is still around.

    0 讨论(0)
提交回复
热议问题