tags:

views:

165

answers:

1

I've tried class-dump ( http://www.codethecode.com/projects/class-dump/ ) and class-dump-x ( http://iphone.freecoder.org/classdump_en.html ), but neither works on /System/Library/PrivateFrameworks/CoreSymbolication.framework on Snow Leopard (OSX 10.6.2). Are there are any other ways to retrieve the headers for this framework?

+1  A: 

CoreSymbolication is not written in Objective-C but in C++. That’s why class-dump does not work. You can use

nm /System/Library/PrivateFrameworks/CoreSymbolication.framework/CoreSymbolication | c++filt

to look at the symbols defined in CoreSymbolication. They are a little difficult to read because of heavy template usage.

Alas, for C++, it’s not possible to generate full header information out of the executable.

Nikolai Ruhe