RubyCocoa : MultiPlatformRubyCocoa

This article discusses the creation of a version of RubyCocoa that can run on different Mac OS X platforms. To make things easier we will only target 10.4 and 10.5, respectively Tiger and Leopard.

First, you need to build a universal binary version of RubyCocoa that targets 10.4. You need to do that from a Tiger machine, because on Leopard RubyCocoa isn't going to copy the bridge support files inside the framework (since they are available in the system).

$ ruby install.rb configure \
   --macosx-deployment-target=10.4 \
   --build-universal=yes \
   --sdkroot=/Developer/SDKs/MacOSX10.4u.sdk
$ ruby install.rb setup


Second, you just embed RubyCocoa in your application, as described in EmbedRubyCocoa.

Third, well there is no third step. This should work. If you have any problem there, please contact us: GettingSupport.
© 2001-2007 The RubyCocoa Project. Powered by Wikka Wakka Wiki 1.1.6.3
SourceForge.net Logo
Page was generated in 0.4448 seconds