开发者

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

开发者 https://www.devze.com 2023-03-01 21:32 出处:网络
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 determi

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

精彩评论

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