• 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: Framework header access
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Framework header access


  • Subject: Re: Framework header access
  • From: Jens Miltner <email@hidden>
  • Date: Tue, 19 Jan 2010 17:05:27 +0100


Am 19.01.2010 um 01:35 schrieb Joe:

Hi,

I don't know if I am missing something here, but:

I have a framework project (NTS_MCC.framework). I have an application project that uses that framework. The application project has its DYLD_FRAMEWORK_PATH variable set so that it can find the framework in the framework projects build folder, and it does. What it can't seem to find is the header file NTS_MCC.h that is part of the framework though it is in the Headers directory of the framework.

If I import the file directly with just the file name it works (I have the header path added to the project). But if I try to import it referring to the framework,
#import "NTS_MCC/NTS_MCC.h", it can't find it. Should it be able to find the header in this way?

Assuming you're building with Xcode, you'll have to set the "Framework Search Paths" and/or "Header Search Paths" build setting and add the directory containing your framework.


</jum>

_______________________________________________
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: Framework header access
      • From: Joe <email@hidden>
References: 
 >Framework header access (From: Joe <email@hidden>)

  • Prev by Date: Re: Why does IB insist on putting NSTextView in an NSScrollView
  • Next by Date: Re: what versioning system do you recommend?
  • Previous by thread: Framework header access
  • Next by thread: Re: Framework header access
  • Index(es):
    • Date
    • Thread