Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: can't open library
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can't open library



Hello Daniel !

It is too late at night so that I finish the exercise and check for anything wrong about I could say, but in advance I just tell you what I believe to have made : by adding the references of the OgreKit ( and the same way the Omni ) framework, so not copying the files into my projects using one of these frameworks - as the choice is given with the "Add to Project" panel -, I don't expect finding them within my projects.
To morrow I will recreate from scratch the project using OgreKit and see clearly what is happening to it.


Cheers.

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
References: 
 >can't open library (From: Francis Derive <email@hidden>)
 >Re: can't open library (From: daniel <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.