Re[2]: Jaguar and pre-Jaguar applications
Re[2]: Jaguar and pre-Jaguar applications
- Subject: Re[2]: Jaguar and pre-Jaguar applications
- From: Lance Drake <email@hidden>
- Date: Wed, 16 Apr 2003 12:58:00 -0600
I have created a little application. I have used the last release of
dev tools and MacOSX 10.25. Now i have sent this app to a friend of
mine (his system is: MacOSX 10.15). The app crash and he can't open or
use it.
Why? Is there a method to solve this problem? I have tried to compile
the app with gcc2.95 but nothing... i have received a lot of errors
from the compiler.
It's nobodies fault and simply the result of forward progress, but
starting with MacOSX10.2 and working backwards in compatability
is a ROYAL pain. Having just been thru the exercise, I can attest
to the numerous BACKWARD incompatibilities. You might try creating
a MacOSX 10.1.5 bootable drive in your system, installing the April
2002 BETA tools (version 2.0) (the last batch compatible with 10.1.5),
and clubbing your application into compliance with that definition of
the world. The apps will likely be FORWARD compatible and you could
run in both situations. You don't get to call on snazzy new 10.2
features and you have to put up with earlier tools, but it works.
In 'awakeFromNib', you could decide to change course:
SInt32 version;
Gestalt (gestaltSystemVersion, &version);
if(0x1020 > version) // you're looking at at running on an older
system...
{
NSRunAlertPanel(@"MacOS 10.2 (or greater) is required. Please update
your software. This application will now quit.",@"",@"OK",NULL,NULL);
[NSApp terminate:nil];
}
or.. you could have both apps embedded in your bundle and call on
LaunchServices to branch to the appropriate one.
G'Luck!
Lance
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.