No signing certificate “iOS Distribution” found

前端 未结 8 1958
再見小時候
再見小時候 2021-02-06 21:03

I am trying to sign an app with my client\'s certificates. I have received the following file from the client

I tried installing the ios_distribution

相关标签:
8条回答
  • 2021-02-06 21:32

    You need to have the private key of the signing certificate in the keychain along with the public key. Have you created the certificate using the same Mac (keychain) ?

    Solution #1:

    • Revoke the signing certificate (reset) from apple developer portal
    • Create the signing certificate again on the same mac (keychain). Then you will have the private key for the signing certificate!

    Solution #2:

    • Export the signing identities from the origin xCode
    • Import the signing on your xCode

    Apple documentation: https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/MaintainingCertificates/MaintainingCertificates.html

    0 讨论(0)
  • 2021-02-06 21:32

    Double click and install the production certificate in your key chain. This might resolve the issue.

    0 讨论(0)
  • 2021-02-06 21:33

    Solution Steps:

    1. Unchecked "Automatically manage signing".

    2. Select "Provisioning profile" in "Signing (Release)" section.

    3. No signing certificate error will be show.

    4. Then below the error has a "Manage Certificates" button. click the button.

    1. This window will come. Click the + sign and click "iOS Distribution". xcode will create the private key for your distribution certificate and error will be gone.
    0 讨论(0)
  • 2021-02-06 21:34

    Our solution was to run

    fastlane match

    as I forgot we setup a Matchfile.

    0 讨论(0)
  • 2021-02-06 21:38

    I got the "No signing certificate" error when running Xcode 11.3 on macOS 10.14.x Mojave. (but after Xcode 12 was released.)

    I was also using Fastlane. My fix was to set generate_apple_certs to false when running Match. This seemed to generate signing certificates that were backwards-compatible with Xcode 11.3

    Match documentation - https://docs.fastlane.tools/actions/match/

    This is the relevant section of my Fastfile:

    platform :ios do
      lane :certs do
        force = false
        match(type: "development", generate_apple_certs: false, force: force, app_identifier: "your.app.identifier.dev")
        match(type: "adhoc",       generate_apple_certs: false, force: force, app_identifier: "your.app.identifier.beta")
        match(type: "appstore",    generate_apple_certs: false, force: force, app_identifier: "your.app.identifier")
      end
    
      ...
    
    0 讨论(0)
  • 2021-02-06 21:40

    I had the same issue and I have gone through all these solutions given, but none of them worked for me. But then I realised my stupid mistake. I forgot to change Code signing identity to iOS Distribution from iOS Developer, under build settings tab. Please make sure you have selected 'iOS Distribution' there.

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