Re: Embedding frameworks problem
Re: Embedding frameworks problem
- Subject: Re: Embedding frameworks problem
- From: Olivier Tristan <email@hidden>
- Date: Fri, 13 Jul 2007 10:16:01 +0200
Randall Meadows wrote:
I have an application project that is dependent on about 9 frameworks,
which I am trying to embed into the application bundle. I have set
each project (the app and the frameworks) to use a shared build
directory.
When the frameworks are built, most of them are built into the correct
(well, expected anyway) directory, that being
$SRCROOT/../../build/Debug/ (for the Debug config, of course).
However, a couple of the frameworks are ending up in
$SRCROOT/../../build/Uninstalled Products/ instead. I have compared
one of these misbehaving projects with one that is behaving correctly,
and I can find no difference that should account for this behavior.
Tips, pointers, suggestions?
A second problem I have is, when running the application from Xcode,
it runs just fine (I understand Xcode works some special magic here).
But when I double-click the built app, I get a console message telling
me that one of the frameworks could not be found. The message is
"Library not loaded" and names one of the frameworks, but using a path
into ~/Library/Frameworks/. I have confirmed that said framework is
included in the application bundle; why is that location not being
searched to find the framework?
Take a look at install_name_tool and/or the thread named "Using a dylib
without installing it"
If there is something directly in Xcode, I would like to hear it too.
HTH
--
Olivier Tristan
Ultimate Sound Bank
_______________________________________________
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