private frameworks
private frameworks
- Subject: private frameworks
- From: Niko Matsakis <email@hidden>
- Date: Tue, 1 Nov 2005 11:48:55 +0100
I have a utility Framework I have developed that I wish to include in
an application of mine as a private framework. I have read the
"Framework Programming Guide" and tried tof follow its directions but
they don't seem to work.
I did deviate from the guide in one respect: it recommends adding the
Framework's source into your application project: this strikes me as
a good idea if this framework is only used by one application, but if
it is used by many then it makes more sense to have a separate
project for the Framework itself. If this is wrong, let me know, but
it seems like otherwise there will be configuration for the same
framework duplicated among many different projects.
I also tried to include the framework project into the application
project by reference, but in this case I get the same error. I could
not find the installation directory that is mentioned in the
Framework Programming Guide (which I am supposed to set to
@executable/../Frameworks or something like that).
Anyhow, what I tried eventually is to add a "copy files" step to my
project which copies the referenced Oaxaca.framework into the
Frameworks directory of the application. I have verified in Terminal
that the file is present. This seems to be what the Framework
Programming Guide suggested, although they said to do it via the
"install path" from the framework target. As the framework target is
not in my project, I thought I'd try a different route.
Unfortunately, it doesn't work (see msg below). Any advice?
What I don't want is for users to have to install the Framework
separately from the Application. I definitely want the Application
to be self contained.
[Session started at 2005-11-01 11:43:25 +0100.]
dyld: Library not loaded: /Users/niko/Library/Frameworks/
Oaxaca.framework/Versions/A/Oaxaca
Referenced from: /Users/niko/proj/flash/build/Development/
Flash.app/Contents/MacOS/Flash
Reason: image not found
Niko
_______________________________________________
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