Class-dump gives the error "Error: cannot find offset for address in dataOffset for address"?

I'm trying to dump bridgehead headers from my mac

using the following command

class-dump /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/System/Library/CoreServices/SpringBoard.app/SpringBoard -H -o /Desktop/SpringBoard` 

but I get the following error:

Error: Cannot find offset for address 0x38a56a2c in dataOffsetForAddress:

I downloaded the dump class command line tool from http://www.codethecode.com/projects/class-dump and copied the class-dump file to my usr/bin/

So, someone, please let me know what went wrong?

+6
objective-c iphone
source share
1 answer

On my system (OS X 10.10 with Xcode 6.0) I had to cd : /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/CoreServices/SpringBoard.app

From there I used the dump class version 3.5 (64-bit) as follows:

 $ class-dump SpringBoard -H -o ~/Desktop/SpringBoard 

As a result, the headings you can find here . Unfortunately, I do not have a 3.0 SDK for testing.

0
source share

All Articles