When I try to distribute an app I get this error:
Xcode attempted to locate or generate matching signing assets and failed to do so because of the f
If you are not using a beta version of Xcode, and you have regenerated all your certificates, and you are doing everything you should and it is still not happening; this is what worked for me:
1. Backup your code, 2. delete your project, 3. recreate the project anew, 4. add your code back in and voila successful build for validation and submission to the App Store.