Option #3: Disable Checks
Finally, an option that is really convenient for development purposes is just to disable the check. Now, technically, this disables a lot more than just the codesign check, and its also more disabling the penalty than the check itself. I have run my phone for a while in this state, but I have heard that in some (many?) configurations it causes problems: being unable to connect to insecure WiFi networks being the largest. This is done by using sysctl to deactivate the enforcement and can be undone either by resetting the variables back on or by rebooting the phone.
from your iPhone Terminal
sysctl -w
security.mac
.proc_enforce=0
security.mac
.vnode_enforce=0
(to undo, either use =1's or reboot)