Custom Frameworks, building and using
Custom Frameworks, building and using
- Subject: Custom Frameworks, building and using
- From: Don Willems <email@hidden>
- Date: Sun, 9 May 2004 00:26:50 +0200
Hi,
I'm trying to create a framework that is used for creating plugins for
my application. It bundles the classes of my application that are
needed for the plugin.
I have two XCode projects.
The first has two targets; my application and the plugin framework.
The second is my plugin project which uses the framework build in the
first project.
My problem is that the second project does not compile because it
cannot find the headers in the framework (or the framework itself for
all I know).
This is the compile error I get:
/Users/wonco/development/Cocoa/RISPlugin/RISPlugin.h:10:40:
BibXPluginKit/BibXPluginKit.h: No such file or directory
I use:
#import <BibXPluginKit/BibXPluginKit.h>
to import the plugin in my plugin header file.
I've added a Copy files build phase to copy the framework to the
Frameworks folder in the app bundle (this works, I've checked!).
And for the BibXPluginKit target in the first project I've set the
installation path to @executable_path/../ Frameworks
But it does not work.
I've noticed that the Cocoa framework has a subgroup Headers containing
the Cocoa header file, but I can't find this subgroup (in the Groups
and Files panel in XCode) in my own framework. I don't know if that is
important.
Can anybody tell me what I'm doing wrong here?
Many thanks,
Don
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.