Safari extension on M1

It is impossible to build and show a Safari extension on my Mac mini M1 (Silicon). The extension never shows up in the Safari Settings.
On an Intel iMac everything works as expected with the same versions of macOS, Safari and Xcode and the same source code. Is this a known issue on the M1 Macs?