[GH-ISSUE #597] [BUG] LiveContainer won’t inject .dylib on sideloaded app/works fine with Feather/eSign #536

Closed
opened 2026-03-03 15:34:23 +03:00 by kerem · 2 comments
Owner

Originally created by @Cxrlocd on GitHub (Jun 16, 2025).
Original GitHub issue: https://github.com/LiveContainer/LiveContainer/issues/597

Describe the bug

LiveContainer does not let me inject .dylib files into sideloaded apps. When I try to load a .dylib from the app’s Documents folder it gives me a code signature invalid error.
dlopen(/private/var/mobile/Containers/Data/Application/.../Documents/Tweaks/yourtweak.dylib, 0x0009):
code signature invalid (errno=1)
The same app and .dylib work perfectly when I sideload using Feather or eSign so it seems like a problem with how LiveContainer handles signing or entitlements at runtime.

Instructions to reproduce

  1. Sideload any app using LiveContainer (tested on iOS 17.6.1)
    2. Put a signed .dylib in the app’s Documents/Tweaks folder
    3. Try to load the .dylib at runtime with dlopen
    4. You will get the code signature invalid error and injection will fail

Image

What version of LiveContainer are you using?

3.5.1 from Sidestore

Other info

•	iOS 17.6.1
•	iPhone not jailbroken
•	Happens with every .dylib even when signed with ldid or codesign
•	Works fine with the same .ipa and .dylib on Feather or eSign
Originally created by @Cxrlocd on GitHub (Jun 16, 2025). Original GitHub issue: https://github.com/LiveContainer/LiveContainer/issues/597 ### Describe the bug LiveContainer does not let me inject .dylib files into sideloaded apps. When I try to load a .dylib from the app’s Documents folder it gives me a code signature invalid error. dlopen(/private/var/mobile/Containers/Data/Application/.../Documents/Tweaks/yourtweak.dylib, 0x0009): code signature invalid (errno=1) The same app and .dylib work perfectly when I sideload using Feather or eSign so it seems like a problem with how LiveContainer handles signing or entitlements at runtime. ### Instructions to reproduce 1. Sideload any app using LiveContainer (tested on iOS 17.6.1) 2. Put a signed .dylib in the app’s Documents/Tweaks folder 3. Try to load the .dylib at runtime with dlopen 4. You will get the code signature invalid error and injection will fail ![Image](https://github.com/user-attachments/assets/166e7924-3892-4c6a-b8da-ffa38140c5dc) ### What version of LiveContainer are you using? 3.5.1 from Sidestore ### Other info • iOS 17.6.1 • iPhone not jailbroken • Happens with every .dylib even when signed with ldid or codesign • Works fine with the same .ipa and .dylib on Feather or eSign
kerem 2026-03-03 15:34:23 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@khanhduytran0 commented on GitHub (Jun 16, 2025):

Press the signature icon in tweak screen.

<!-- gh-comment-id:2978391381 --> @khanhduytran0 commented on GitHub (Jun 16, 2025): Press the signature icon in tweak screen.
Author
Owner

@Cxrlocd commented on GitHub (Jun 16, 2025):

Thanks bro

<!-- gh-comment-id:2978416759 --> @Cxrlocd commented on GitHub (Jun 16, 2025): Thanks bro
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LiveContainer#536
No description provided.