A small library to assist in creating jailed-tweaks
install_name_tool
and patience
For an automated process
sh inject.sh <path to .ipa file> <path to .dylib>
For users more familiar with Xcode's dev tools
install_name_tool -change /usr/lib/libSystem.B.dylib @executable_path/dloader.dylib "YouTube"
install_name_tool -change /Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate @rpath/CydiaSubstrate.framework/CydiaSubstrate "YouTopia.dylib"
File Hierarchy;
- Payload/YouTube.app/dloader/YouTopia.dylib
- Payload/YouTube.app/dloader.dylib
- Payload/YouTube.app/Frameworks/CydiaSubstrate.framework
or if you need to visualize it:
Payload
└── YouTube.app
├── Frameworks
│ └── CydiaSubstrate.framework
├── YouTube
├── dloader
│ └── YouTopia.dylib
└── dloader.dylib
Just invoke make
- daniel (me) for dloader.m
- n3d1117 for simplifying the process with a inject.sh
- saurik for CydiaSubstrate