Azule icon indicating copy to clipboard operation
Azule copied to clipboard

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

Open yodaluca23 opened this issue 2 years ago • 8 comments

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.

yodaluca23 avatar Apr 30 '23 23:04 yodaluca23

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

asdfzxcvbn avatar May 01 '23 23:05 asdfzxcvbn

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

yodaluca23 avatar May 01 '23 23:05 yodaluca23

@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

yur1xpp avatar Sep 02 '23 09:09 yur1xpp

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

asdfzxcvbn avatar Sep 02 '23 12:09 asdfzxcvbn

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

udevsharold avatar Sep 02 '23 13:09 udevsharold

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.

asdfzxcvbn avatar Sep 02 '23 13:09 asdfzxcvbn

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

yur1xpp avatar Sep 04 '23 03:09 yur1xpp

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

castdrian avatar Jun 27 '24 07:06 castdrian