• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: can't open library
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can't open library


  • Subject: Re: can't open library
  • From: daniel <email@hidden>
  • Date: Tue, 29 Mar 2005 09:35:38 -0800

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

  • Prev by Date: can't open library
  • Next by Date: Re: Why isn't "lib" prefixed to Dynamic Library targets in Xcode?
  • Previous by thread: can't open library
  • Next by thread: Re: can't open library
  • Index(es):
    • Date
    • Thread