Re: Broken 10.2.8 SDK with Xcode 2.4 update?
Re: Broken 10.2.8 SDK with Xcode 2.4 update?
- Subject: Re: Broken 10.2.8 SDK with Xcode 2.4 update?
- From: Sean Murphy <email@hidden>
- Date: Sat, 9 Sep 2006 00:49:20 -0400
On Sep 8, 2006, at 3:27 PM, Dave Dribin wrote:
I just upgraded to Xcode 2.4 from Xcode 2.2 yesterday, and it now
looks like my 10.2.8 SDK is broken. The
MAC_OS_X_VERSION_MAX_ALLOWED is reporting 10.4, when I believe it
should be 10.2:
% gcc -E -dM /Developer/SDKs/MacOSX10.2.8.sdk/usr/include/
AvailabilityMacros.h | grep MAC_OS_X_VERSION_MAX
#define MAC_OS_X_VERSION_MAX_ALLOWED MAC_OS_X_VERSION_10_4
If I run that command on a dev machine with Xcode 2.2 on it, I get
the following:
% gcc -E -dM /Developer/SDKs/MacOSX10.2.8.sdk/usr/include/
AvailabilityMacros.h | grep MAC_OS_X_VERSION_MAX
#define MAC_OS_X_VERSION_MAX_ALLOWED MAC_OS_X_VERSION_10_2
Can anyone else confirm this? If so, I'll file a radar. In the
meantime, can anyone recommend a work around? Can I just copy the
AvailabilityMacros.h from Xcode 2.2 and use it? Is the rest of the
10.2.8 SDK sane?
BTW, I upgraded to Xcode 2.4 using the September 2006 Developer
DVD, rather than the one from the website.
-Dave
Dave,
This does appear to be an issue with Xcode. I became aware of the
problem while reading Mozilla Mac OS X Build instructions:
"The 10.2.8 SDK included in Xcode 2.4 (build 8K1079) contains a bug
that prevents Mozilla from building with that SDK. Apple has been
notified of this bug, which is being tracked as Radar 4671592."
Basically, you'll have to edit AvailabilityMacros.h inside the 10.2.8
SDK, and change two lines around (and optionally, a comment as
well). See <http://developer.mozilla.org/en/docs/
Mac_OS_X_Build_Prerequisites#Troubleshooting> for the details on what
exactly needs to be changed.
-Sean
_______________________________________________
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