• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Access Paths: (question from a recovering CodeWarrior)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Access Paths: (question from a recovering CodeWarrior) (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Mapping deprecated functions to new ones
  • Next by Date: Re: [PARTIALLY SOLVED]Re: Forcing G++ for linking?
  • Previous by thread: Access Paths: (question from a recovering CodeWarrior)
  • Next by thread: Re: Access Paths: (question from a recovering CodeWarrior)
  • Index(es):
    • Date
    • Thread