As far as I know, a compiled binary executable cannot be packaged because it must be signed with Xcode and tools. After the signed code is deployed on the iOS device, it cannot be changed in any way (only the OS can load it differently in RAM).
You can try to pack resource files and load them differently.
source
share