【发布时间】:2014-08-23 17:49:39
【问题描述】:
我有一个使用 xcode3.2.6 构建的库项目。在我在其中一台 mac 10.9 机器上尝试之前,它工作正常。
该库使用 sdl 框架。
当我尝试我的图书馆时,我收到了错误消息:
Date/Time: 2014-07-02 11:36:04.493 -0400
OS Version: Mac OS X 10.9.4 (13E28)
Report Version: 11
Anonymous UUID: AD396161-ACA4-007D-DB07-036ED3718A4A
Crashed Thread: 0
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Library not loaded: @rpath/SDL.framework/Versions/A/SDL
Referenced from: /Applications/Eyelink/*/gcwindow.app/Contents/MacOS/gcwindow
Reason: no suitable image found. Did find:
/Library/Frameworks/SDL.framework/Versions/A/SDL: no matching architecture in universal wrapper
Binary Images:
0x7fff62313000 - 0x7fff62346817 dyld (239.4) <042C4CED-6FB2-3B1C-948B-CAF2EE3B9F7A> /usr/lib/dyld
0x7fff915b8000 - 0x7fff915b8fff com.apple.Cocoa (6.8 - 20) <E90E99D7-A425-3301-A025-D9E0CD11918E> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
我猜这个错误与 rpath 有关,但不知道我应该从哪里开始调试它。请帮忙。谢谢。
顺便说一下,SDL 版本是 1.2.14,包括 32 位和 64 位版本。
mac 是 10.9.4,64 位。
LJ
【问题讨论】: