The last thing I checked, sandboxed applications can't even fork(). I'm not sure if they can call execve(). If they cannot do this, then you just need to call execve().
I'm not sure how much jailbreak interferes with this. Perhaps there is a jailbreak that allows you to run unregistered applications from unregistered applications, but it behaves normally if the caller is signed up.
Obviously, it is possible to "package" the executable in the library: just use it static unsigned char const data [] = { ... };, write it to the file, chmod()and try to execute it.
, . Jailbroken , . - , ( ), " !" .
( , - . "", , .)
, . MobileSubstrate , script, . OTOH, , / ( , , ) .