Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yodaluca23 opened this issue Apr 30, 2023 · 8 comments

Comments

@yodaluca23
Copy link

yodaluca23 commented Apr 30, 2023

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
Copy link

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

@yodaluca23
Copy link
Author

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
Copy link

yur1xpp commented Sep 2, 2023

@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
Copy link

@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
Copy link
Contributor

udevsharold commented Sep 2, 2023

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
Copy link

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
Copy link

yur1xpp commented Sep 4, 2023

@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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants