Re: Framework header access
Re: Framework header access
- Subject: Re: Framework header access
- From: Joe <email@hidden>
- Date: Tue, 19 Jan 2010 14:17:19 -0700
I did have the Header Search Path set, but I had it set to the header and not the framework. Setting it to the framework fixed the problem, which makes sense in retrospect.
On Jan 19, 2010, at 9:05 AM, Jens Miltner wrote:
>
> 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