Re: can't open library
Re: can't open library
- Subject: Re: can't open library
- From: Francis Derive <email@hidden>
- Date: Wed, 30 Mar 2005 16:01:41 +0200
Bonjour Daniel, et les autres,
So strange : I copy the framework into my project ( the "Copy items
into destination group's folder" checkbox is checked, and after that I
see the yellow case in Xcode, and the blue folder in my project in the
Finder : the framework is really there - twice on my disk ).
It compiles and run like that - again !
[Session started at 2005-03-30 15:43:26 +0200.]
dyld:
/Volumes/Users/fderive/fdeDev/Cocoa/Apps/DocBased/
RaiseManSourceTabSubClassRegexOgreK/build/RaiseManSourceTab.app/
Contents/MacOS/RaiseManSourceTab can't open library:
@executable_path/../Frameworks/OgreKit.framework/Versions/A/OgreKit
(No such file or directory, errno = 2)
Executable “RaiseManSourceTab” has exited due to signal 5 (SIGTRAP).
It is there, under the hood, and can't get it.
Even worse for my mind now : In Xcode, I want to delete the added
framework, and it asks me if I want to delete "References and Files" or
"Only but References"... What I want to delete now is "Only but Files"
- the files which have been duplicated in my Project from the other
project - the OgreKit project, from which I get the framework. There
is no sense to delete "Only References" - as it is not references which
have been copied, but the real files. And if I click to "Delete Files
and References", it delete NOT the framework files duplicated in my
project BUT the original framework files in the OgreKit project -
crazy, ME crazy !!!
What's SO wrong with me ?
Apart from that, I don't understand so much what you are saying here :
It looks like you need to add "OgreKit.framework" to a copy files
build phase for your project. The copy files phase should be set to
copy into the "Frameworks" folder of your app.
From what you understand of what I have done - am I far away from what
you say ?
Cheers. Merci beaucoup.
Francis
On Mar 29, 2005, at 7:35 PM, daniel wrote:
Hi Francis:
It looks like you need to add "OgreKit.framework" to a copy files
build phase for your project. The copy files phase should be set to
copy into the "Frameworks" folder of your app.
Reveal in Finder is just showing you the "source" framework. When you
run the application, it has to be installed inside the app. That's
why you're getting the faliure with "@executable_path/..". If you
look inside your built application, you'll see that the framework is
not there.
Daniel
On Mar 29, 2005, at 7:26 AM, Francis Derive wrote:
Bonjour à tous !
I proceed the same way for two alternatives, and one of the
alternatives is OK, the other not.
It is a little Xcode 1.5 project used for experimenting with two
regular expressions frameworks - one is OgreKit, the other is
OmniFoundation.
So I "Add to Project ..." the OgreKit.framework in one case, the
OmniFoundation.framework ( and also a OmniBase.framework) in the
other case.
Both compiles.
Only but the project with the Omni addition runs, the other fails
like that :
[Session started at 2005-03-29 17:17:46 +0200.]
dyld:
/Volumes/Users/fderive/fdeDev/Cocoa/Apps/DocBased/
RaiseManSourceTabSubClassRegexOgreK/build/RaiseManSourceTab.app/
Contents/MacOS/RaiseManSourceTab can't open library:
@executable_path/../Frameworks/OgreKit.framework/Versions/A/OgreKit
(No such file or directory, errno = 2)
Executable “RaiseManSourceTab” has exited due to signal 5 (SIGTRAP).
At the beginning of my experiments with RegExp frameworks, I had
started with OgreKit - and it ran ok.
Now I can't come back to it.
Any idea here ?
Of course, a "Reveal in Finder" of the framework and the headers
included does shows the files with satisfying executable permissions.
Merci beaucoup.
Francis Derive
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
sweater.com
This email sent to email@hidden
_______________________________________________
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