Yes, macOS is (or OS X has) been considered a Unix:
https://unix.stackexchange.com/questions/1489/is-mac-os-x-un...
UNIX® Certified Products http://www.opengroup.org/openbrand/register/
https://unix.stackexchange.com/questions/1489/is-mac-os-x-un...
Is mac considered as a Unix? I think it'd be considered as its own thing by now.