user2932379
user2932379

Reputation: 21

How to dump iOS 6 private API of CoreTelephony Framework?

In the creker's post Get CellID, MCC, MNC, LAC, and Network in iOS 5.1, he mentioned that there are some private API in CoreTelephony Framework, such as _CTServerConnectionCreate.

I've tried the "class-dump" tool but it didn't work. e.g.: Using class-dump -H CoreTelephony -o Headers. I didn't see any function name has CTServer prefix in dump file. Can anyone help me?

Upvotes: 2

Views: 1175

Answers (1)

vualoaithu
vualoaithu

Reputation: 944

Open terminal -> use command "cd" move to class_dump directory. create "data" directory and use terminal command :

./class-dump -o ./data -H /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/CoreTelephony.framework/CoreTelephony

-> get result in "data" directory.

Upvotes: 0

Related Questions