Xcode 8 shows error that provisioning profile doesn't include signing certificate

后端 未结 30 1829
太阳男子
太阳男子 2020-11-28 17:55

Xcode 8 shows error that provisioning profile doesn\'t include signing certificate.

This issue is with Xcode-8 only with Xcode 7, same provisioning profile showing r

相关标签:
30条回答
  • 2020-11-28 18:45

    To fix this,

    I just enable the "Automatic manage signing" at project settings general tab, Before enabling that i was afraid that it may have some side effects but once i enable that works for me.

    Hope this helps for others!

    0 讨论(0)
  • 2020-11-28 18:45

    This might help you

    iOS Distribution profile

    Scenario:

    Another developer gave me a certificate.

    I installed this simply

    Error :

    Xcode 8 shows error that provisioning profile doesn't include signing certificate

    Which was not exactly correct error.

    The error was the private key missing

    Preference -> Accounts -> Double click team

    Call the developer to send the private key.

    and installed it into your locally

    SECOND SOLUTION

    • Create a fresh certificate.

    • Edit your existing provisioning profile

    • Include fresh certificate

    • Save and download

    0 讨论(0)
  • 2020-11-28 18:45

    This happens because the provisioning profile can't find the file for the certificate it is linked to.

    To fix:

    1. Check which certificate is linked to your provisioning profile by clicking edit on your provisioning profile in the Certificates, Identifiers & Profiles section of the Apple Developer dashboard
    2. Download the certificate from the dashboard
    3. Double click the file to install it in your keychain
    4. Drag the file into Xcode to be extra sure it is linked

    The error should be gone now.

    0 讨论(0)
  • 2020-11-28 18:48

    There are many ways to fix this, like enabling automatic signing etc. But if you want to understand the reason for this error you need to look at the error message.

    It says that the provisioning profile you have selected in the "General tab", does not contain the signing certificate you selected in the "Build settings" -> "Code Signing Identity".

    Usually this happens if a distribution certificate has been selected for the debug identity under "Build settings" -> "Code Signing Identity".

    If this happens under "Signing (Debug)" it might also be that the "Signing Identity" -> "iOS Development" is not included in the provisioning profile.

    0 讨论(0)
  • 2020-11-28 18:49

    I experienced this issue after recently updating Xcode to version 9.3 The issue was in code signing (under debug) certificate was set to distribution certificate instead of development certificate so this prevented me from installing the app on my devices.

    Here is what I did to solve this issue.

    Project -> Targets -> Select your app -> Build Settings -> Code Signing Identity -> Debug -> Double tap "iPhone Distribution" and change it to "iPhone Developer".

    0 讨论(0)
  • 2020-11-28 18:49

    For what it's worth automatic signing failed every time until I just manually deleted local profiles in: ~/Library/MobileDevice/Provisioning Profiles

    After that automatic signing worked perfectly and it got the right profiles from Apple's servers.

    This was affecting only some builds, notably the ones for which I had manually created profiles for watch app.

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