If you want to get technical about it, the Mac kernel itself isn't a traditional UNIX or BSD kernel; XNU (which, conveniently enough, stands for "X is not UNIX") is a hybrid composed of the Mach microkernel, some FreeBSD components, and Apple's own driver model.
The system as a whole is able to brand itself as UNIX compliant, though, because it complies with the Single UNIX Specification. That spec is concerned about userspace behavior, not kernel or implementation, and you don't have to include any actual UNIX source code to be able to brand your OS as a "UNIX" according to the spec and trademark guidelines.
Yep, XNU is Mach microkernel + FreeBSD kernel. Some features of XNU are even ported back to FreeBSD kernel. IMHO, that is enough to draw direct connection from XNU to original UNIX (without ™), unlike Linux kernel.
Re:How Unix made it to the top
by TickleSteve on Sunday December 18, 2016 @05:36AM
(#13205246)
Mach microkernel + FreeBSD userland.... not kernel.
BSD is a 'personality' layer.
Original Unix by AT&T was open sourced under BSD terms, but long after Linux and macOS came into being.
He asked about the Kernel. The Kernel is XNU / Mach, modified to act like a monolithic/hybrid kernel. The BSD code in Mac OS X is all user space, much of which probably isn't in iOS at all.
Re:How Unix made it to the top
by Udo_Schmitz on Sunday December 18, 2016 @09:21AM
(#13205866)
Nope. Part of kernel as well: https://en.wikipedia.org/wiki/XNU#BSD
Apple MacOS X is based on FreeBSD code (and lot of other code), and it certified as UNIX compatible, so MacOS X can be named as UNIX. iOS is based on MacOS X, so iOS is UNIX too.