brandonplank / iPAPatcher

MIT License
288 stars 4 forks source link

Apps crashing upon sideloading? #9

Open kittyjosh111 opened 3 years ago

kittyjosh111 commented 3 years ago

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?

idolize commented 3 years ago

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

hussainmahm commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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!

idolize commented 3 years ago

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?

brandonplank commented 3 years ago

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

idolize commented 3 years ago

@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?

hussainmahm commented 3 years ago

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

idolize commented 3 years ago

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

miamilabs commented 3 years ago

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.

idolize commented 3 years ago

@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.

theb1g0ne commented 3 years ago

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.