How to fix :
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.
I also faced the same issue today. The following steps fixed my issue.
1/ Download https://developer.apple.com/certificationauthority/AppleWWDRCA.cer
2/ Double-click to install to Keychain.
3/ Then in Keychain, Select View -> “Show Expired Certificates” in Keychain app. It will list all the expired certifcates.
4/ Delete “Apple Worldwide Developer Relations Certificate Authority certificates” from “login” tab
5/ And also delete it from “System” tab.
Now you are ready go.