I've tried it on various Mac computers at my college's graphic design lab, and also compared it to my own Mac, and a friend's own personal Mac. The PS4 controllers worked flawlessly with BT and wired on the personal Macs, but not the labs' computers. The labs' computers detected the controller, but were unable to update the drivers as I had no administrative access to install it. I found that it's usually a driver update that needs to be run because of this.
Steam has an easy automated one that you can run by simply going into Big Picture Mode with the controller plugged in via cord. When you open the Big Picture Mode, it should say that your drivers need to be updated, and just go off of that.
If you're unsure whether or not the computer detects it, just click on the Apple Icon, About This Mac, System Report, USB, and double click on "Wireless Controller" if you see it. Otherwise i'm unsure how to help.