Personal Original, reprint please indicate source:Cnblogs.com/jailbreaker
previously in [iOS Jailbreak development VI] Use CLASS-DUMP export frameworks header file, through a Perl script dump out frameworks all the header files, this piece mainly talk about dump an app in combat, Create a Singleview app, name MyApp, add a MyClass class, immediately contain 2 methods, one is public in the interface, the other method is non-public, directly see.
MAIN.M calls the public Showinfo method (does not modify the MAIN.M will not affect our dump):
Build the project, right-click Products under Myapp.app, select Show in Finder.
The terminal enters this directory and executes the command:
Class-dump-h Myapp.app-o Myapp_h
When you are done, you can see the folders listed.
Look at the content of MyClass, here dump out not only in the interface API, and implement in the non-public API also show out.
You can also look at the dump out of several other header files, the effect of dump and MyClass is the same.
[iOS Jailbreak development ten]dump own app