Xcode 6 Error in the App Store with "Your account already has a valid iOS distribution certificate"

I am using the latest Xcode (6.1) and I need to send the application as soon as possible, but I cannot get around "Error of your account with valid iOS distribution certificate".

I have a client provisioning profile and I have his distribution certificate (which is valid) and his private key (I checked with Keychain, it is definitely there). The package identifier is also correct. I deleted the profiles and provisioning certificates and reinstalled the client many times.

What could be causing this problem? I saw a lot of topics here with this problem, so I apologize in advance for creating another clone, but I really don't know how to fix it.

edit . I am starting a completely new installation of Yosemite, by the way,

+71
ios certificate xcode app-store
Nov 03 '14 at 15:58
source share
13 answers

He decided by editing the iOS resource allocation profile in the Developer Developer Center.

For some reason, 2 certificates were selected for the distribution distribution profile. I switched to another certificate and I was able to verify and submit my archive build for beta testing.

So, you can have several certificates for signing your Provision profiles. Make sure you have the right one (try everything) and hopefully this works.

I tried many things, such as Exporting a developer profile from Xcode accounts and importing it into the organizer, setting up provisioning profiles from the member center, adding them to my keychain. But none of them worked. It only started working after editing the corresponding Provisioning Profile manually.

You can also delete all existing Provisioning Profiles and let Xcode create new ones for you. That will work too.

+34
Apr 17 '15 at 22:55
source share
β€” -

I also had this problem, which turned out to be caused by an export attempt to deploy ad hoc using a development development profile instead of a distribution profile. This seems to be no longer supported in Xcode 6.1. As soon as I created a special profile and found that the problem disappeared. A more useful error message would save me hours of work and would be very helpful, Apple.

This topic has been helpful:

xcode 6 beta 2 ipa export problem "Your account already has a valid iOS distribution certificate"

+15
Nov 19 '14 at 17:51
source share

In addition to all the other answers, there was another possibility after 2/15/2016: the old World Wide certificate has expired, and I think everyone has already uploaded the new certificate (or check this from ). However, you will see this error if you do not delete the expired one. You may need to select View -> Show Expired Certificates to display expired certificates. If the error still exists, try restoring the provisioning profile as reported by others.

+11
Feb 15 '16 at 22:35
source share

I switched to the new Mac when I encountered this problem. On your older Mac:

  • Go Preferences > Accounts > Select Account > Details .
  • In the drop-down list, right-click on iOS Distribution (or something else is the name of your distribution certificate).
  • Export...
  • Set a password for the .p12 file.
  • Move and install this .p12 on the new Mac.
  • Try Again .
+8
Apr 15 '16 at 5:37
source share

Another possible cause of the problem (at least in my case) was that in my Keychain Access I had two certificates for the team I was working with. One of them expired, and the other was the one I wanted to use. Removing an expired certificate in Keychain Access resolved the issue.

+4
Feb 07 '16 at 22:00
source share

I ran into this problem and I wanted to not guess about my push notifications.

The easy solution for me was to simply go to developer.apple.com> project> certificates, identifiers and profiles> profiles> create a new profile (for development or distribution)

Download the created profile, drag the profile over the Xcode icon, and then set your new profile as the provisioning profile for your target.

This fixed my problem - in the future, it may provide further assistance.

+3
Aug 10 '16 at 5:18
source share

The error message may mean that you need to get a distribution certificate and a private key from the developer who created them.

This can happen if any other team member clicked on the attractive Reset button (which means canceling the certificate and creating a new one). Here is the image that the revoked certificate looks like:

image showing a canceled certificate message

You can export a valid certificate from the developer who created it and import it into other team members. Key binding

  • Go to the Keychain Access app.
  • Click "Login" in the upper left field
  • Click "Certificates" in the lower left box.
  • Check if the team member has a valid certificate:
    • when you click on the "Distribute iPhone" certificate
    • everyone else sees that β€œthis certificate has been canceled” in red at the top.
      • (Perhaps backing up the remote certificate to avoid any irreversible actions)
      • delete revoked certificates
  • Export one valid certificate and distribute it as a team
  • Import certificate file for everyone else
+2
Apr 05 '16 at 12:35
source share

Today I solved the problem by removing from the old keychain certificate the Apple Worldwide Certificate Certification Authority and installing a new one (exp. In 2023)

+1
Apr 21 '16 at 17:01
source share

I will add here because, although the accepted answer got me on the right track, this was not a solution. There was a second (automatically generated by Xcode) distribution that I recalled. After that, a new error appeared. ("The application identifier with the identifier is" unavailable "... this also did not help) Ultimately, it led me to the fact that my application identifier on the member portal did not have the rights corresponding to the assembly.

+1
Apr 29 '16 at 22:16
source share

I solved this problem by editing the training profile in the participant center, which is used in my application, and reinstalling the training profile.

+1
Jul 23 '16 at 7:11
source share

I recently changed my computer. The reason for me was that I had several developer certificates on the Apple Developer portal. The solution was:

  • Go to the Apple Developer Portal.
  • Go to Certificates β†’ Products
  • Click Cancel for the oldest certificates and save the latest version.

Revoking certificates will not affect your Apple Store apps :).

+1
Jul 11 '17 at 16:35
source share

This happened to me when I accidentally reset a certificate on another mac. Here is my script.

Mac1 - Had a working certificate.

Mac2 - I accidentally reset iOS distribution certificate

Mac1 stops working and I get the message "Your account already has a valid distribution certificate"

The fix was

  • On Mac2, access to keys -> certificates -> iOS distribution certificate (for you / your company) -> export to p12 file (it will ask you to set a password)

  • Copy the exported file to Mac1

  • On Mac1, access to keys -> certificates -> iOS distribution certificate (for you / your company) -> delete (this is the old one that doesn't work)

  • On Mac1, double-click the p12 file (then enter your password).

You should see the new iOS distribution certificate (for you / your company) in the Keychain access certificate section.

This fixed the problem for me on Mac1.

0
Jun 05 '16 at 8:49
source share

Got this solution by deleting the provisioning profile that Xcode manages (XC iOS Ad Hoc: *) from Member Center

0
Nov 07 '17 at 17:44
source share



All Articles