Skip navigation.
 
mlRe: Bundling Framework Problem
FROM : Brian Smith
DATE : Fri Dec 24 01:58:49 2004

On Dec 23, 2004, at 05:24 PM, Oliver Cameron wrote:

> Hi,
>
> So I followed all your advice and downloaded Jon's prebuilt 
> OmniFrameworks and put them in.
>
> Now, I have these built frameworks inside the root of my project 
> directory, but the console message I am getting is saying it can't 
> find the Frameworks in my build directory;
>
> dyld: /Users/olivercameron/Projects/Builds/Tag.app/Contents/MacOS/Tag 
> can't open library: 
> /Users/olivercameron/Projects/Builds/OmniAppKit.framework/Versions/
> 2004A/OmniAppKit  (No such file or directory, errno = 2)
>


This is telling you that the dynamic linker is looking for framework to 
your built version of the framework which you seem to be linking 
against it. Change the path to the prebuilt version of the framework in 
xcode and rebuild the project so it picks up the 
@executable_path/../Framework path from the pre-built framework during 
linking.  Then your copy phase makes sure that is in the right place 
which should be the Framework directory of the executable bundle.

Brian

Related mailsAuthorDate
mlBundling Framework Problem Oliver Cameron Dec 23, 23:34
mlRe: Bundling Framework Problem John C. Randolph Dec 23, 23:47
mlRe: Bundling Framework Problem Oliver Cameron Dec 23, 23:51
mlRe: Bundling Framework Problem Brian Smith Dec 24, 00:05
mlRe: Bundling Framework Problem Jiri Volejnik Dec 24, 00:29
mlRe: Bundling Framework Problem Jiri Volejnik Dec 24, 00:36
mlRe: Bundling Framework Problem Ken Ferry Dec 24, 00:37
mlRe: Bundling Framework Problem Oliver Cameron Dec 24, 01:24
mlRe: Bundling Framework Problem Brian Smith Dec 24, 01:58
mlRe: Bundling Framework Problem Jiri Volejnik Dec 24, 02:15
mlRe: Bundling Framework Problem Oliver Cameron Dec 24, 12:14