Al4ise / Azule

Other
474 stars 47 forks source link

Fails to install tweaked IPA from Azule: Guru Meditation e6aca1@147:a45007 #144

Open yodaluca23 opened 1 year ago

yodaluca23 commented 1 year ago
ERROR: Guru Meditation e6aca1@147:a45007 could not find executable for C:\Users\user\AppData\Local\Temp\tmpr14574yh\Payload\Spotify.app\Frameworks\CydiaSubstrate.framework Install failed: Guru Meditation e6aca1@147:a45007 could not find executable for C:\Users\user\AppData\Local\Temp\tmpr14574yh\Payload\Spotify.app\Frameworks\CydiaSubstrate.framework

I injected a couple of tweaks, into an IPA, with Azule, but when I try to sideload it with Sideloadly, I get the above error... Also, if I unzip the IPA, and navigate to the Frameworks/CydiaSubstrate.framework their is a CydiaSubstrate file.

asdfzxcvbn commented 1 year ago

yep the CydiaSubstrate binary is inside the .framework, maybe your antivirus is deleting the framework? i've never personally encountered this issue

yodaluca23 commented 1 year ago

yep the CydiaSubstrate binary is inside the .framework, maybe your antivirus is deleting the framework? i've never personally encountered this issue

I tried doing it from AppDB, so that the anti-virus wouldn't be a problem, and it installs, but gives the integrity verification error...

image

yur1xpp commented 10 months ago

@Al4ise Do you have any idea why? I gets the same issue. I did some testing by manually extracting the injecting libraries CydiaSubstrate.framework created by Sideloadly IPA, then use the -m flag in Azule to inject this framework instead. Now, it sideloaded successfully. I tested sideloading using AltServer-Linux rather than Sideloadly itself to verify it's not Sideloadly specific issue. The differences in the frameworks: (left=Sideloadly, right=Azule)

image

asdfzxcvbn commented 10 months ago

@Al4ise Do you have any idea why? I gets the same issue. I did some testing by manually extracting the injecting libraries CydiaSubstrate.framework created by Sideloadly IPA, then use the -m flag in Azule to inject this framework instead. Now, it sideloaded successfully. I tested sideloading using AltServer-Linux rather than Sideloadly itself to verify it's not Sideloadly specific issue. The differences in the frameworks: (left=Sideloadly, right=Azule)

image

i remember this issue. use azule's CydiaSubstrate.framework, but remove the Info.plist and make a new one with the following contents:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>CFBundleDevelopmentRegion</key>
    <string>English</string>
    <key>CFBundleExecutable</key>
    <string>CydiaSubstrate</string>
    <key>CFBundleGetInfoString</key>
    <string>Cydia Substrate, SaurikIT LLC</string>
    <key>CFBundleIdentifier</key>
    <string>com.saurik.CydiaSubstate</string>
    <key>CFBundleInfoDictionaryVersion</key>
    <string>6.0</string>
    <key>CFBundleName</key>
    <string>Cydia Substrate</string>
    <key>CFBundlePackageType</key>
    <string>FMWK</string>
    <key>CFBundleShortVersionString</key>
    <string>0.9</string>
    <key>CFBundleSignature</key>
    <string>????</string>
</dict>
</plist>

this should fix everything.

udevsharold commented 10 months ago

I got the same issue and interestingly, it does indeed fixed the issue! Looks like the one in Azule is erroneous, might be during parsing process on linux (Ubuntu). I don't think the end quote and semicolon should be there. At least iOS version is not there. (I'm on Ubuntu, x86_64) image

cc @Al4ise since this might be a bug

asdfzxcvbn commented 10 months ago

I got the same issue and interestingly, it does indeed fixed the issue! Looks like the one in Azule is erroneous, might be during parsing process on linux (Ubuntu). I don't think the end quote and semicolon should be there. At least iOS version is not there. (I'm on Ubuntu, x86_64) image

cc @Al4ise since this might be a bug

i have my own injector and i figured this out while fixing trollstore compatibility. as far as i know, only two valid plist formats exist: binary and xml. the Info.plist in azule's CydiaSubstrate.framework is incorrectly formatted and can't be parsed by most apps. that's why using xml format fixes it.

yur1xpp commented 10 months ago

@Al4ise Do you have any idea why? I gets the same issue. I did some testing by manually extracting the injecting libraries CydiaSubstrate.framework created by Sideloadly IPA, then use the -m flag in Azule to inject this framework instead. Now, it sideloaded successfully. I tested sideloading using AltServer-Linux rather than Sideloadly itself to verify it's not Sideloadly specific issue. The differences in the frameworks: (left=Sideloadly, right=Azule) image

i remember this issue. use azule's CydiaSubstrate.framework, but remove the Info.plist and make a new one with the following contents:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>CFBundleDevelopmentRegion</key>
    <string>English</string>
    <key>CFBundleExecutable</key>
    <string>CydiaSubstrate</string>
    <key>CFBundleGetInfoString</key>
    <string>Cydia Substrate, SaurikIT LLC</string>
    <key>CFBundleIdentifier</key>
    <string>com.saurik.CydiaSubstate</string>
    <key>CFBundleInfoDictionaryVersion</key>
    <string>6.0</string>
    <key>CFBundleName</key>
    <string>Cydia Substrate</string>
    <key>CFBundlePackageType</key>
    <string>FMWK</string>
    <key>CFBundleShortVersionString</key>
    <string>0.9</string>
    <key>CFBundleSignature</key>
    <string>????</string>
</dict>
</plist>

this should fix everything.

Can confirm this works for me too! Thanks man!

castdrian commented 3 weeks ago

this also happens on ubuntu runners for github actions, always use a macOS runner when using azule