Re: Deployment target warning?
Re: Deployment target warning?
- Subject: Re: Deployment target warning?
- From: Chris Espinosa <email@hidden>
- Date: Fri, 22 Feb 2008 15:02:23 -0700
On Feb 22, 2008, at 1:43 PM, Rick Mann <email@hidden> wrote:
What does this mean? I have a library project and an app project
(Carbon). I want them to use the 10.5 SDK and require 10.5. I set
the following in the .xcconfig files:
MACOSX_DEPLOYMENT_TARGET_i386 = 10.5
MACOSX_DEPLOYMENT_TARGET_ppc = 10.5
SDKROOT_i386 = /Developer/SDKs/MacOSX10.5.sdk
SDKROOT_ppc = /Developer/SDKs/MacOSX10.5.sdk
Warning:
"Deployment target 10.5 for architecture 'i386' and variant 'normal'
is greater than the maximum value for the Mac OS X 10.4 (Universal)
SDK."
Without the actual compiler invocation line I can't really tell, but
my guess is that you're declaring this .xcconfig file at the Project
level but still defining SDKROOT at the target level to override the
per-architecture values.
If you're using Xcode 3.0 for 10.5 exclusively, you can use the new
syntax in xcconfig files:
MACOSX_DEPLOYMENT_TARGET[arch=ppc] = 10.5
Or set this directly in the UI with the gear menu in the build setting
inspector.
But this all begs the question: why are you bothering with per-
architecture values at all if you're just setting them all to the same
value?
Chris
_______________________________________________
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