Zebra: Unable to install packages

Created on 25 May 2019  Â·  13Comments  Â·  Source: zbrateam/Zebra

Describe the bug
When I attempt to install packages, I get the following console output and the tweak will not be installed:

Downloading Packages.
Downloading XXX
Installing Packages...
Importing local packages.
Finished importing local packages.
Done!

To Reproduce
Steps to reproduce the behavior:
For me, I just need to try to install any new package, for example:

  1. Search for "Beta Alert" (not installed)
  2. Press "Beta Alert!"
  3. Press "Install"
  4. Press "Confirm"

Expected behavior
The tweak should be installed

Screenshots
Here is a screenshot of the console output: https://imgur.com/a/MtNZ049

Device Information (please complete the following information):

  • iOS Version [e.g. 12.1.2 or 10.3.3]: 12.1.1
  • Zebra Version [e.g. 1.0\~beta1 or beta1]: 1.0~beta11
  • Device Type [e.g. iPhone or iPad]: iPhone

Crash Log or System Log
N/A

Additional context
This has been happening ever since I installed Zebra a few betas ago and I haven't been able to fix it

bug

Most helpful comment

@wstyres @PoomSmart I have worked out exactly why this issue is happening, prepare for my long and complicated explanation:

  • The issue is caused when you have 1 tweak with com.apple.UIKit in the bundle filter, and another with xyz.willy.Zebra in the bundle filter (the two tweak I used to test were "Clean Tab" and "TweakReviewsDB", but there are probably others causing this issue)
  • The reason this happens is because supersling is located in the same bundle as Zebra
  • This means that TweakReviewsDB is loaded into supersling when it shouldn't be
  • TweakReviewsDB links against UIKit, meaning UIKit is also loaded into supersling
  • This means that all UIKit tweaks (including CleanTab) are loaded into supersling
  • This breaks supersling

The best and most universal fix is this: Move supersling out of Zebra's bundle. Cydo is also not located in Cydia's bundle for presumably this same reason. Nothing should ever be injected into supersling, and certainly not tweaks like TweakReviewsDB intended for Zebra so moving it outside of the bundle makes perfect sense.

If you have any queries or want me to test anything for you, hit me up.

All 13 comments

Does this just happen to you for every beta of Zebra? Are there any additional steps that can always reproduce this issue? @Muirey03

@PoomSmart Just downgraded it to 1.0~beta2 to test, and yes this bug still happens. As for the additional steps, I don't know. This happens for me every time I try to install anything.

@Muirey03 Can you try compiling Zebra from this repository and test?

@PoomSmart I would, as there's other features and stuff that I'd like to play around with, but I do all my development on windows so can't build xcode projects :(

This happens to me as well, exact same output. It's been happening for weeks now. Reinstalling Zebra or re-jailbreaking (with reboot) does not fix it.

I can try compiling Zebra and testing it.

image

Edit: Isn't this the same as #96 ?

Following info is on master branch

After building it myself, I can install packages just fine... all I changed was the signing team + vundle identifier (not in control file) so xCode would let me sign it.

After installing the release build, I see "Clear Image Cache" and "Clear Keychain", so I definitely have the latest version (not sure why I didn't see it in debug build). It still installs the packages as it should.

I tested it with NoBlur from your repo.

image


Following on v1.0-beta11 tag

It's not a beta11 issue, as when I build beta 11 I can still install/remove packages (yes, this issue is not just with installing, but also reinstalling & removing).

image

@wstyres @PoomSmart I have worked out exactly why this issue is happening, prepare for my long and complicated explanation:

  • The issue is caused when you have 1 tweak with com.apple.UIKit in the bundle filter, and another with xyz.willy.Zebra in the bundle filter (the two tweak I used to test were "Clean Tab" and "TweakReviewsDB", but there are probably others causing this issue)
  • The reason this happens is because supersling is located in the same bundle as Zebra
  • This means that TweakReviewsDB is loaded into supersling when it shouldn't be
  • TweakReviewsDB links against UIKit, meaning UIKit is also loaded into supersling
  • This means that all UIKit tweaks (including CleanTab) are loaded into supersling
  • This breaks supersling

The best and most universal fix is this: Move supersling out of Zebra's bundle. Cydo is also not located in Cydia's bundle for presumably this same reason. Nothing should ever be injected into supersling, and certainly not tweaks like TweakReviewsDB intended for Zebra so moving it outside of the bundle makes perfect sense.

If you have any queries or want me to test anything for you, hit me up.

I’m not able to reproduce this with TweakReviewsDB and Clean Tab installed. Does uninstalling either one fix the issue for you / are you sure both of these are the culprit?

Going to uninstall TweakReviewsDB and report back

nvm just forgot Im not jailbroken and can't be rejailbroken until i get a pc because ignition/jailbreak.fun isn't working for me (popup won't show)

@Amplespencer don't worry about it. Wilson was able to reproduce this issue on his unc0ver device so a fix should be coming soon.

ok, I just really hope Letmeblock didn't break or something because I don't
get popups from signing services after I restored rootfs :/

On Wed, May 29, 2019 at 2:51 PM Tommy Muir notifications@github.com wrote:

@Amplespencer https://github.com/Amplespencer don't worry about it.
Wilson was able to reproduce this issue on his unc0ver device so a fix
should be coming soon.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/wstyres/Zebra/issues/120?email_source=notifications&email_token=AG7C3GJKTWXHMAOEHXOB323PX3GETA5CNFSM4HPUB4OKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWQJUZA#issuecomment-497064548,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AG7C3GLHDLBNXQAR6XMTOODPX3GETANCNFSM4HPUB4OA
.

Should be fixed as of 02882d4

Was this page helpful?
0 / 5 - 0 ratings

Related issues

baobaoit picture baobaoit  Â·  4Comments

aRvedk picture aRvedk  Â·  5Comments

worldlydev picture worldlydev  Â·  6Comments

wstyres picture wstyres  Â·  5Comments

trismegis7os picture trismegis7os  Â·  4Comments