-4

Possible Duplicate:
Is it possible to reverse-engineer my iPhone application?
How can I get the source code from the .ipa file?

Is there any way to fetch out the source code from compiled (.a) file and .ipa file in iphone. In android we can get source code from .apk file then why could we not able to get the source code from .ipa file. There should be any way to fetch out the source code from a compiled file in iphone. I have also get trapped in the situation when any of the api for iphone has got then it contains .a file that is compiled and I would not be able to modify its code. So if any founds the way to find out the source code from compiled file in iphone then please answer this question....! I will very thankful to you.

Community
  • 1
  • 1
Prince Kumar Sharma
  • 12,591
  • 4
  • 59
  • 90
  • I have also mention .a file not only .ipa file so it is not duplicate – Prince Kumar Sharma May 14 '12 at 05:06
  • Decompiling and reverse engineering is legally actionable in many countries (i.e. you can be sued). I hope you are not asking because you want to steal other peoples' code, because that is what is sounds like. – borrrden May 14 '12 at 06:12

2 Answers2

2

No You can't fetch code from ipa ...

.a file is a static library. A static library is a set of routines, external functions and variables which are resolved in a caller at compile-time and copied into a target application by a compiler, linker, or binder, producing an object file and a stand-alone executable. More on Wiki

Maulik
  • 19,348
  • 14
  • 82
  • 137
1

Isn't the basic objective of creating a .a file is to hide the source code?

However I have "heard" people disassembling signed binaries, using some specialized tools. IDA is one of them.

I can't help you more on operating the tool, as I myself haven't used it ;)

Vin
  • 10,517
  • 10
  • 58
  • 71