How to make snap in amd64 but install in armhf?

I am new to snap and following kyrofa’s tutorial on creating snaps. I want my snaps to be compatible on various architectures. For example I built a snap on my PC which is amd64, but I would like to install it on a Raspberry Pi, which is armhf. How can I achieve this?

Currently, I receive the following error:

error: cannot install snap file: snap "publisher-subscriber" supported
       architectures (amd64) are incompatible with this system (armhf)

Am I supposed to make any changes in the snapcraft.yaml or something else? Please guide me out!

while cross builing is technically possible, it is extremely complex, typically ou would either build natively on the armhf architecture (i.e. on the Pi itself) or simply use the build service at