Apple has always shared the kernel of macOS after each major release. This kernel likewise runs on iOS machines as both macOS and iOS building on the same foundation. This time, Apple also shared recent developments version of the kernel on GitHub. And you can also find ARM versions of the kernel for the first time.
But first, it’s time for some computer history. The first version of macOS( originally named Mac OS X) “re coming out” in 2001. It was built on top of NeXTSTEP, an operating system developed by NeXT. Steve Jobs founded NeXT in 1985 and sold the company back to Apple in 1997. And Apple decided to use NeXTSTEP as the foundation for Mac OS X.
NeXTSTEP itself are from open-source project BSD. That’s why the Mac you might be currently use is largely dependent on open-source technologies. And that’s also why Apple liberates a tiny, tiny section of macOS each year. You can’t compile it and run your own version of macOS, but other kernel developers likely care about the source code of this kernel.
What about iOS? When Steve Jobs first introduced the iPhone in 2007, he said that the operating system of the iPhone is a macOS fork. “Today, we’re going to show you a software breakthrough. Software that is at least five years ahead on what’s on any other phone. Now how did we do this? Well, we began a strong foundation — iPhone runs OS X, ” Jobs said. “Why would we want such a sophisticated operating system on a mobile device? Because it’s got everything we need.”
Apple afterwards called this operating system iPhone OS, and then iOS. It’s not an exact copy as “there wasnt” swimming windows on iOS. But iOS and macOS use the same Unix-based core named Darwin as well as many frameworks. The Apple Watch and the Apple TV likewise run variants of iOS that likewise rely on Darwin.
So the fact that you can now download ARM-optimized source code of Apple’s kernel doesn’t mean much. Maybe Apple wants to share the kernel of the iPhone to get feedback from the open-source community. Maybe it means that Apple is working on a version of macOS that runs on ARM chips. Maybe it was an accident. Maybe Apple just wanted to see the reaction on Twitter.