Re: Cannot get frameworks to load from bundle
Re: Cannot get frameworks to load from bundle
- Subject: Re: Cannot get frameworks to load from bundle
- From: Christian Walther <email@hidden>
- Date: Wed, 24 May 2006 18:41:13 +0200
Mark Williams wrote:
I am trying to get my application to load frameworks from the
bundle and for some odd reason, suddenly it will not load them. It
is trying to link with frameworks that should not ever be a part of
the application. Meaning, I have a set of frameworks built for
universal support and a set for ppc only. For some reason the app
is ignoring the ones copied in to the app bundle and trying to load
the ones for ppc only. I have gone over making sue it is linked to
the correct frameworks several times and it seems to make no
difference.
The dynamic linker looks for frameworks at their install_name, which
should start with "@executable_path" for private frameworks embedded
in application bundles.
See
<http://developer.apple.com/documentation/MacOSX/Conceptual/
BPFrameworks/Tasks/CreatingFrameworks.html#//apple_ref/doc/uid/
20002258-106880-BAJJBIEF>,
<http://developer.apple.com/documentation/DeveloperTools/Conceptual/
MachOTopics/Articles/loading_code.html>,
man install_name_tool
-Christian
_______________________________________________
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