• 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: Importing framework include files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Importing framework include files


  • Subject: Re: Importing framework include files
  • From: Chris Espinosa <email@hidden>
  • Date: Thu, 15 May 2008 18:43:09 -0700

On May 15, 2008, at 5:18 PM, "R.L. Grigg" <email@hidden > wrote:

On May 14, 2008, at 1:35 PM, R.L. Grigg wrote:

On May 14, 2008, at 12:21 PM, Chris Espinosa wrote:

On May 14, 2008, at 12:01 PM, R.L. Grigg wrote:

In a Cocoa project (OSX 10.5.2, Xcode 3.0) when I add a framework from /Library/Frameworks into the project "Linked Frameworks" group how do I then reference one of the frameworks include files from my code?

Using either #import "name.h" or #import <name.h> comes up with "No such file or directory". Doesn't adding a framework cause Xcode to automatically add the Headers subfolder in it's -I search path for includes?

No, it doesn't add the path to the framework's Headers folder to the -I (include file directory) list to the compiler, it adds the path to the framework proper to the -F (framework directory) list to the compiler.


You need to use framework-style includes, that is <framework/ header.h> to refer to header files in frameworks.

Okay, I'm still doing something wrong since I still get the error using framework-style includes.

So... is this my bug or an Xcode bug?

Nobody can tell without the build transcript of the file that's failing.

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: Importing framework include files
      • From: "R.L. Grigg" <email@hidden>
References: 
 >Importing framework include files (From: "R.L. Grigg" <email@hidden>)
 >Re: Importing framework include files (From: Chris Espinosa <email@hidden>)
 >Re: Importing framework include files (From: "R.L. Grigg" <email@hidden>)
 >Re: Importing framework include files (From: "R.L. Grigg" <email@hidden>)

  • Prev by Date: Per Frame/Timed "Update"?
  • Next by Date: Re: Building App when Framework is in Same Project?
  • Previous by thread: Re: Importing framework include files
  • Next by thread: Re: Importing framework include files
  • Index(es):
    • Date
    • Thread