• 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
Library not loaded - wrong path?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Library not loaded - wrong path?


  • Subject: Library not loaded - wrong path?
  • From: "Michael Williamson" <email@hidden>
  • Date: Wed, 10 Sep 2008 08:57:44 +1000

I'm getting this error when I try to run my built app bundle, either from Finder or from XCode

dyld: Library not loaded: @executable_path/../Resources/CEGUI.framework/Versions/A/CEGUI

  Referenced from: /Users/wally/rtr/dev/code/build/Debug/rtr.app/Contents/MacOS/rtr

  Reason: image not found


From the above error, it seems to be looking for the framework in 
<app bundle>/Contents/Resources

But the framework is at
<app bundle>/Contents/Frameworks
and I don't know why it's looking in the former location. Can anyone explain this?

The framework (CEGUI) is added to my XCode project as an external framework with a "relative to build product" path, and is included in a Copy Files build phase (destination Frameworks). Using XCode 3.1.

I'm pretty new to XCode and Mac's in general so I've probably got something setup wrong...

Cheers,
Michael

 _______________________________________________
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: Library not loaded - wrong path?
      • From: "Sherm Pendley" <email@hidden>
  • Prev by Date: Re: breakpoints ignored while running unit tests! Why?
  • Next by Date: Re: breakpoints ignored while running unit tests! Why?
  • Previous by thread: Re: Porting projects from Windows
  • Next by thread: Re: Library not loaded - wrong path?
  • Index(es):
    • Date
    • Thread