Re: How-To: private framework
Re: How-To: private framework
- Subject: Re: How-To: private framework
- From: Ben Dougall <email@hidden>
- Date: Tue, 8 Apr 2003 12:50:00 +0100
On Tuesday, April 8, 2003, at 05:27 am, Nick Zitzmann wrote:
On Monday, April 7, 2003, at 09:01 PM, Lloyd Dupont wrote:
for my development need, I found a bunch of OpenSource framework
which do could do work.
there is plenty of them with version number like 0.123
I certainly don't want to install them in
$(SOME_SYSTEM_DIRECTORY)/Frameworks
(with all the eventual version problem if they are override and the
painfull installation process it creates)
what I want is to have them inside the application bundle.
how could I do that ?
If you have access to the source and pbproj files, then set the
install path to "@executable_path/../Frameworks" and build.
If you don't, then you have to use the program "install_name_tool" to
change the install path. This may not work unless the framework was
built with the linker option "-header-pad-max-install-names". It has a
man page...
Then, in your application project, set up a copy files build phase
that copies the framework into the target.
further question along the same lines: how about with something that
gets installed usually in /usr/wherever. what happens if you want that
in your app bundle?
the thing installed in /usr/wherever i'm thinking of in particular is
the gcc compiler which i realise is a fairly complex install, multiple
parts, but still - i would like to be able to do that. possible?
so that's, is it possible to have the gcc installer installed and
contained within you app bundle?
thanks.
_______________________________________________
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.