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