Re: Objective-C: search project for text skips include'ed header file
Re: Objective-C: search project for text skips include'ed header file
- Subject: Re: Objective-C: search project for text skips include'ed header file
- From: Fritz Anderson <email@hidden>
- Date: Mon, 9 Jun 2008 13:54:11 -0500
On 9 Jun 2008, at 1:40 PM, Paul Archibald wrote: THen, I look at some of the other project files, thinking "how can the code have ever worked if these definitions were never included?", and I see that indeed, the mystery header has been #include'ed in the source code. Huhh?
Have you done Build -> Preprocess in one of the problem source files to see if the symbols you expect get past the preprocessor (e.g., are they really #included)? So, Although I think I can deal with the coding part of this, I am puzzled as to why the text search could not find a source file to inspect? I even did a "find selected text" search starting with that very header file. No dice, search does not find the definition in the #include'ed header.
I assume the option at the upper-right of the Project Find window is set to "In Project." Is the header file part of the project list? If not, add the header to your project, making sure not to put it into any target (headers are brought into compilation through #includes, but are not themselves part of the product). See if the Project Find problem clears up.
— F
|
_______________________________________________
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