Re: Building for 10.3.9 PPC & 10.4 Universal
Re: Building for 10.3.9 PPC & 10.4 Universal
- Subject: Re: Building for 10.3.9 PPC & 10.4 Universal
- From: Wyatt Webb <email@hidden>
- Date: Tue, 28 Mar 2006 08:01:33 -0800
On Mar 28, 2006, at 2:16 AM, Martin wrote:
Hi,
I'm trying to build my application so that it works on Mac OS X
10.3.9+ on PPC and 10.4+ on Intel platforms.
What's I've done so far was adding these settings :
MACOSX_DEPLOYMENT_TARGET_i386 = 10.4
MACOSX_DEPLOYMENT_TARGET_ppc = 10.2
SDKROOT_i386 = /Developer/SDKs/MacOSX10.4u.sdk
SDKROOT_ppc = /Developer/SDKs/MacOSX10.2.8.sdk
But I get the following error when building :
/Developer/SDKs/MacOSX10.3.9.sdk/usr/include/AvailabilityMacros.h:
111:6: error: #error MAC_OS_X_VERSION_MAX_ALLOWED must be >=
MAC_OS_X_VERSION_MIN_REQUIRED
Any ideas what I've done wrong ?
Thanks,
Martin.
Stupid question: If you want 10.3.9 and better on PPC, why not set
these values?
MACOSX_DEPLOYMENT_TARGET_ppc = 10.3
SDKROOT_ppc = /Developer/SDKs/MacOSX10.3.9.sdk
Here's another hint. The apps I'm building do runtime checks for
certain APIs which means I can set my values like such:
MACOSX_DEPLOYMENT_TARGET_i386 = 10.4
MACOSX_DEPLOYMENT_TARGET_ppc = 10.1
SDKROOT_i386 = /Developer/SDKs/MacOSX10.4u.sdk
SDKROOT_ppc = /Developer/SDKs/MacOSX10.3.9.sdk
If you need to run on 10.2, you could set the TARGET to 10.2, but
still use the 10.3.9 SDK. Just make sure to do runtime checks for
APIs that aren't available in Jaguar.
Hope this helps,
-Wyatt
_______________________________________________
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