-
Notifications
You must be signed in to change notification settings - Fork 991
Building J2ObjC
Tom Ball edited this page Mar 3, 2014
·
5 revisions
- 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.
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.
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.