Skip to content

.bundle resource not copied when injecting with Ksign #107

@siieo

Description

@siieo

Describe the bug
When injecting 2 dylibs and 1 .bundle into an app using Ksign v1.5.1, the two dylibs appear to be injected, but the .bundle resource file does not get copied into the target app. Because of that, any resources required by the injected tweak, such as images, plist files, or localized strings inside the .bundle, are missing at runtime.

To Reproduce
Steps to reproduce the behavior:

  1. Open Ksign v1.5.1 on iPhone 17 Pro Max running iOS 26.1.
  2. Select an app to sign/inject into.
  3. Add 2 dylib files and 1 .bundle resource file for injection.
  4. Start the signing/injection process.
  5. Install the signed app.
  6. Check the app contents or run the app and notice that the dylibs are injected, but the .bundle is not copied into the app bundle.

Expected behavior
Ksign should copy the .bundle resource file into the target app together with the injected dylibs, so the tweak can access its required resources normally at runtime.

Smartphone (please complete the following information):

  • Device: iPhone 17 Pro Max
  • OS: iOS 26.1
  • Browser: N/A
  • Version: Ksign v1.5.1

Additional context
I tested injecting 2 dylibs and 1 .bundle, and only the dylibs were handled correctly. The .bundle resource file was not copied into the target app. This causes issues for tweaks that depend on bundled resources. It would be helpful if Ksign supported copying resource bundles during injection, not only dylib files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions