How do I create a provisioning profile for an iPad app to run on Mac?

I am trying to run an iPad iOS 13 app on Mac and I am getting a Provisioning Profile error. This error doesn't occur unless I check off Mac in Xcode Targets.


I have added Mac Capability to my App ID and recreated the Provisioning Profile but it didn't help.


How do I configure a provisioning profile to run iPad app on Mac?