How to disable the requirement of a provisioning profile in Xcode?

I'm trying to build an app for Mac from an external source and the build process fails due to the requirement of a provisioning profile. I'm new to developing in Xcode and as far as I've know rn, you need to have a developer account to create a profile. I just want to test the app locally. Not sure if a profile is required for that.

How to disable the requirement of a provisioning profile in Xcode?
 
 
Q