> Bypassing PT_DENY_ATTACH (Hard Mode)
There's also the harderer mode, which I did on macOS a while back - patch the kernel to make PT_DENY_ATTACH do nothing. Macs actually make it fairly easy to run a patched kernel, but I guess on iOS it'd be a lot more trouble (KTRR etc.)
Although XNU is technically open-source, I found it easier to apply my patch with a hexeditor rather than recompiling.