FROM : Jiri Volejnik
DATE : Fri Dec 24 02:15:04 2004
> 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)
> I've looked through all my Xcode settings and can't find a single
> mention of it pointing to Builds. I set my Framework Search Path to
> nothing as the frameworks are in the root. I just don't get why its
> looking for it in in the Builds folder instead of my project folder.
> Thanks for all the help so far,
> Oliver
It really seems the Omni framework was built without Installation Path
set to @executable/../Framework
Othervise, the message would look like this (from my app):
dyld: /Users/jirkav/Products/mce.app/Contents/MacOS/mce can't open
library:
@executable_path/../Frameworks/Orchard.framework/Versions/A/Orchard
(No such file or directory, errno = 2)
So, open Omni framework target settings, set the installation path and
rebuild the target. Then, for sure, remove Omni framework from your
app, and drag a fresh build of the framework there. Do the same with
your copy phase and set it's destination to Frameworks.
Then it must work...
Jirka
DATE : Fri Dec 24 02:15:04 2004
> 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)
> I've looked through all my Xcode settings and can't find a single
> mention of it pointing to Builds. I set my Framework Search Path to
> nothing as the frameworks are in the root. I just don't get why its
> looking for it in in the Builds folder instead of my project folder.
> Thanks for all the help so far,
> Oliver
It really seems the Omni framework was built without Installation Path
set to @executable/../Framework
Othervise, the message would look like this (from my app):
dyld: /Users/jirkav/Products/mce.app/Contents/MacOS/mce can't open
library:
@executable_path/../Frameworks/Orchard.framework/Versions/A/Orchard
(No such file or directory, errno = 2)
So, open Omni framework target settings, set the installation path and
rebuild the target. Then, for sure, remove Omni framework from your
app, and drag a fresh build of the framework there. Do the same with
your copy phase and set it's destination to Frameworks.
Then it must work...
Jirka
| 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

