How to insert a LC_LOAD_DYLIB command into a Mach-O binary or join a static library to an existing binary (IOS)
This is the first time I am asking on stackoverflow and I am desperate. My task is to load a dylib or join a static lib to an already existing executable for an IOS device. I will be using the static void __attribute__((constructor)) initialize(void) to start the swizzling. This executable is for in house enterprise appstore so i do not need to go thru the apple appstore (since they will reject it). The reason for this is to take an existing IPA from a customer and their signing keys and add a new functionality to their application without requiring a developer intervention. There is one