/RootBridge

An iOS developer framework for rootless tweak development.

Primary LanguageObjective-CBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

RootBridge

An iOS developer framework for rootless tweak development. This framework makes it possible to compile "universal" (root + rootless) binaries.

Universal Binaries

Binaries developed with this framework should be virtually identical in compiled form between rooted or rootless jailbreaks (arm64e ABI aside).

  • Ensure all linked third-party libraries/frameworks are using @rpath install_names. See HookKit or Modulous frameworks as an example.
  • Add the necessary rpath options in your RootBridge project. See Shadow as an example.
  • Wrap any jailbreak paths in your code with [RootBridge getJBPath].

Features

  • Efficiently detect if your code is running on a rootless platform in runtime.
  • Convert path strings to rootless paths if necessary.