Apple renamed "Mac OS X" to "OS X" in 2012 and then to "macOS" in 2016. Update references to use the current name.
set-fontset-font
Font support for company-emoji on Linux or on Mac OS X and using the Cocoa version of Emacs. See https://github.com/dunn/company-emoji/blob/master/README.md