Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jsonli

macrumors member
Original poster
Has anyone ever dumped headers from a cocoa library? (.a file generated from XCode?).

I've extracted the .a file and gotten all the .o files.

I then tried using class-dump (and variants) on the .o files, but they don't seem to work as they do on the object files in the Apple frameworks.

I get error messages stating there is no Objective-C runtime in the file. (Even though it's a cocoa library!?).

Any ideas, anyone?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.