Folks,

There’s a MOSX command line tool, that many people are unaware of called “file”.  This application will give you information about what architectures applications will run on, and if it’s not an application, it will attempt to identify what the file is.

For example:

dhcp105-53:~ Ben$ file test.pdf
test.pdf: PDF document, version 1.3
dhcp105-53:~ Ben$ file test.pdf
test.pdf: PDF document, version 1.3

dhcp105-53:MacOS Ben$ file iChat
iChat: Mach-O universal binary with 2 architectures
iChat (for architecture x86_64):	Mach-O 64-bit executable x86_64
iChat (for architecture i386):	Mach-O executable i386
What does all of this mean?
MessageMeaning
architecture ppc32 bit PowerPC Executable
architecture ppc6464 bit PowerPC Executable
architecture i38632 bit Bit Intel executable
architecture x86_6464 bit Bit Intel executable

The caveat is for applications, you need to actually use file on the executable file, not on the Application Bundle.

So, you will need to open the bundle, and transverse to Contents > MacOS, so for example, for iChat:

cd /Applications/iChat.app/Contents/MacOS

No related posts.

   
© 2011 The Matrix Data BankSuffusion theme by Sayontan Sinha