Re: private frameworks
Re: private frameworks
- Subject: Re: private frameworks
- From: j o a r <email@hidden>
- Date: Tue, 1 Nov 2005 10:28:58 +0100
On 1 nov 2005, at 10.12, Niko Matsakis wrote:
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.
You will probably get better answers on the Xcode-Users list.
Checking through their list archives is certainly also a good idea.
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.
No, having a separate project for the framework is perfectly OK. You
can add it to your app project as a referenced project, to have it
build automatically with your app.
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. 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.
You still haven't told us what it is that doesn't work...
Please follow up, preferably to Xcode-Users, with a message that
includes any error logs generated when building / launching your
framework+app.
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden