It's surprising to me macs aren't a more popular target for games. They're extremely capable machines and they're console-like in that there isn't very much variation in hardware, as opposed to traditional PC gaming. I would think that it's easier to develop a game for a MacBook than a Windows machine where you never know what hardware setup the user will have.
Mac dev sucks. You're forced to use macos and xcode (for the final build anyway). You're not able to virtualize the build machines. Apple is actively hostile to how you would build for Linux or PC or console.
If you are building your engine/game from scratch, you absolutely do not need to use Xcode