class-dump-swift icon indicating copy to clipboard operation
class-dump-swift copied to clipboard

Bad CPU type in executable

Open sup3rgiu opened this issue 8 years ago • 4 comments

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

sup3rgiu avatar Feb 02 '17 22:02 sup3rgiu

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

iOS-Nishant avatar Feb 14 '17 10:02 iOS-Nishant

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.

mxms0 avatar Feb 14 '17 19:02 mxms0

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?

sup3rgiu avatar Feb 15 '17 14:02 sup3rgiu

@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

alokc83 avatar Sep 05 '18 16:09 alokc83