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

[BUG] _assert(): end >= size - 0x10 When Installing Flutter apps #134

Closed
Wei-Winter opened this issue Aug 21, 2024 · 3 comments
Closed

[BUG] _assert(): end >= size - 0x10 When Installing Flutter apps #134

Wei-Winter opened this issue Aug 21, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Wei-Winter
Copy link

Describe the bug

/Users/runner/Library/Developer/Xcode/DerivedData/AltStore-dunvejkuqerofjghtqolpzgexuyv/SourcePackages/checkouts/AltSign/Sources/ldid/../ldid-core/ldid.cpp(1368): _assert(): end >= size - 0x10

Instructions to reproduce

Here is the link to the app: https://github.com/xiaoyaocz/dart_simple_live/releases/download/v1.7.3/ios_no_sign.ipa

What version of LiveContainer are you using?

Version 2.1.2-release (main/fd71dd7)

Other info

No response

@hugeBlack
Copy link
Collaborator

hugeBlack commented Oct 5, 2024

LiveContainer uses exactly the same way of singing apps as SideStore or AltStore. This is an issue with ldid and have not been solved for 2 years, you can see xiaoyaocz/dart_simple_live#505 and altstoreio/AltStore#1034. You may need to use another way to sideload like Sideloadly.

@hugeBlack
Copy link
Collaborator

hugeBlack commented Nov 11, 2024

English
Alright, to whom may encounter this problem in the future, I found a workaround.

  1. First, you need to install Feather. You can install it in LiveContainer.
  2. Then, import the IPA with this issue to Feather app as well as any random .mobileprovision and .p12 file, they can be expired since we are just using this app to reallocate the headers of the IPA
  3. Sign the IPA with the certificate you imported.
  4. Open the signed app in files and move it to LiveContainer's Application folder
  5. Restart LiveContainer and you can run the app

简体中文:
虽然这是AltSigner的问题我还是找到个办法来安装

  1. 先安装 Feather.你可以直接安装在LiveContainer里面
  2. 然后把有问题的IPA和随便哪个 .mobileprovision.p12导入到Feather里面,不需要是没过期的,因为我们只是用Feather来修复这个IPA
  3. 用导入的证书签名这个IPA
  4. 长按这个签名的app,点“Open In Files” ,然后把.app移动到LiveContainer的Applications文件夹里面
  5. 然后就可以在LiveContainer里面启动App了

@hugeBlack hugeBlack closed this as not planned Won't fix, can't repro, duplicate, stale Nov 11, 2024
@Wei-Winter
Copy link
Author

The attempt was successful, and this method can indeed be used to fix the app that displays this error message

@hugeBlack hugeBlack changed the title [BUG]This error message appears after importing the IPA [BUG] _assert(): end >= size - 0x10 When Installing Flutter apps Nov 17, 2024
@ghost ghost mentioned this issue Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants