Embedded framework not loaded on 10.5
Embedded framework not loaded on 10.5
- Subject: Embedded framework not loaded on 10.5
- From: Christiaan Hofman <email@hidden>
- Date: Tue, 20 Sep 2011 19:16:21 +0200
I have a problem where my app crashes on 10.5.8 because it fails to load an embedded framework. The crash report gives something like this:
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread: 0
Dyld Error Message:
Library not loaded: @loader_path/../Frameworks/MyFramework.framework/Versions/A/MyFramework
Referenced from: /Applications/MyApp.app/Contents/MacOS/MyApp
Reason: no suitable image found. Did find:
/Applications/MyApp.app/Contents/MacOS/../Frameworks/MyFramework.framework/Versions/A/MyFramework:
unknown required load command 0x80000022
I don't understand why this happened. I have checked that the framework and app both contain the same archs, and in particular the one that is loaded (in this case i386). The framework is linked from the app, so the expanded path from @loader_path does indeed resolve to the path that it says it does find. Though I don't really understand what it means by "unknown required load command 0x80000022." I should note that the app has no problem running on 10.6, and moreover never had a problem (in previous releases) before. Can anyone tell me what this error really means, and what could be the problem? How could I debug this? |
_______________________________________________
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