Compiling AppleALC

A guide for compiling AppleALC

Compiling AppleALC

  1. Clone the project and cd into the directory
git clone
cd AppleALC

If you don’t want to compile master (the latest code), then checkout the latest tag:

git checkout tags/$(git describe --tags $(git rev-list --tags --max-count=1))
  1. Clone MacKernelSdk into the AppleALC directory
git clone
  1. Run the Lilu bootstrap script
src=$(/usr/bin/curl -Lfs && eval "$src"

If you get this error:

xcode-select: error: tool ‘xcodebuild’ requires Xcode, but active developer directory ‘/Library/Developer/CommandLineTools’ is a command line tools instance

You can either point it to your existing Xcode install:

# change to if running a beta version
sudo xcode-select -s /Applications/

or ignore the warning and set the command line tools as the default:

xcode-select --install # install Command Line Tools if you haven't already
sudo xcode-select --switch /Library/Developer/CommandLineTools # enable command line tools

(thanks davis for the fix!)

  1. Build with xcode
# make the amount of jobs your amount of cores/threads
xcodebuild -jobs 1 -configuration Debug
# if you'd rather build a release
xcodebuild -jobs 1 -configuration Release
  1. You’re done!

You should have a build directory in which you will either have a Debug or Release folder with your build.

If you don’t, we’re doomed.