1. Download the installation package
http://stevenygard.com/projects/class-dump/,
Here i download the class-dump-3.5.dmp. Then the downloaded DMG Open, copy the file inside the Class-dump to the created Bin directory, in the terminal input class-dump, display Class-dump version, you can use the Class-dump command. Install correctly as shown in the following:
2. How to use
The command is as follows: Class-dump-h/applications/calculator.app-o/users/apple/desktop/calculate\ Heads
Explain:
/applications/calculator.app is the path to the calculator app
/users/apple/desktop/calculate\ heads is the folder path where dump header files are stored
The results are as follows:
Use Class-dump to export Appkit,uikit ...
Class-dump Appkit:class-dump/system/library/frameworks/appkit.framework
Class-dump uikit:class-dump/developer/platforms/iphoneos.platform/developer/sdks/iphoneos.sdk/system/library/ Frameworks/uikit.framework
IOS Reverse-Class-dump installation and use method