Hi Mohamed,
Yes it works, there are just some few steps that has to be done.
Here a Step by Step guide to get it run.
https://www.mendix.com/blog/how-to-set-up-mendix-studio-pro-on-mac/
By the way the official mendix guide says that you can use Parallels to install windows and then put mendix on it. But 1 big issue is: its not free.
There are other tools that are free for mac that does the same thing.