February 2019
Intermediate to advanced
450 pages
11h 59m
English
To prepare for cross compilation to Darwin, we must install the macOS SDK and a build toolchain that can use it. The easiest way to do this is with the osxcross project. This example shows how to download and install the SDK and tools to build for macOS without using a Macintosh computer. This illustration uses Linux but the process is the same for Windows developers using MSYS2 or Cygwin Command Prompts.
We'll be using clang rather than gcc as it's more portable by design. For this process to work, you'll need to have clang, cmake, and libxml2-dev installed using your package manager:
Read now
Unlock full access