Re: How do I force XCode to find the right header file?
Re: How do I force XCode to find the right header file?
- Subject: Re: How do I force XCode to find the right header file?
- From: Jerry <email@hidden>
- Date: Fri, 17 Nov 2006 17:55:31 +0000
On 17 Nov 2006, at 17:40, Karan, Cem (Civ, ARL/CISD) wrote:
I'm doing some code archeology, and as a first pass, I've added all
the
source files to an XCode project. On the first compile I discovered
that there are a bunch of header files that have the same name, and
this
means that XCode gets confused as to what file to include. No
problem,
I just deleted some of the extraneous references from XCode (but left
the original files in place in the filesystem). Well, that doesn't
seem
to have worked. I can visually verify that symbols are defined in the
remaining header file in XCode, but for some reason, it looks like
XCode
is insisting on using the wrong header file, or just isn't finding
it at
all. Do I need to manually put the file reference in somewhere? I
noticed that in my target in the Copy Files phase, I seem to have all
sorts of header files; is that where I need to dump the good headers?
Any help would be appreciated.
You can stop this problem by adding a new build setting
"USE_HEADERMAP" and setting its value to "NO". It only took me about
a year to find this out, but it was worth every minute.
Jerry
_______________________________________________
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