• 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: Calling Cocoa APIs from a command line application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calling Cocoa APIs from a command line application


  • Subject: Re: Calling Cocoa APIs from a command line application
  • From: John Siracusa <email@hidden>
  • Date: Sat, 13 Sep 2003 20:21:38 -0400

On 9/13/03 4:32 PM, Andy Lee wrote:
> At 3:54 PM -0400 9/13/03, Dave Keck wrote:
>> Hmm... my Foundation.h file doesn't mention NSURLError.h anywhere [...]
>
> My Foundation.h does mention NSURLError.h, inside an #ifdef that
> seems to imply it depends on the OS version:
>
> #if defined(MAC_OS_X_VERSION_10_2) &&
> (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_2)

Yes, this is what I see as well.

> Maybe because you're compiling from the command line, the #ifdef is
> not having its intended effect, because you're not getting the
> compilation parameters PB would have set up for you.

I think I am, because I tried explicitly defining a few and got a bunch of
"redefined" errors. So something must be defining them for me somewhere.

>> Googling doesn't turn up much. Someone mentioned that this might be related
>> to Safari somehow? I'm running Jaguar with the latest updates, BTW.
>
> Maybe they were suggesting you install the Web Kit SDK? To find it,
> log in at <http://connect.apple.com>, go to "Download Software,"
> select "WWDC 2003," and scroll all the way down to the bottom.

Do you have the Web Kit SDK installed?

-John
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Calling Cocoa APIs from a command line application
      • From: Andy Lee <email@hidden>
References: 
 >Re: Calling Cocoa APIs from a command line application (From: Andy Lee <email@hidden>)

  • Prev by Date: Re: inheriting from NSMutableData
  • Next by Date: Re: Calling Cocoa APIs from a command line application
  • Previous by thread: Re: Calling Cocoa APIs from a command line application
  • Next by thread: Re: Calling Cocoa APIs from a command line application
  • Index(es):
    • Date
    • Thread