Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Decompile iPhone app binary

Tags:

Is there a way to decompile an iPhone binary file in order to extract it's resources like images and sound files?

like image 812
lnetanel Avatar asked Dec 29 '09 20:12

lnetanel


People also ask

Can you decompile iOS apps?

Decompiling the executable file is only possible on jailbroken iDevice, because it is encrypted especially for the current device and the magic key to decrypt the binary is burned inside the device CPU and as far as I know there is no software way to read that key. The encryption system here is called FairPlay.

Is it possible to reverse engineer an iOS app?

Getting an executable to reverse engineer. For macOS software, the simplest case is reverse engineering an executable from an IPA file or an app. The executable can be obtained in an obvious way from an application. And when you decompile an IPA file, it's just a regular zip archive with a certain structure.

Is it possible to decompile IPA?

Yes but it is a lot more work. Any compiled language can be disassembled but what you get back is a lot harder to interpret than can be derived from the Java bytecode in many Android apps.

How do you reverse engineer a mobile app?

If you have an app you'd like to reverse-engineer on your Android, you can use a file manager like ASTRO to save a backup to an SD card. It's also possible to connect your Android to a computer and then use Android Debugging Bridge to transfer the app to your PC.


1 Answers

If you have sync the app to you Mac, just open the following folder:

/Users/YOUR_USER_NAME/Music/iTunes/iTunes Media/Mobile Applications 

Or open iTunes and go to Apps and right mouse button on the app and select "show in Finder"

  1. Copy the app you want to inspect, f.e. Demo.ipa
  2. Change the extension ipa to zip => Demo.zip
  3. Extract the zip
  4. Open the folder and then the folder "Payload"
  5. Right Mouse Click Demo.app and select "Show Package Content"
like image 167
TomTom Avatar answered Sep 26 '22 02:09

TomTom