Supported tweak formats
Impactor can inject multiple types of tweak files:.deb- Debian packages containing tweaks.dylib- Dynamic libraries for direct injection.framework- Framework bundles.bundle- Resource bundles.appex- App extensions
How tweak injection works
ElleKit installation
Impactor automatically installs ElleKit into your app bundle when tweaks are enabled. ElleKit is embedded directly and handles runtime injection.
Tweak extraction
For
.deb files, Impactor extracts the archive and scans for injectable components in standard locations:Library/MobileSubstrate/DynamicLibrariesusr/libLibrary/Frameworksvar/jb/Library/MobileSubstrate/DynamicLibrariesvar/jb/usr/lib
Component installation
Extracted components are installed to the appropriate locations:
.dylibfiles →Frameworks/directory.frameworkbundles →Frameworks/directory.bundlebundles → App bundle root.appexextensions →PlugIns/directory
CydiaSubstrate compatibility
Impactor automatically patches CydiaSubstrate references to use ElleKit for iOS 26.0 compatibility:Using tweaks via the UI
In the Impactor interface:- Select your IPA file
- Enable “ElleKit Support” in the customization options
- Add tweak files (
.deb,.dylib, etc.) - Impactor will automatically inject them during signing
Using tweaks via CLI
With the command-line interface:ElleKit is automatically installed when you enable tweak support or add any tweak files. You don’t need to manually include ElleKit.
Advanced usage
Direct dylib injection
For standalone.dylib files:
Frameworks/ and injected into the main executable.
Framework injection
For.framework bundles:
Frameworks/ and its main executable is injected with proper @rpath references.
Multiple tweaks
You can inject multiple tweaks simultaneously:Technical details
Injection mechanism
Impactor modifies the app’s Mach-O executable to load tweaks at runtime:- Parses the main executable’s Mach-O header
- Adds
LC_LOAD_DYLIBload commands for each tweak - Updates the binary with proper code signatures
- ElleKit handles runtime initialization
Staging directory
Tweaks are processed in a temporary staging directory:Recursive scanning
For.deb packages, Impactor recursively scans all directories to find injectable components, ensuring no tweaks are missed even if they’re in non-standard locations.
Troubleshooting
Tweak not loading
- Verify the tweak is compatible with your iOS version
- Check that ElleKit is properly installed in the app bundle
- Ensure the tweak’s dependencies are included
App crashes after injection
- The tweak may be incompatible with the target app
- Try injecting tweaks one at a time to identify the problematic one
- Check device logs for crash information
CydiaSubstrate errors
- Ensure CydiaSubstrate patching is enabled (it’s automatic)
- Verify the tweak is designed for CydiaSubstrate or ElleKit
Next steps
Entitlements
Learn about entitlement handling
AppSync
Install unsigned apps with AppSync