I\'m interested in verifying if a given iPhone static library has been built for ARM or Intel.
It\'s more curiosity than anything. Is there some kind of Mac OS X o
file will probably tell you. otool certainly should be able to. But I'd try file first,
e.g.
logan:/Users/logan% file d2
d2: Mach-O executable ppc
Example with archive:
logan:/Users/logan% file /usr/lib/libMallocDebug.a
/usr/lib/libMallocDebug.a: Mach-O universal binary with 2 architectures
/usr/lib/libMallocDebug.a (for architecture i386): current ar archive random library
/usr/lib/libMallocDebug.a (for architecture ppc): current ar archive