• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Problems building with SCF and XCode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems building with SCF and XCode


  • Subject: Re: Problems building with SCF and XCode
  • From: Dave Camp <email@hidden>
  • Date: Wed, 27 Aug 2003 12:45:34 -0700

Nope. We use the old ones that existing in Jaguar. This is the first time I've tried to compile the code on Panther, so there is no Panther specific code in the project.

Removing the target settings that restrict us to 10.1 makes the errors go away. That's why I was thinking there might be a problem with the headers not being wrapped properly for older OS's or something.

Dave

On Wednesday, August 27, 2003, at 11:52 AM, Allan Nathanson wrote:


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



---
In English, every word can be verbed.
_______________________________________________
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.

References: 
 >Re: Problems building with SCF and XCode (From: Allan Nathanson <email@hidden>)

  • Prev by Date: Re: Problems building with SCF and XCode
  • Next by Date: Why can an NSConnection only vend objects if sendPort == receivePort?
  • Previous by thread: Re: Problems building with SCF and XCode
  • Next by thread: Why can an NSConnection only vend objects if sendPort == receivePort?
  • Index(es):
    • Date
    • Thread