mxms0 / class-dump-swift

Swift Class Dumper - Very neglected
134 stars 21 forks source link

Bad CPU type in executable #4

Open sup3rgiu opened 7 years ago

sup3rgiu commented 7 years ago

I'm trying to dump a binary of an app cracked with Clutch, but I'm getting "Bad CPU type in executable" error.

iOS-Nishant commented 7 years ago

Hi sup3rgiu, I think your device architecture is not supported. Can you please share your device detail and iOS version?

mxms0 commented 7 years ago

It's possible that clutch is either generating a bad binary, or I don't have support for the architecture (this is quite likely). I'll look into it in the coming weeks.

sup3rgiu commented 7 years ago

I tried class-dump-swift on iPod 5G with iOS 8 and also on Mac.

Yes, maybe is a problem of Clutch. Can you share with me a sample binary in swift?

alokc83 commented 6 years ago

@sup3rgiu: you need to use the same platform. it seems you are running the command that was built on a different platform than where is it being used. for example, if the binary is generated on OSX and you try to run on iPhone or vice versa. You would see this kind of error