i think mac doesn’t have built in support for xbox controllers. so they normally don’t work unless you download some kind of driver or third party app. you can probably find something on the internet!
try launching the game via Steam if you have it - Steam Big Picture mode can (in some circumstances, when the planets and the stars align in just the right way) act as a driver for your controller(s)