Build the same version of RubyCocoa app for Leopard and Snow Leopard
I have a RubyCocoa 0.13.2 based application. It works with 10.5.8 and earlier. When I try to run it at 10.6 it falls into an infinite loop. 10.6 has 0.13.2 built in, but not the same binary as 10.5. When I tried to create an Xcode 3.1.3 project for an application with the 0.13.2 framework from 10.6, it gave a link error - malformed object in 0.13.2 binary. The app that is built with Xcode 3.2 does not work on leopard, even though I only built 32 Arch. configuration. My question is, is there a way to create a version that will work on both platforms?
Thank,
Nava
EDIT: I feel pretty jaded trying to solve it and your best bet is to just rewrite everything in Cocoa, at least you can debug it humanly. But I don't have permission for this luxury :)
source to share
DECIDE! First of all, there is a new version of RubyCocoa (version 2277 based on version 1.0.0, soon release) that resolved the SL crash and works for both Leopard and Snow Leopard.
I have built a RubyCocoa version for i386 and ppc architectures. In the project, I have installed 32-bit universal. Base SDK = 10.5, Deployment Target = 10.5, Compiler = GCC 4.0.
I now have one version that I can build on Leopard and Snow Leopard and it works on both platforms (it doesn't say there are no glitches, but that's for another question)
source to share
You should probably have the following build settings: -
- Architecture = 32/64-bit Universal
- Base SDK = Mac OS X 10.6
- Deployment target = Mac OS X 10.5
If that doesn't work in 10.5, try changing
- Base SDK = Mac OS X 10.5
I don't think the GCC version should matter if you can't build successfully.
source to share