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...
- Download the Apple provided certificate
- Install this certificate in your Keychain Access application (double clicking on the downloaded certificate will do this automatically)
- Within the Keychain Access application navigate to the View menu and select Show Expired Certificates
- Go to the Keychains section, on the left hand side of the Keychain Access application window
- In both the login and System links delete the expired Apple Worldwide Developer Relations Certification Authority certificates that are displayed
- (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!)