• 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: Dimbulb Xcode include path question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dimbulb Xcode include path question


  • Subject: Re: Dimbulb Xcode include path question
  • From: Chris Espinosa <email@hidden>
  • Date: Thu, 25 Oct 2007 22:00:13 -0700


On Oct 25, 2007, at 9:11 PM, Blair M. Burtan wrote:

Okay, pretend I know squat about Xcode.  I'm trying to bring over some old

Codewarrior code (man, I miss Codewarrior).  A source file has the

following:


#include <myfancylibrary/myfancylibrary.h>


What do I need to do to get Xcode to find this file?

I've tried adding the directory myfancylibrary to both the Header search

path and User Header search path lists to no avail.

I've tried adding the actual .h file to the project.  No soap there either.


No matter what I try I keep getting "No such file or directory"


A little help here would be nice.  Thanks.


<myfancylibrary/myfancylibrary.h> can be interpreted two ways:

- a file called myfancylibrary.h in a directory called myfancylibrary.h in some directory that's in your Library Search Paths
- a file called myfancylibrary.h in the Headers directory in the framework myfancylibrary.framework in some directory in your Frameworks Search Path

Make sure that if it's the latter that Frameworks Search Paths include the paths of the folders containing the frameworks, not to the framework itself nor deep into it.  Also, such frameworks shouldn't be in per-configuration locations (i.e. if you see a path component of Debug or Release or Development or Deployment, you're not doing it right)

The normal way to do this in Xcode is to have the project that builds myfancylibrary build it to a shared Objects directory (SYMROOT), and then any projects that you drag and drop that framework into that share that Objects directory will pick it up automatically, for each configuration.

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

  • Follow-Ups:
    • Re: Dimbulb Xcode include path question
      • From: "Blair M. Burtan" <email@hidden>
References: 
 >Dimbulb Xcode include path question (From: "Blair M. Burtan" <email@hidden>)

  • Prev by Date: Re: Dimbulb Xcode include path question
  • Next by Date: Re: Variable array size declaration and the debugger
  • Previous by thread: Re: Dimbulb Xcode include path question
  • Next by thread: Re: Dimbulb Xcode include path question
  • Index(es):
    • Date
    • Thread