Re: Calling Cocoa APIs from a command line application
Re: Calling Cocoa APIs from a command line application
- Subject: Re: Calling Cocoa APIs from a command line application
- From: Andy Lee <email@hidden>
- Date: Sat, 13 Sep 2003 16:32:03 -0400
At 3:54 PM -0400 9/13/03, Dave Keck wrote:
Hmm... my Foundation.h file doesn't mention NSURLError.h anywhere;
you might try taking a look at yours. Does it mention NSURLError.h?
Apparently your Foundation.h file has a few more lines in it (it at
least has 109 lines, as mentioned by the error you gave). My file
only has 99 lines. Humph.
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)
...
#import <Foundation/NSURLError.h>
#endif
This is on 10.2.6 with the December 2002 Dev Tools. And NSURLError.h
does exist in my Foundation headers directory.
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.
At 3:13 PM -0400 9/13/03, John Siracusa wrote:
/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:109:
header file 'Foundation/NSURLError.h' not found
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.
--Andy
_______________________________________________
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.