The Cocotron is an open source project which aims to implement a cross-platform Objective-C API similar to that described by Apple Inc.'s Cocoa documentation. This includes the AppKit, Foundation, Objective-C runtime and support APIs such as CoreGraphics and CoreFoundation.

Cocotron Tools

In order to compile a Cocoa based program for both Mac OS X and another OS using Cocotron in the same Xcode project you will need to create additional targets in the project.

The new targets will specify a CDT compiler and Cocotron/OS specific build settings.

The easiest way to do this is to duplicate an existing target and modify the settings.