@AlejandroEspinoza
In addition to your answer and to make things clear:
Yes, you have to add the device UDID instead of its UUID.
But you have to select "macos" as the platform and enable "Include Mac Devices" in the provisioning profile. This was kind of confusing because it's an iOS provisioning profile, but the device must be "macos"!