So to sign it yourself you need to do the following (MacOS only):
- Execute this command: "security find-identity -p codesigning" in terminal.
- Copy the ID of the first profile that appears.
- Execute this command: "codesign -s IDENTITY --entitlements _path_to_ent.xml --force /path_to/binary" in terminal.
Where IDENTITY is the ID you copied earlier.
One that is done you can copy it over to your device and reboot + rejailbreak.