3

I have a decrypted IPA file. How do I use Xcode to open the contents of this file and make code modifications to it?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
JAHelia
  • 6,934
  • 17
  • 74
  • 134
  • This page can be of interest: http://stackoverflow.com/questions/2334072/decompiling-objective-c-libraries – Wolfgang Schreurs Jul 24 '11 at 11:48
  • Please check this link, It may be helpful for you http://reverseengineering.stackexchange.com/questions/1594/possibilities-for-reverse-engineering-an-ipa-file-to-its-source – Ali Raza Apr 01 '14 at 10:18

3 Answers3

6

An IPA is just a zip file containing a "Payload" folder, which in turn contains the app bundle. As such there is no code in an IPA - just the compiled executable. You can unzip it and look in the "Payload" folder, but all you'll see is executable code. You could possibly disassemble the code (don't ask me how - I've never tried such a thing), but if you need to do that I wonder why you don't have access to the source in the first place...

Mac
  • 14,615
  • 9
  • 62
  • 80
  • But, many ipa's contain encrypted code and data segments. You need a jailbroken phone to be able to decrypt this, you need access to the hardware keystorage of the phone. – Willem Hengeveld Aug 31 '12 at 08:09
1

You can't get the source from an IPA file. It's an executable. See Stack Overflow question Is it possible to reverse-engineer my iPhone application?.

Community
  • 1
  • 1
Praveen S
  • 10,355
  • 2
  • 43
  • 69
0

Xcode compiles apps from Objective C to machine code, then they are packaged with all the other resources (images, nibs) into an IPA file. So you can't get it back to source code, only machine code.

Tom
  • 950
  • 3
  • 15
  • 27