Closed k3v1nwrld closed 1 year ago
This is a jailbreak issue. although procursus would automatically sign binaries, this is no longer the case. in order to overcome this issue, you can do either the following: • use ldid to sign your binary • create a /home directory and build everything from within there.
I tried to sign with ldid by running ldid -S my-first-program but it didnt help.I think im doing something wrong and tried to google it but didnt find anything.
1: download this file https://github.com/ProcursusTeam/Procursus/blob/main/build_misc/entitlements/general.xml (using either wget or curl)
2: do, ldid -Sgeneral.xml my-first-program
3: try to run the program again
Let me know if this works
Downloaded the file at /var/mobile and moved it to /tmp too but still get an error
Could you sign and run the file in the same directory - IE, build it in /var/mobile and run it in /var/mobile (without moving it to /tmp) regards
Still get the same thing.When i used chrckra1n with procursus this worked completely fine but since i switched to taurine it requires to sign it with ldid
try this:
1: sudo mkdir /home/username
2: sudo chown mobile:mobile /home/username
3: try to compile in that directory (/home/useranme
)
CC @diatrus - can we have the ldid auto signer back...
When i run sudo mkdir /home/test i get Mkdir: cannotcreate directory '/home/test':No such file or directory
Sorry, use sudo mkdir -p /home/username
Thanks it works now!
On chapter 6 program 6.1 whenever i run ./my-first-program i get: zsh:killed ./my-first-program