IOS No signing certificate matching with a private key was found.

Trying to submit an update to my app to the app store, my certificates were expired. so I deleted all the certificates and provisioning profiles from and from the Keychain and deleted provisioning profiles from "~/Library/MobileDevice/Provisioning Profiles" and option-clicked Product → Clean Build Folder, and started process from the beginning, but new problem arises (see title of post).


  1. In clicked Certificates then selected "iOS, tvOS, watchOS" from the combo lisstbox.

  2. Clicked [+] on top right corner.

  3. Clicked the "App Store and Ad Hoc" radio button.

  4. Clicked Continnue

  5. Launhed Keychain App

  6. Keychain Access → Certificate Assistant → Request a Certificate from Certificate Authority...

  7. User email same as my Apple ID, Common Name my first and last name.

  8. Click the "Saved to disk" radio button, Continue and saved the "CertificateSigningRequest.certSigningRequest" file to Downloads folder.

  9. Back to clicked continue.

  10. Clicked choose file... and selected "CertificateSigningRequest.certSigningRequest" and clicked Continue.

  11. On the "Your certificate is ready." page I clicked Download to download the "ios_distribution.cer" file to the Downloads folder and clicked done.

  12. Double clicked "ios_distribution.cer" file which opened up in Keychain Access and confirmed it was addedd successfuly.

  13. Certificate appears as:

  14. iPhone Distribution: My Name (UKF99V45DM)

  15. My Name kind: private key, RSA, 2,048-bit

  16. usage: any

  17. Back to clicked on Provisioning Profiles

  18. Clicked [+] on top right corner.

  19. Clicked "Distribution - App Store" radio button, then clicked Continue.

  20. Chose the App ID (that I'm working on), then clicked continue.

  21. Clicked the iOS Distribution certificate radio button, then continue.

  22. For profile name I wrote: "My app name Provisioning Profile", then clicked continue.

  23. Then clicked the download button to download the "My_app_name_Provisioning_Profile.mobileprovision" file.

  24. Back to Xcode, opened up the app project file.

  25. In the Project - Targets window, I clicked the "Automatically manage signing" checkbox, selected my team name, then unckecked the "Automatically manage signing" checkbox.

  26. For Signing for Debug and Release, I did the same:

  27. Provision Profile → Import Profile... and selected the "My_app_name_Provisioning_Profile.mobileprovision" file from step 19.

  28. But now for both the provision profile status in Xcode is: Provisioning profile "My App Name Provisioning Profile" doesn't include signing certificate "iPhone Developer: My Name (XUM88H55M8)".

Even though I double check that in Keychain Access the certificate is in there with a key.

Any help would greatly be appreciated.

Original Source