I can't support MacOS directly, to develop for that operating system you need a Mac PC, but I don't have one. I've been told that with Wine 9.x you can run the program on Linux, it might work with Mac OS too.
I am using version wine-9.21-6-g969f90165bd, and it gives the following exception:
Module Address Debug info Name (431 modules, 3 for wow64 not listed)
PE-Wine 7bee0000- 7bfeb000 Deferred opengl32
PE 140000000- 14032c000 Deferred c64gamemaker
Mach-O 200000000- 20000b000 Deferred <wine-loader>
Mach-O 20858a000- 208658000 Deferred ntdll.so
Mach-O 2089de000- 2089eb000 Deferred libbrotlidec.1.1.0.dylib
Mach-O 208b41000- 208b55000 Deferred libz.1.3.1.dylib
Mach-O 208b70000- 208b85000 Deferred libbz2.1.0.8.dylib
Mach-O 208bcf000- 208bfb000 Deferred libpng16.16.dylib
Mach-O 208c3f000- 208c67000 Deferred libbrotlicommon.1.1.0.dylib
Mach-O 208c71000- 208df7000 Deferred win32u.so
Mach-O 208f3c000- 208fe3000 Deferred libfreetype.6.dylib
Mach-O 20b142000- 20b1b9000 Deferred winemac.so
Mach-O 20cd37000- 20cd44000 Deferred dwrite.so
Mach-O 20cd4f000- 20cd5b000 Deferred dnsapi.so
Mach-O 20cd70000- 20cd7e000 Deferred ws2_32.so
Mach-O 20cddf000- 20ce7f000 Deferred opengl32.so