开发者

How can I check if a 3rd party static library for the iPhone SDK is compiled for Thumb?

I'm working with a development platform (monotouch) that does not allow me to link 3rd party libraries that are compiled for Thumb due to a bug in the apple l开发者_开发知识库inker. How can I determine if a library was compiled for thumb or not?

Thanks!


Run otool -tv <LIBRARY> on it and look for 2 byte instructions.

Here is an example showing thumb code: http://pastebin.com/4Kq52f9D Here is an example showing NON-thumb code: http://pastebin.com/137GJDR1

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜