[GH-ISSUE #653] [BUG] Apps crashing and signing out after NSUserDefault update #580

Closed
opened 2026-03-03 15:34:46 +03:00 by kerem · 4 comments
Owner

Originally created by @m1337v on GitHub (Jul 6, 2025).
Original GitHub issue: https://github.com/LiveContainer/LiveContainer/issues/653

Describe the bug

After the latest commit that replaced the 8-folder NSUserDefaults system, apps are experiencing:

  • Random crashes (Instagram and others) -> until they don't launch at all anymore
  • Apps signing account out after every launch
  • Issues don't always happen immediately -> sometimes after multiple launches or time

What helped was deleting and installing the previous (now deleted) commit with the 8 NSUserdefauls.

I think it may be recursion in the hooks building up the stack

This is the only crashreport i could find for that day. The time seems to match when i first launched with the new nightly, but may be unrelated.

LiveContainer-2025-07-06-222832.ips.txt

Instructions to reproduce

sign in to instagram (original unmodified version)
quit app
launch again -> repeat until it starts crashing immediately
after about 5 crashes it works (you are logged out but can see the account name) and then it starts crashing again

What version of LiveContainer and iOS are you using?

latest nightly

Other info

No response

Originally created by @m1337v on GitHub (Jul 6, 2025). Original GitHub issue: https://github.com/LiveContainer/LiveContainer/issues/653 ### Describe the bug After the latest commit that replaced the 8-folder NSUserDefaults system, apps are experiencing: - Random crashes (Instagram and others) -> until they don't launch at all anymore - Apps signing account out after every launch - Issues don't always happen immediately -> sometimes after multiple launches or time What helped was deleting and installing the previous (now deleted) commit with the 8 NSUserdefauls. I think it may be recursion in the hooks building up the stack This is the only crashreport i could find for that day. The time seems to match when i first launched with the new nightly, but may be unrelated. [LiveContainer-2025-07-06-222832.ips.txt](https://github.com/user-attachments/files/21092692/LiveContainer-2025-07-06-222832.ips.txt) ### Instructions to reproduce sign in to instagram (original unmodified version) quit app launch again -> repeat until it starts crashing immediately after about 5 crashes it works (you are logged out but can see the account name) and then it starts crashing again ### What version of LiveContainer and iOS are you using? latest nightly ### Other info _No response_
kerem 2026-03-03 15:34:46 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@m1337v commented on GitHub (Jul 7, 2025):

The crashes are fixed and it works for most apps, but the sign outs persist for some apps such as Pure (id690661663) and Twinby (id1595084386).
When you restart the app you always have to sign in again

<!-- gh-comment-id:3043971527 --> @m1337v commented on GitHub (Jul 7, 2025): The crashes are fixed and it works for most apps, but the sign outs persist for some apps such as Pure (id690661663) and Twinby (id1595084386). When you restart the app you always have to sign in again
Author
Owner

@m1337v commented on GitHub (Jul 7, 2025):

edit: looks like this is related to google sign in

<!-- gh-comment-id:3044575583 --> @m1337v commented on GitHub (Jul 7, 2025): edit: looks like this is related to google sign in
Author
Owner

@hugeBlack commented on GitHub (Jul 7, 2025):

We've found another approach to solve this issue, but it may have some issue and does not support all iOS versions. Please have a try https://github.com/LiveContainer/LiveContainer/actions/runs/16122895398

<!-- gh-comment-id:3045906527 --> @hugeBlack commented on GitHub (Jul 7, 2025): We've found another approach to solve this issue, but it may have some issue and does not support all iOS versions. Please have a try https://github.com/LiveContainer/LiveContainer/actions/runs/16122895398
Author
Owner

@m1337v commented on GitHub (Jul 7, 2025):

looks good, this one works!

<!-- gh-comment-id:3046179115 --> @m1337v commented on GitHub (Jul 7, 2025): looks good, this one works!
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#580
No description provided.