I am just getting started with IOS jailbreak development. Now I am recording every day's progress.
Mount please indicate http://www.cnblogs.com/xiongwj0910/archive/2012/08/16/2642988.html
The first day. Search for "iOS jailbreak development" is messy. In short, the Class-dump tool is installed first.
Class-dump is a tool used to export private header files in the framework file. It is essential that you want to conduct jailbreak development.
The following is a reprinted blog
First, the private API is divided into two categories: 1. APIs not presented in the official documentation (hidden under frameworks) 2. Apple explicitly states APIs that cannot be used, in privateframeworks, the tool we use is class-dump + dumpframeworks. plclass-dump can extract the corresponding data structures and functions from the compiled objective-C binary file and declare class-dumphttp: // dumps. Usage: 1. Place the downloaded class-dump in usr/local/bin. if '/usr/local/bin' does not know where it is, enter 'open-a finder/usr/local/bin' under terminal to open the directory. remember to use chmod to modify the execution permission for class-dump. for example, to modify class-dump in usr/local/bin, you can switch to the usr/local/bin directory in terminal: chmod 777 class-dump. 2. Set dumpframeworks. put PL in any directory. you also need to modify the execution permission. 3. OK .. now all the preparations have been completed. enter :. /dumpframeworks. PL wait... There will be a heards folder under your home directory. it contains all the private apis under frmeworks and privateframeworks. Here we will explain that when I use them, sometimes I will report an error. Class-dump will report an error: Warning: this file does not contain any objective-C runtime information. there is no solution yet. It is estimated that some frmeworks are written in C, so it cannot be exported. I cannot find the path usr/local/bin. But it does not matter. You only need the complete Class-dump path-H complete framework path-o-header (Folder name. For example:/users/WS/desktop/class-dump-H/volumes/xcode. APP/contents/developer/platforms/iphoneos. platform/developer/sdks/iphoneos5.1.sdk/system/library/frameworks/coretelephony. framework/coretelephony-O headers/users/WS/desktop/class-dump is my complete path/volumes/xcode. APP/contents/developer/platforms/iphoneos. platform/developer/sdks/iphoneos5.1.sdk/system/library/frameworks/ Coretelephony. Framework/coretelephony this is the complete coretelephony framework path. After the headers folder name is run, a file will be imported to the headers folder. More detailed information will be provided later. Article .