Re: Problems building with SCF and XCode
Re: Problems building with SCF and XCode
- Subject: Re: Problems building with SCF and XCode
- From: Allan Nathanson <email@hidden>
- Date: Wed, 27 Aug 2003 14:52:02 -0400
On Aug 27, 2003, at 2:28 PM, Dave Camp wrote:
I tried to build my project today with XCode on 7B44 and I'm wondering
if there is a problem with the SCF headers.
In my project, I've set MACOSX_DEPLOYMENT_TARGET=10.1 in the build
settings and defined MAC_OS_X_VERSION_MAX_ALLOWED=1010
MAC_OS_X_VERSION_MIN_REQUIRED=1010 in the preprocessor macros.
This works as expected in the Dec 2002 tools, and keeps my code from
accidentally using any API's not available in 10.1.x.
If I compile the same code on Panther, I get a bunch of errors like:
error: "SCNetworkReachabilityRef" is not declared...
I only get the errors for the SCF headers. I don't get them for any
other frameworks.
Is this a bug, or something I'm doing wrong?
Are you trying to use the new (Panther) reachability APIs? If so, are
you specifying a MACOSX_DEPLOYMENT_TARGET of 10.3?
- Allan
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.