"Architecture 'arm64' is not supported" error on Apple M1 with core22 base

sadly the snapcraft.yaml syntax changes with every base update, architectures: simply needs a different syntax with core22