Skip navigation.
 
mlRe: Searching Header Files
FROM : Nick Zitzmann
DATE : Sun Nov 21 18:06:38 2004

On Nov 21, 2004, at 9:02 AM, Joey Coyle wrote:

> You are right...  ApplicationServices is not listed in my Frameworks
> in my XCode project.  The question arises then, how is my project
> compiling if I don't have CGDirectDisplay.h included???


The code is probably being linked to some other framework that links to
ApplicationServices, and that framework probably imports the header
from such a distance that GCC finds it but Xcode doesn't.

> And if it is included in some automatic way,  wouldn't I want XCode to
> search those Header files also, when I do a Search??


When you do a "framework" multi-file search in Xcode, Xcode only
searches the headers for the frameworks that are included in the
project. That's why, when you create a new Cocoa project, the project
template includes the AppKit and Foundation frameworks in its list but
does not include them in the target. If it didn't do that, then you
wouldn't be able to search for things in any of the Cocoa headers.

Nick Zitzmann
<http://seiryu.home.comcast.net/>
S/MIME signature available upon request

Related mailsAuthorDate
mlSearching Header Files Joey Coyle Nov 20, 23:36
mlRe: Searching Header Files Markus Spath Nov 21, 01:07
mlRe: Searching Header Files Joey Coyle Nov 21, 02:51
mlRe: Searching Header Files Nick Zitzmann Nov 21, 06:30
mlRe: Searching Header Files Ben Dougall Nov 21, 13:22
mlRe: Searching Header Files Joey Coyle Nov 21, 17:02
mlRe: Searching Header Files Nick Zitzmann Nov 21, 18:06
mlRe: Searching Header Files David Dunham Nov 21, 22:40
mlRe: Searching Header Files Joey Coyle Nov 22, 00:30
mlRe: Searching Header Files David Dunham Nov 24, 01:36