mirror of
https://github.com/LiveContainer/LiveContainer.git
synced 2026-04-25 09:05:53 +03:00
[GH-ISSUE #314] [BUG] ".framework" tweaks injecting not work #287
Labels
No labels
bug
compatibility
enhancement
multitasking
pull-request
safe area
status: broken
status: usable
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/LiveContainer#287
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @user919722 on GitHub (Jan 17, 2025).
Original GitHub issue: https://github.com/LiveContainer/LiveContainer/issues/314
I‘m having trouble injecting the .framework part of a tweak into apps via LC‘s tweak page (the tweak was specifically designed to work on jailed devices).
I‘ve attached what exactly I am injecting and what the framework looks like as images below.
First, I simply tried extracting the dylibs + framework from the .deb file, which resulted in the following error:
I managed to fix that by changing the dylib‘s paths to @rpath. I also included libsubstrate.dylib. I can confirm that the dylib-part of the tweak successfully loads in now.
However, the .framework part still doesn‘t load in. I‘ve tried deleting every dylib from the tweak folder (even libsubstrate) and then tried opening an app to see what error I would get. I didn‘t get an error message similar to the one above (no error at all actually). The same happens if I delete everything but the framework and libsubstrate.dylib: no error message and the app loads in like no tweaks are injected.
Now I‘m kinda at a loss. I didn‘t change anything about the .framework part of the tweak (simply copy pasted it from the .deb). I‘m using LC 3.2.0. Can LC not load any frameworks as tweaks or am I doing something wrong?
Any help appreciated!
@hugeBlack commented on GitHub (Jan 18, 2025):
Yes, this is a bug, I'll fix that soon. However it is unlikely that tweaks with assets will work with LiveContainer's tweak loader due to file location issues even if they are designed for rootless environment. It's recommended to directly inject the tweak to the app itself.