Re: Suddenly Xcode decides it can't find headers in a framework. Anyone know why?
Re: Suddenly Xcode decides it can't find headers in a framework. Anyone know why?
- Subject: Re: Suddenly Xcode decides it can't find headers in a framework. Anyone know why?
- From: Dan Treiman <email@hidden>
- Date: Tue, 10 Dec 2013 23:47:33 -0600
Gavin,
I have seen this behavior a few times when I have moved a project around on a filesystem, or checked out a new copy. XCode 5 seems to have an issue where it inserts absolute paths under 'framework search paths’ for bundled frameworks.
Go to your target’s build settings and look at “Framework Search Paths”. Make sure that there is a path to the directory containing your framework. As a quick fix, some people just add $(SRCROOT) and check the ‘recursive’ box.
hope this is on the right track,
-Dan
On Dec 10, 2013, at 11:20 PM, Joar Wingfors <email@hidden> wrote:
> Gavin,
>
> What does your frameworks search paths look like for the project / target in question? Look at the compiler invocation in the build log to verify that the expected settings are being passed along.
>
> Joar
>
>
> On 10 dec 2013, at 19:27, Gavin Stokes <email@hidden> wrote:
>
>> Hi all.
>>
>> After months of building fine with the same project and source tree
>> organization, Xcode now says it can't find a header in a framework.
>>
>> Here's the scenario (and yes all files exist on disk):
>> http://i.imgur.com/l7WrEnJ.png
>>
>> Any insight appreciated.
>>
>> Gavin
>> _______________________________________________
>> 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
>
>
> _______________________________________________
> 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
_______________________________________________
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