Naituw / IPAPatch

Patch iOS Apps, The Easy Way, Without Jailbreak.
MIT License
4.74k stars 708 forks source link

Frida Gadget - no such file #97

Open jwlilly opened 9 months ago

jwlilly commented 9 months ago

I'm attempting to add the Frida Gadget dylib into the project. The app will install onto the device, but as soon as it loads, I get a crash with this error in the logs

dyld[840]: Library not loaded: @executable_path/Dylibs/FridaGadget Referenced from: <DC4FE5F9-AD21-3B5E-83D4-BE544F8458DE> /private/var/containers/Bundle/Application/4D4E24D1-CFB0-41E3-93E2-F405EB59E289/IPAPatch-DummyApp.app/Test-App Reason: tried: '/usr/lib/system/introspection/FridaGadget' (no such file, not in dyld cache), '/private/var/containers/Bundle/Application/4D4E24D1-CFB0-41E3-93E2-F405EB59E289/IPAPatch-DummyApp.app/Dylibs/FridaGadget' (no such file)

Any ideas on how to fix the error?

samova commented 8 months ago

So far,I find a way to deal with it as follow. 1.add FridaGadget.dylib as library link to ipapatchframework(not embedded ),to make sure FridaGadget.dylib will be copy to app/Framework. 2.add FridaGadget.dylib as Framework to ipapatch-DummyApp, to make sure it will be load.