Skip to content

Building J2ObjC

Tom Ball edited this page Mar 3, 2014 · 5 revisions

Requirements

  • Apple Mac OS X system
  • Latest version of Xcode
  • Apache Maven

Note: Maven is no longer distributed with Xcode's command-line tools. Here is a well-written installation guide by Pankaj Kumar.

Building J2ObjC

To build from a command-line in a Terminal window, run:

$ make dist

to build the full distribution,

$ make test

to run all unit tests, and

$ make clean

to remove all files generated by the build.

Parallel Builds

The J2ObjC build supports parallel builds, which are specified using the -j<n> flag, where n is the maximum number of concurrent tasks. The maximum depends on how fast/powerful your system is; we suggest starting with -j4. Increase the number to shorten build times if your system can handle it, and decrease it if make fails with system errors.

We've Moved!

The J2ObjC wiki has moved to j2objc.org.

Clone this wiki locally