Skip to content

Compiling G2 on OS X (with Xcode)

Rob Giseburt edited this page Jun 9, 2014 · 21 revisions

This page is for compiling the G2 project on OS X with XCode. Please see Getting Started with G2 for information about hardware and compiling on other platforms.

What's Needed

To compile G2 on OS X with Xcode you will need to install XCode (Mac App Store). Luckily, it's free.

If you wish to use the OS X command line, then visit Compiling G2 on OS X and Linux (command line) as well.

Cloning the git repository.

The easiest way on OS X to clone the git repo is probably to:

  1. Download and install the GitHub app.
  2. Log into the GitHub web site -- register if needed, it's free.
  3. Browse to the G2 project page and then click on the Clone in Desktop button.
  • The GitHub application should open up, and ask where to save the new repository. The default location will probably be sufficient.
  1. In the GitHub app, chose Branches on the left and then click on Edge to checkout the Edge branch.
  2. (Convenience) In the Repository Menu, choose Open in Finder to display the folder of the the newly checked out repo.

Compiling

In the newly cloned repo, open the TinyG2 folder, and then open the file named TinyG2.xcodeproj.

--IN PROGRESS--

Clone this wiki locally