Re: Access Paths: (question from a recovering CodeWarrior)
Re: Access Paths: (question from a recovering CodeWarrior)
- Subject: Re: Access Paths: (question from a recovering CodeWarrior)
- From: Chris Espinosa <email@hidden>
- Date: Tue, 20 Sep 2005 21:37:49 -0700
On Sep 20, 2005, at 8:27 PM, Jerry Krinock wrote:
Now when I do this in CodeWarrior, I have to make sure that the path to
MyClass.h is included in the projects "access paths", so CW can find
this
header. But, to my surprise, this Xcode project compiled ("just
worked").
I cannot find any mention of anything like "access paths" in Xcode
Help.
How does Xcode know where to find headers?
Select your target
Choose Get Info
Select "All Collections" in the lower popup
enter "Search Paths" into the search bubble
There are the Header and Framework search paths that you use to find
headers, libraries, and framworks.
They're initially empty. When you add files to the project, search
paths are automatically added. Files in your project's root directory
are always found even if no search paths are entered, which is why it
"just worked."
The compiler also knows implicitly how to find system headers,
libraries, and frameworks, so you don't have to supply those paths in
Xcode, like you do for MSL in CodeWarrior.
Chris
_______________________________________________
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