cd /private/var/mobile/Documents # save place to work in
ldid -e which bash
> ent.xml # Get the ent from bash and save it
ldid -Sent.xml which dumpdecrypted
# sign dumpdecrypted with the ent. “-Sent.xml” is the correct usage
inject which dumpdecrypted
# inject into trust cache
尝试了这个方法还是会报only launchd is allowed to spawn untrusted binaries 也试过su mobile