Re: Custom Frameworks, building and using
Re: Custom Frameworks, building and using
- Subject: Re: Custom Frameworks, building and using
- From: Don Willems <email@hidden>
- Date: Sun, 9 May 2004 09:55:23 +0200
I've tried to follow the instructions on:
http://developer.apple.com/documentation/MacOSX/Conceptual/
BPFrameworks/Tasks/CreatingFrameworks.html
But I still have the same problem.
I could not follow the creation steps of the framework completely
though.
Step 5. Create a new build setting by clicking the + button. Set the
name of the build setting to INSTALL_PATH.
could not be done, the + button was disabled when the Standard Build
Settings were selected and when pressing the + button when in the
Customized Settings I could add an build option but the name of the
option ("INSTALL_PATH") disappeared when I pressed enter or when I
selected another option. The option disappeared altogether when I
changed focus.
I actually added the value @executable_path/../Frameworks to the
Installation Path option but I do not know if this is the same as
adding the INSTALL_PATH option as Apple recommends.
Don
>
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.