broken import reference to framework from sub-project
broken import reference to framework from sub-project
- Subject: broken import reference to framework from sub-project
- From: Martin Redington <email@hidden>
- Date: Tue, 20 Oct 2009 03:17:13 +0100
I have a project that has a subproject that builds a framework.
In my main project, when I try to
#import <MyFramework/MyFramework.h>
I get the following error: MyFramework/MyFramework.h: No such file or directory
#import "MyFramework/MyFramework.h" fails too.
This is on Xcode 3.1.3 on Leopard.
In the subproject, MyFramework.h is correctly marked as public, and
can be seen in the Headers node of the framework product, as well as
on the filesystem.
In the main project, the framework target is a dependency of the main
target, and the framework product is present both in the "Link binary
with Libraries" and a "Copy Frameworks" phase.
I have verified that it does get copied into the Frameworks subdir of
the main target, and that the header is present.
The one oddity is that in Xcode, in the main target, the Framework
doesn't have a disclosure triangle, so its headers can't be displayed.
I thought this might be because its a reference to a framework in the
subproject, but it may be connected.
Can anyone suggest what I might be doing wrong?
--
http://www.mildmanneredindustries.com/
_______________________________________________
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