iPAPatcher icon indicating copy to clipboard operation
iPAPatcher copied to clipboard

Apps crashing upon sideloading?

Open kittyjosh111 opened this issue 5 years ago • 12 comments

Trying to inject MessengerNoAds.dylib into a messenger iPA extracted from iMazing. Ran iPAPatcher and signed the resulting iPA with iOS App Signer. App crashes upon installation through filza. Sideloading the iPA without injection works, and will open on iOS.

Is there any fix? Could it be some dependencies of the dylib?

kittyjosh111 avatar Oct 19 '20 16:10 kittyjosh111

I'm having the same issue with different apps/tweaks.

  • I got the Cercube and Rocket deb files from the official apt source
  • Got the official YouTube and Instagram IPA files using Apple Configurator 2
  • Ran the iPAPatcher (version 0.6) successfully on both
  • Sideloaded the generated IPA files using AltStore
  • Open the new apps on phone - see YouTube/Instagram splash screen followed by immediate crash

idolize avatar Oct 21 '20 16:10 idolize

I don’t know if the crashes are related to this, but the tweak must be compatible with the app you want to patch – this means both the app itself and the version of the app that the tweak was made for (if the app is too new, then the tweak may not work with it).

hussainmahm avatar Oct 23 '20 17:10 hussainmahm

I have the same issue and have followed the same steps as @idolize with the same files and sideload method. I did however select to install without app extensions, could that be a cause? Edit: I sideloaded with extensions but still crashes.

hussainmahm avatar Oct 23 '20 19:10 hussainmahm

I extracted the patched ipa and inside the Dylibs folder there is only libsubstitute.0.dylib and libsubstitute.dylib. Does the absence of any Cercube dylib mean it was not patched correctly? Edit: I used the previous version of Cercube 5.2.4 instead of the latest 5.2.5 and this time there are Cercube dylibs in the Dylibs folder. However the app still crashes!

hussainmahm avatar Oct 23 '20 20:10 hussainmahm

I'm not sure. @brandonplank do you have any more background info on how the process is supposed to work / how we can verify if we are patching correctly?

idolize avatar Oct 23 '20 20:10 idolize

Ok so, tweaks like cercube has more dependencies not in the Dylibs path, but in the libs path. I will need help with this.

brandonplank avatar Oct 28 '20 06:10 brandonplank

@brandonplank Maybe reach out to the iosninja people? They have been able to do it successfully https://iosninja.io/ipa-library

I'd love to help personally, but I don't know enough about how the IPAs are built - dylibs are dynamically linked while libs are statically linked, right?

idolize avatar Oct 28 '20 17:10 idolize

@idolize the tweak developer does it, iosninja just hosts it.

hussainmahm avatar Oct 28 '20 19:10 hussainmahm

But they are always way out of date on there (or other hosting sites) compared to the deb files hosted on Cydia/APT

idolize avatar Oct 28 '20 19:10 idolize

But they are always way out of date on there (or other hosting sites) compared to the deb files hosted on Cydia/APT

Did you figure out how to patch rocket or cercube? Ninja and Rocket developer don't even response if i offer money for Assist.

miamilabs avatar Nov 14 '20 15:11 miamilabs

@miamilabs Sadly no - I'd be interested in helping to fix the issues but I don't even know where to start - I've likewise had trouble getting any response whatsoever from iOS Ninja or Majd Alfhaily.

idolize avatar Nov 15 '20 20:11 idolize

I've tried this and have had the same results but only with tweaks that require other dependencies besides the main .deb file for the app. It dawned on me when I realized that ++ tweaks require uasharedtools and I even tried to patch that in after I patched instagram++ but that causes an error in IPAPatcher. Any other thoughts to this madness?? Hope I'm making myself clear.

theb1g0ne avatar Nov 18 '20 03:11 theb1g0ne