'Provisioning profile doesn't include signing certificate when distribute app

I used A's signing certificate to distribute the app before.Then changed it to B's signing certificate

It was successfully archived. I was stuck at last step which showed "Provisioning profile doesn't include signing certificate"

I can't delete all certificates cause there are other people use mac

Tried following solutions which are not working

  1. In accounts and downloaded manual profiles
  2. delete B's certificate in key access

Do anyone know how to solve it? or how to update the signing certificate in Provisioning profile? Thank you so much



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source