The build system requires the Developer Commandline Tools to be installed, as well as the OS X 10.8 SDK.
To build binary packages, run:
cd osx
rake
You can view all tasks by running rake -T
.
You are required to use an older version of Xcode as you need to have the OS X 10.8 SDK installed locally. You can install Xcode 5.1.1 as follows.
Install xcode-install using
[sudo] gem install xcode-install
xcversion update
xcversion install 5.1.1
This will install the old Xcode release in /Applications/Xcode-5.1.1.app
.
To copy over the SDK from the old Xcode to the new one, just run
rake install_sdk
Open the Developer Portal download page and login with your Apple account. When you see the list of downloads, just open the xcode_5.1.1.dmg link in your browser.
Open the Xcode .dmg file. Right click on Xcode.app and choose "Show Package Contents".
Locate the OS X 10.8 SDK inside the Xcode package contents. Copy this directory to /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/.