Framework in the app bundle not being found
Framework in the app bundle not being found
- Subject: Framework in the app bundle not being found
- From: Scott Lahteine <email@hidden>
- Date: Tue, 13 Sep 2005 16:06:47 -0700
I'm building a framework (SDL_mixer) that provides sound and music
for the SDL family of libraries. To support MP3 playback I've built
the smpeg.framework and soft-linked it. There's a problem when I try
to use them together in a certain way. When I build my project that
depends on these frameworks and then place the necessary frameworks
in the product's application bundle's Frameworks folder the program
fails at launch to locate and dynamically link only the
"smpeg.framework" - all the rest *are* found and linked.
The message in Console is:
dyld: Library not loaded: /Users/myname/Library/Frameworks/
smpeg.framework/Versions/A/smpeg
...or...
dyld: Library not loaded: /Library/Frameworks/smpeg.framework/
Versions/A/smpeg
...depending on which build I test.
This message gets thrown on any Mac if the smpeg.library is not found
in ~/Library/Frameworks or /Library/Frameworks. The program will
launch if smpeg.framework is in either of these Frameworks folders,
but not the one in the application bundle.
What build setting in the "SDL_mixer.framework" XCode project could
prevent MyApp/Contents/Frameworks from being searched for smpeg at
launch?
(I noticed that even on Macs without my particular "/Users/myname"
home folder the console message still says "dyld: Library not
loaded: /Users/myname/Library..." so it seems as if my home folder
name is being stored literally as one of the places to search.
However, this doesn't preclude smpeg.framework from being found if
it's in that machine's ~/Library or /Library folder. It's just a
weird message whose cause I don't understand.)
--
Scott Lahteine <email@hidden>
Thinkyhead Software <www.thinkyhead.com>
_______________________________________________
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