bazad/ios-command-line-tool

How to install it, killed: 9

GermMuz opened this issue · 1 comments

I have your sample compiled and using scp put the executable on the device. I am using the yalu electra jailbreak on 11. 0.3. Am I installing it the wrong way?

The problem is I keep getting killed:9 when I run the executable which looks like a certificate issue. Any ideas?

Thx

bazad commented

You'll need to ensure the binary is correctly signed, has the necessary entitlements, and is placed in an acceptable directory.

You can use jtool or ldid2 to sign the binary; make sure to include the platform-application entitlement. Once the binary has been signed properly, copy it to the device into a directory from which execution is allowed, for example /usr/local/bin (or /bootstrap/usr/local/bin or /jb/usr/local/bin, depending on which jailbreak you're using).