static void (*orig_viewDidLoad)(id self, SEL _cmd); static void new_viewDidLoad(id self, SEL _cmd) NSLog(@"Hooked viewDidLoad"); orig_viewDidLoad(self, _cmd);
A dylib, short for dynamic library, is a type of library file used in macOS and iOS operating systems. It's a compiled file that contains code and data that can be shared by multiple programs. Dylibs are loaded into memory when a program starts, allowing the program to use the functions and resources contained within the library. Inject Dylib Into Ipa
If you only need Frida’s dynamic instrumentation, the easiest method is using frida-ios-hs (Frida iOS Helper Script): static void (*orig_viewDidLoad)(id self