Unzip the ipa and then execute the following command.
file Payload/<somename>.app/<executable> and if it says Mach-O universal binary with 2 architectures, that means your ipa is universal.
Sample Output of file command:
Payload/ShipSim.app/ShipSim: Mach-O universal binary with 2 architectures
Payload/ShipSim.app/ShipSim (for architecture armv7): Mach-O executable arm
Payload/ShipSim.app/ShipSim (for architecture cputype (16777228) cpusubtype (0)): Mach-O 64-bit executable
I have unzip the ipa and it's appeared like as follows:
But this .app file is not execute on MAC-10.8. Whereas in windows-7, there are multiple files inside of .app file.
So how can I verify??
On Mac, right click on <App-Name.app> and click “Show Package Content”.
You need to run file command on App-Name.app/App-Name.
Thanks Govind for your reply.
I could not able to run the <App-Name> file on MAC. Kindly share me the execution details of that file.
<App-Name> file is meant for iOS device so it won’t run on your mac machine.
You don’t need to run <App-Name> file. You just need to check if this file is 64-bit executable or not.
There are two commands to check architecture type of an executable
1- file <App-Name> (Please note file is a command, try man file to get more details )
2- lipo –info <App-Name>
Thanks Govind for your valuable reply.
I am getting "Mach-O executable arm" info after using "file" command.
Is this define 64-bit architecture?