If you are seeing this error when building a Flutter app for a physical iOS device, here is the solution.
I had this error when building for a physical iOS device in Flutter or in the Runner.xcworkspace project. I spent probably 8-9 hours trying to remedy this error, following countless tutorials and answers on other StackOverflow questions. NOTHING worked.
Today, I coincidentally found the solution (in my case) and it may be the one for you if you're experiencing this error since Apple changed their Developer Relations Intermediate Certificate.
Open Keychain Access, select login on the left pane, select Certificates at the top, search apple, delete all:
Apple Distribution certificates
Apple Development certificates
Apple Worldwide Developer Relations Certification Authority certificates
(DO NOT DELETE your Apple Push Services certificates
Click this to download the new Apple Worldwide Developer Relations Certification Authority certificate.
Click it to add it to your Keychain.
In Keychain Access, at the top, go to Keychain Access > Certificate Assistant > Request a Certificate From a Certificate Authority
Type in your email (most likely your Apple ID).
Select Save to Disk and choose your Downloads folder.
Go to developer.apple.com.
Click Account, sign in with your Apple ID / Developer Account.
Click Certificates, IDs & Profiles.
Again, revoke any Development/Distribution certificates.
Click the plus icon, select Apple Development
Upload the signing request you just made.
Download the certificate.
Click the certificate to add it to your Keychain.
Repeat the bold steps for the Apple Distribution option.
Open your Xcode workspace.
Click your project, click your Target, click Signing & Capabilities
If you see a red error below your Apple ID, click the button to resolve it.
You should then be good to go!
I hope this helped you.
I'm having so many issues archiving and uploading my project to the apple store for submission. Probably have gone through changing the bundle identifier-- creating a certificate, updating the app ID and creating a provisioning profile 5 times already.
When I try to validate the project after I've archived it I get the error missing ios distribution signing identity for signing identity (Me)...
Is it because my iphone distribution says 'this certificate has an invalid user'? How do I fix that? I downloaded the certificate link they suggested and used it to create a certificate. Very stuck and frustrated.
Every time I try to change this section to be the iOS Distribution Identity and corresponding Provisioning Profile it says it's unable to find a matching UUID for the provisioning profile. Not sure if that's helpful but it seems like something is mis-configured, just not sure where to look or where to start over, or if there is some lurking configuration from an older mistake that is screwing me up.
delete all the certificates and provisions profiles, reinstall all the certificates and profiles. this might resolve the problem.
Update the apple developer certificate
1->Open keychain
2->Go to view - Show expired certificate
3->Delete the red mark certificate "Apple Worldwide Developer Relations Certificate Authority"
4->Download https://developer.apple.com/certificationauthority/AppleWWDRCA.cer
5->Install it and now see if you are able to use certificate or not
More detail explanation This certificate has an invalid issuer Apple Push Services
I'm trying to upload my iOS app archive to iTunes Connect using Xcode, but when I click "Upload to App Store" I get the error:
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.
I'm really confused, because I had just successfully uploaded an archive for the same app about 2 hours earlier, and then I needed to make one simple fix and then needed to reupload the archive, and now I'm getting this error. I did not touch anything else.
I've done everything that I can think of to try fixing the problem, I restarted Xcode, my computer, went to Xcode preferences to click 'Download All' on the provisioning profiles, clicked "Reset" on the iOS Distribution on the same page, downloaded again the iOS distribution profile from the member center, went to the code signing settings in my app's build settings and manually set the release signing identity to the iOS distribution profile, and rearchived several times.
Update: Turns out it's due to the WWDRCA expiring today: https://developer.apple.com/support/certificates/expiration/
There are a lot of other people experiencing the same issue. I was able to temporarily bypass the issue by changing the date on my computer back 1 day.
The issue is because the Apple WWDRCA expired today (Feb 14, 2016): https://developer.apple.com/support/certificates/expiration/
Open Keychain Access, and in the menu, click View -> Show Expired Certificates. Then, delete the expired Apple Worldwide Developer Relations Certificate Authority from both the login and System Keychains. Install the renewed certificate from Apple by downloading from https://developer.apple.com/certificationauthority/AppleWWDRCA.cer and then opening it.
Also, you might need to restart Xcode to reflect the changes. Then, clean and build your project then re-try generating your archive.
Here's statement from Apple.
Thanks for bringing this to the attention of the community and apologies for the issues you’ve been having. This issue stems from having a copy of the expired WWDR Intermediate certificate in both your System and Login keychains. To resolve the issue, you should first download and install the new WWDR intermediate certificate (by double-clicking on the file). Next, in the Keychain Access application, select the System keychain. Make sure to select “Show Expired Certificates” in the View menu and then delete the expired version of the Apple Worldwide Developer Relations Certificate Authority Intermediate certificate (expired on February 14, 2016). Your certificates should now appear as valid in Keychain Access and be available to Xcode for submissions to the App Store.
https://forums.developer.apple.com/thread/37208
Download https://developer.apple.com/certificationauthority/AppleWWDRCA.cer
and double-click to install to Keychain.
Select "View" -> "Show Expired Certificates" in Keychain app.
Delete Apple Worldwide Developer Relations Certificate Authority certificates from "login" tab and "System" tab in Keychain app.
Edited by :Jeremy Molayem Ensure the new downloaded cert is in both login and system Default to only system tab will still give error.**
Download https://developer.apple.com/certificationauthority/AppleWWDRCA.cer
Double-click to install it in your Keychain.
Then from Keychain, Select View -> "Show Expired Certificates" in Keychain app.
It will list all the expired certificates.
Delete "Apple Worldwide Developer Relations Certificate Authority
certificates" from "login" tab
And also delete it from "System" tab.
Restart your Mac
Now your system is ready to upload the App
This answer below is the only one that works. Please mark it as the solution
The issue is because the Apple WWDRCA expired today (Feb 14, 2016): https://developer.apple.com/support/certificates/expiration/
Open Keychain Access, and in the menu, click View -> Show Expired Certificates. Then, delete the expired Apple Worldwide Developer Relations Certificate Authority from both the login and System Keychains. Install the renewed certificate from Apple by downloading from https://developer.apple.com/certificationauthority/AppleWWDRCA.cer and then opening it.
I had the same problem and was able to fix it by installing this "Apple World Wide Developer Relations Certificate Authority" certificate in my keychain: link
As odd as it may seem, setting the computer's date back one day works.
I was having this exact same problem and I tried literally everything, I deleted expired certificates on keychain, downloaded the new WWDRCA as others have posted a link to. Edited and re-download my provisioning profile. and then quit xcode opened it back up and cleaned but nothing worked. The only thing that did work for me was changing the date on my Mac to Jan 1st 2016 and it uploaded perfectly! This obviously isn't a permanent fix but I'm on a deadline and it needed to get uploaded asap so hopefully this helps someone in a similar situation.
If you have renewed your account developer, go to Provisioning Profiles site and renew in developer profile.
I faced the same issue and the only thing that worked for me was setting the computer's date backwards as suggested by other responders, I tried downloading the "Apple World Wide Developer Relations Certificate Authority" but no luck.
I am developing a Swift iOS app for in-house distribution and I am having trouble exporting the app - I get: "Wildcard App IDs can not be used to create In House provisioning profiles. Please use an Explicit App ID."
In the Member Center, I have created an explicit App ID:
In the Member Center, I have also created an iOS Provisioning Profile for Distribution:
In XCode, I have downloaded the distribution provisioning profile (under preferences > Accounts):
This is a Swift iOS app (my first) and I am trying to export the app (.ipa & .plist file), so that I can deploy it from an Intranet site. Note: I do not have an MDM (nor do I want to purchase one at this time). Xcode version: 7.2.1.
What am I missing?
Edit 2/15/2016: This SO Post is about a similar issue, but the steps outlined there did not resolve the issue for me.
I faced the same problem and almost spent one day to solve the problem.
When I encountered the problem, I thought it was an error related with invalid distribution certificate or provisioning profile. I renewed certificates and all other stuff. Nothing worked! Neither certificates nor provisioning profiles were the root cause.
I have seen an announcement on Apple Developer page. Apple's WWDR Certificate was expiring and newest one available on that page. I updated that certificate and it worked!
Steps you should follow:
Open Keychain Access and remove expired Apple Worldwide Developer Relations Certification Authority from certificates.
Download new certificate as suggested.
Be sure that Apple Worldwide Developer Relations Certification Authority is located under Systems keychain, not in login.
Open XCode (If already, close and then open)
Clean your project.
Select your valid signing certificates and provisioning profiles. (You don't need to refresh your certificates or profiles as annoucement suggested)
Hit Archive button!
Hope this may help someone else.
Keychain show the certificate error > This certificate has an invalid issuer
See the screen shot.
RefLink> This certificate has an invalid issuer keychain
Also I have implemented the above url solution and ipa is created but at the time of uploading the build from Application Loader its show the error as per the screen shot.
Please help anyone.
Download https://developer.apple.com/certificationauthority/AppleWWDRCA.cer
and double-click to install to Keychain.
Select "View" -> "Show Expired Certificates" in Keychain app.
Remove Apple Worldwide Developer Relations Certificate Authority certificates from "login" tab and "System" tab in Keychain app.
Ensure the new downloaded cert is in both login and system Default to only system tab will still give error.**
Delete all your certificates and provisioning profile on developer portal.
Create certificate signing request from keychain.
Recreate all the certificate & provisioning profile using the CSR generated in step -5
Download and install those certificates created on step-6 and try.
Try to install new certificate from link below.
https://developer.apple.com/certificationauthority/AppleWWDRCA.cer
This worked for me. I hope this will help you.
After this create and install new iOS Distribution and iOS Development Certificate.