Source Code Patching
Last updated
Last updated
In order to start analyzing and managing an iOS app without jailbreak, the app's source code itself needs to be patched to load the FridaGadget.dylib on start. In these cases, you can simply load the FridaGadget.dylib as part of the Xcode project and deploy it on an iOS device or simulator.
To add FridaGadget.dylib to project in XCode:
Create a Frameworks folder in the project root.
Download FridaGadget.dylib from here and extract it.
Go to the project's root and select the Build Phases
, find the section title Link Binary With Libraries
and drag the dylib from the Frameworks folder on the left of Xcode to the existing list.
Go to the project's root and select the General
, find the section title Frameworks, Libraries, and Embedded Content
and set FridaGadget.dylib in the Embed
column to Embed & Sign
.
You can now build the project and deploy it to an iOS device or simulator.