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
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 mails | Author | Date |
|---|---|---|
| Oliver Cameron | Dec 23, 23:34 | |
| John C. Randolph | Dec 23, 23:47 | |
| Oliver Cameron | Dec 23, 23:51 | |
| Brian Smith | Dec 24, 00:05 | |
| Jiri Volejnik | Dec 24, 00:29 | |
| Jiri Volejnik | Dec 24, 00:36 | |
| Ken Ferry | Dec 24, 00:37 | |
| Oliver Cameron | Dec 24, 01:24 | |
| Brian Smith | Dec 24, 01:58 | |
| Jiri Volejnik | Dec 24, 02:15 | |
| Oliver Cameron | Dec 24, 12:14 |






Cocoa mail archive

