Omni frameworks cross development
Christiaan Hofman
cmhofman at gmail.com
Sat Feb 23 15:38:59 PST 2008
In our app we would like to cross develop using the 10.5 SDK, but with
a 10.4 deployment target. We also use the basic Omni framework
(OmniBase, OmniFoundation, and OmniAppKit). Unfortunately, the current
release of these frameworks don't allow building with these settings,
they only appear to build when the min and max deployment target are
either both 10.4 or both 10.5, not when targeting a range.
So my first request is to the Omni developers: please fix this and
provide source code for the frameworks that support cross development.
The second is a question to the community: did anyone encounter this
and found a way to fix it?
The compiler errors I get are all coming from the sections in the
#if's that compare MAC_OS_X_VERSION_10_5, so actually the part that
should allow cross development. It seems that something was done wrong
there, because it actually prevents cross development for the settings
we require. My educated guess is that this macro should be compared to
MAC_OS_X_VERSION_MAX_ALLOWED rather than MAC_OS_X_VERSION_MIN_REQUIRED
(which is done everywhere). Could someone confirm this? And would it
work if I just replaced these macros everywhere in these frameworks,
or should that only be done in some places?
Thanks,
Christiaan
More information about the MacOSX-dev
mailing list