How to tell whether a dylib is compiled for 10.6 or 10.5?
I was trying to use otool but I couldn't find a way to do it. Basically I'd like to know whether a dylib is compiled only 开发者_开发百科for 10.6 or if it supports 10.5.
Thanks, Rui
I don't have access to a 10.6 machine, but did you try looking at the output of "otool -L"? You may be able to tell by the version of libSystem against which it's linked.
精彩评论