Fixing Xcode 7.2 issue with Missing iOS Distribution signing identity error

February 23, 2016, 6:56 pm
Author: James Griffiths

Here's another Xcode 7.2 error we encountered while attempting to validate an iOS archive prior to submission to the Apple App store:

Failed to locate or generate matching signing assets

Xcode attempted to locate or generate matching signing assets and failed 
to do so because of the following issues.

Missing iOS Distribution signing identity for ... Xcode can request one for you.

Fixing this is, thankfully, quite easy...

  1. Download the Apple provided certificate
  2. Install this certificate in your Keychain Access application (double clicking on the downloaded certificate will do this automatically)
  3. Within the Keychain Access application navigate to the View menu and select Show Expired Certificates
  4. Go to the Keychains section, on the left hand side of the Keychain Access application window
  5. In both the login and System links delete the expired Apple Worldwide Developer Relations Certification Authority certificates that are displayed
  6. (optional) You can also delete ALL other expired certificates here as well (but be sure to add any replacement/updated certificates where necessary)

Now, if you return to Xcode 7.2 and attempt to validate your archived package, prior to submission to the Apple App store, you should see the previous distribution identity warning message is no longer displayed.

Apple have released a statement explaining, in greater detail, the expiration of the Worldwide Developer Relations Intermediate Certificate and what developers need to be aware of with regards to this issue.

Ps. As the newly installed Apple Worldwide Developer Relations Certification Authority certificate expires on the 7th February 2023 you shouldn't see this error message for some time to come (all things being well with software updates and Apple mandated changes!)

Categories

« Return to Posts

Post a comment

All comments are welcome and the rules are simple - be nice and do NOT engage in trolling, spamming, abusiveness or illegal behaviour. If you fail to observe these rules you will be permanently banned from being able to comment.