Code Sign error: No codesigning identities found: No codesigning identities (i.e.
Make sure that your certificate is connected with your private key:
Open Keychain access, login, Certificates. Find the certificate inside the list and see if it is properly paired with your private key.
If certificate is not signed with private key, delete it, go to apple developer page and create new certificate. Sometimes it will be needed to revoke old. This new certificate will be now properly signed with your private key.
Now, when you have new certificate, recreate needed provisioning profiles that will include new certificate in creation process.
Note, when somebody from your team reset this certificate with his private key, this same problem can appear again during the refresh process. I am not sure, but it seems that every developer in team must have own certificate for distribution.