Provisioning Profile

I get the below error while I build the app for a device


Provisioning profile "######" doesn't include signing certificate "##########".


Provisioning profile "########" doesn't include the currently selected device "#########".


What do I need to do to resolve this?

Replies

What version Xcode, on which version iOS, using what device?


Did you use Xcode to create that app?


Do you have a paid Developer Program account or are you attempting to work with Xcode's free provisioning?

Seems like there's a button to add this on the Signings and capabilities tab under the signing heading

Answer by dory2380 should be the accepted answer. There is a button indeed, called "Register device" under Signing and Capabilities.