SkillAgentSearch skills...

IOSDylibInjectionDemo

Using this Repository to demo how to inject dynamic libraries into cracked ipa files for jailed iOS devices

Install / Use

/learn @depoon/IOSDylibInjectionDemo
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

iOS Dylib Patching Demo

This repository

  • serve as a tool to teach iOS Developers how to inject using dynamic libraries into Ipa Files
  • is featured in https://medium.com/@kennethpoon/how-to-perform-ios-code-injection-on-ipa-files-1ba91d9438db

Main Components (included)

  • optool
  • patchapp.sh (code was modified from https://github.com/bamtan/PokemonGoAnywhere/blob/master/patchapp.sh)

How to patch a ipa file

  1. Download a cracked ipa. (eg. https://www.iphonecake.com)
  2. Use Xcode to create an iOS Dynamic Framework (see below as an example). Build the framework target for iphoneos (non-iphonesimulator)
  3. Reveal the framework in finder and locate the dynamic library binary.
  4. Copy the entire framework (or just dynamic library binary file will do) and any depedent dylibs into a folder (lets call it DYLIBS).
  5. You may need additional XCode stock swift dylib which you can find them at /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift. Copy any required swift dylib into the DYLIBS folder
  6. Go to the root level of this repository and run sh ./patchapp.sh cracked.ipa ./DYLIBS
  7. You will see an output file called "cracked-patch.ipa". Use Cydia Impactor (http://www.cydiaimpactor.com) to sign the new and install it into your device.

This repository was inspired by the work of https://github.com/bamtan/PokemonGoAnywhere

Feel free to contact the main author de_poon@hotmail.com

Related Skills

View on GitHub
GitHub Stars193
CategoryDevelopment
Updated3mo ago
Forks38

Languages

Shell

Security Score

77/100

Audited on Dec 20, 2025

No findings