Re: Private frameworks
Re: Private frameworks
- Subject: Re: Private frameworks
- From: Trevor Fancher <email@hidden>
- Date: Sat, 12 Nov 2005 15:40:56 -0600
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Nov 12, 2005, at 1:55 PM, Red Marble Games wrote:
My app has a couple of frameworks that I prefer to include in the
application bundle rather than installing into ~/Library/
Frameworks. I have added them to the project and to the Frameworks
directory in the app's bundle, and can build and link just fine,
but when I try to run the app, dyld can't find them -- the console
message says it's looking in ~/Library/Frameworks. I assumed the
app would be smart enough to look in its own Contents/Frameworks --
is there some setting I have to enable to get the proper behavior?
I had trouble finding the Apple documentation page that talked about
this before, and it seems I am having trouble again. Luckily I
remember how (I think!). What you are going to want to do it set the
DYLD_FRAMEWORK_PATH environment variable by double clicking your app
under Executables in Xcode. Add that variable name to the "Variables
to be set in the environment" section under the "Arguments" tab. Add
your framework path for the value.
You will probably have to fiddle around with Xcode (and maybe Google,
to get better results) to get this to work. A good place to start
searching is `man dyld` from your local terminal.
Thanks.
Welcome.
Mark Batten
Red Marble Games
email@hidden
Trevor
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iD8DBQFDdmFuH6jgrqVMHDURAmXNAJsET0GaUCYyMzdoZBaBgubrk27kvQCZAeXl
7+ndEIQbUax9Ko0pcOeBNOQ=
=SeUT
-----END PGP SIGNATURE-----
_______________________________________________
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