Skip to content

ravynOS SDK and KDK v0.7.0.1 (x86_64)

Choose a tag to compare

@mszoek mszoek released this 07 Feb 21:08

This package provides the headers, libraries, and frameworks needed to build ravynOS applications. It is the ravynOS equivalent to Apple's MacOSX.sdk and can be used from any host system that has a suitable .xctoolchain bundle or clang install capable of cross-compiling to Darwin.

This is not complete! Parts of libSystem are still missing. Most frameworks are not yet built. See the ravynOS_SDK_0.7.0.1.manifest file for full info. However, this version is much more correct and complete than SDK 0.7.0.0.

All code contained in this SDK is fully open. No Apple proprietary tools or source was used to create it.

How to use the SDK

The SDK archive includes the ravynOS.platform bundle as well, with the SDK inside it. There are two ways to use it.

  1. As a standalone SDK. This should be unpacked into /Library/Developer/Platforms and you should create a symlink MacOSX.platform to ravynOS.platform for best compatibility. However, you can put it wherever you prefer if you don't need to emulate a Mac build environment. Set the env var SDKROOT=<unpack_root>/ravynOS.platform/Developer/SDKs/ravynOS.sdk and build for the target <cpu>-apple-darwin.
  2. As a seed for the ravynOS full build. If you try to build ravynOS from source without an SDK (either from Apple or this one), you will quickly run into failures. Unpack the SDK to <build_root>/Developer/Platforms. Unset the SDKROOT env var if set. Now build the system, which will produce an updated SDK in place.

How to use the KDK

The KDK is now included in the SDK. You'll find xnu in $SDKROOT/System/Library/Kernels, Extensions in $SDKROOT/System/Library/Extensions, and most other things in /usr/local/lib.