Re: OS back-compatibility
Re: OS back-compatibility
- Subject: Re: OS back-compatibility
- From: "Duane Murphy" <email@hidden>
- Date: Mon, 24 Apr 2006 14:37:02 -0700
--- At Mon, 24 Apr 2006 13:11:07 +0100, Jonathan Taylor wrote:
>>> For a long time I've avoided the problem of OS back-compatibility
>>> by releasing a CFM-only version of my program. I'd like to include
>>> both a CFM and a Mach-o binary in the package for full
>>> compatibility, but I am having limited success
>>>
>>> I'm developing under Tiger, and I've set the target SDK version to
>>> 10.1.5 and deployment target to 10.1. When I do this, I get the
>>> following link errors:
>>
>> See http://developer.apple.com/documentation/DeveloperTools/
>> Conceptual/cross_development/HowItWorks/chapter_2_section_9.html,
>> "Limitations." Weak-linking was not impmented in 10.1. So while you
>> can use the SDK to cross-develop to 10.1 exclusively, you can't cross-
>> develop for a range of OS versions that includes 10.1.
>
>Thanks Chris. So there is no way of arranging for the CFM version to
>launch on 10.1.5 then, when the mach-o version (built for 10.2 and
>later) fails to launch? I guess I'll have to distribute that as a
>separate bundle...
We investigated supporting older systems like this before deciding to
support only 10.2 and newer.
There is a technique where you can sub-launch the real application after
running a pre-flight application that checks the system version.
The main application is the pre-flight application. Two other
applications are located in the same executables folder. You can launch
them using one of the Bundle APIs after determining which on to launch
based on the system version. The nice part is that both applications can
still share all the same bundle data (resources, etc).
Just FYI,
...Duane
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden