Xcode-Screens.png

These procedures show some ways to include J library in applications created with Xcode, an IDE for Mac OS X. They are the same regardless of application type: command-line tool, Cocoa, etc.

Using J dynamic library with Xcode

The goal is to use J library automatically without manually loading and assigning each function from library symbols.

Procedure (as shown, right)

The resulting executable can automatically pick up libj601.dylib from /usr/lib or from $DYLD_LIBRARY_PATH or from current working folder (not necessarily the application folder).

Universal Binary with Separate Libraries

J library libj601.dylib has separate versions for ppc and i386 architectures. So it is tempting to create two separate client applications. However, it is still possible to create universal binary with a simple Xcode Target setting.

Procedure

See Also


Contributed by OlegKobchenko

Interfaces/Xcode (last edited 2008-12-08 10:45:49 by )