Prerequisites

  • Xcode Command Line Tools (CLT). To install CLT on your machine, open a terminal and run:

    xcode-select --install

    If you do not have CLT installed, you will be presented with a dialog box allowing you to install CLT.

  • Additionally, for OSX Mojave (10.14), you also need to install the header package:

    open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg