简体   繁体   中英

“Bad CPU Type in executable”

I ssh into my jailbroken iPhone 7 with my iMac to follow a tutorial ( this one) . When I type the command "cycript -p SpringBoard", it gives me this error:

Bad CPU type in executable

How can I solve this?

Probably your phone has some ARM processor, and your laptop some x86-64 one.

You should not expect an executable for ARM to run on x86-64 or vice versa (even if both run some variant of MacOSX or of iOS).

Maybe you want some emulator . Or you could use some cross-compiler tool (eg to compile on your laptop an executable for your phone).

You certainly need to understand more about operating systems , computer architecture , instruction set architecture . I recommend reading Operating Systems: Three Easy Pieces .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM