Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request for LiveContainer #54

Open
UltraShadoww opened this issue Apr 29, 2024 · 3 comments
Open

Feature Request for LiveContainer #54

UltraShadoww opened this issue Apr 29, 2024 · 3 comments

Comments

@UltraShadoww
Copy link

LiveContainer has been a blessing for iOS sideloading,
The CidyaSubstrate fixes have fixed a lot off apps and Emulators like Folium are now functional (haven’t tested throughly). Thank you for your work!

I don’t have any idea about iOS development or the internals of LiveContainer, so I don’t know if these are ridiculous feature requests but, please consider implementing:

  1. Exiting Applications after use, A overlay that allows the user to goes back to App Selection after use, this will prove very helpful when using emulators that require JIT, as the same instance of LiveContainer can be used to run multiple emulators without having to enable JIT in each one. This would be especially helpful when away from a computer when a debugger for JIT cannot be attached. iOS’s unpredictable memory management can close JIT instances of emulators, a one for all solution would be much more reliable.

  2. Use of LiveContainer with a Developer Certificate, again, I don’t know the internals but it if somehow LiveContainer can grab the correct files needed for JIT-less setup from SideStore without having to be sideloaded with SideStore then folks using a signing service (no apple dev account, just p12) can benefit from having to refresh Live Container.

These are some features I hope you can consider implementing in the future (if possible). Again, Thank for the work with LiveContainer, it is a godsend.

@dragonplus8
Copy link

If i may also make a feature request can you add an option to force it to resign an app in jit less mode
As the signing can mess up which then cause it to crash loop

@SARankDirector-Minecraft

If this is a feature request thread (just delete if it's not okay here) I'd like to suggest the ability to set livecontainer to auto boot into the last selected app. You could then change which app you want to boot into with a shortcut or 3d/haptic touch (the main livecontainer interface would also be an option from the 3d touch/shortcut). Effectively, livecontainer would then act as if it was that particular app in every way, until you selected a different one from 3d touch or a shortcut.

@khanhduytran0
Copy link
Owner

First of all thanks for all your suggestions, here’s my answers:

  1. It is not possible to return to LiveContainer without leaking memory and breaking internal state. The main reason is that UIApplicationMain can only be called once, otherwise I will need to make it so it somehow finds all pages, deallocate pages no longer being used, reset frameworks’ internal state, etc, which is probably very difficult.
  2. I think I may allow Sideloadly and UDID (personalized) cert support by providing a button to import certificate, but I’ll need to write my own signer (which I didn’t and I was too lazy so I chose to dynamically load SideStore frameworks and call its signing API instead). Note that enterprise cert won’t be supported as it would raise error sandbox file system blocked mmap()
  3. (@dragonplus8) Sure. At the moment you could use a plist editor to remove LCSignRevision from app’s Info.plist to force it to resign
  4. (@SARankDirector-Minecraft) I’ll look into it. Maybe I’ll also add a switch in settings for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants