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

[iOS] AltStore 2.0+ stops RetroArch from installing from source JSON #17417

Open
2 tasks done
DJtheMan2101 opened this issue Jan 16, 2025 · 4 comments
Open
2 tasks done

Comments

@DJtheMan2101
Copy link

Is there an existing issue for this?

  • This is a bug in RetroArch frontend
  • I have searched the existing issues

Description

Attempting to install either the stable (https://buildbot.libretro.com/stable/altstore.json) or nightly (https://buildbot.libretro.com/nightly/apple/ios-arm64/altstore.json) releases of RetroArch from the source JSONs using AltStore (Classic) 2.0 or later will make AltStore give an error.

Stable version:
altstore_stable

Nightly version:
altstore_nightly

I'm not sure about the stable error (a corrupt filter?), but the nightly error is caused by the version key in the JSON not matching the actual app version; Altstore 2.0 starting checking to make sure the strings match, as seen in its changelog: https://faq.altstore.io/release-notes/altstore#altstore-2.0. (The stable build should have the same problem, I'm not sure why it's different.)

I looked at AltStore's documentation, specifically https://faq.altstore.io/developers/make-a-source and https://faq.altstore.io/developers/updating-apps. I'm not a developer, but I assume the current JSONs only used the version key to let AltStore know that a new build was available. It seems you can use the new buildVersion key to do that instead. It looks like you also have to list the app permissions in the JSON before AltStore will install apps. I'm not sure if updating the JSONs will break support for older versions and forks of AltStore (like SideStore).

Expected behavior

I should be able to use the provided JSON files to install RetroArch from newer versions of AltStore.

Steps to reproduce the bug

  1. Install and open AltStore (Classic).
  2. In the Sources tab, tap the + in the top-left corner, then paste a link to one of RetroArch's source JSON files.
  3. Try to install RetroArch from the newly added source.
  4. Receive an error.

Version/Commit

1.20.0

Bisect Results

No response

Check in the nightly version

Yes, this is reproduced in the nightly build

Platform & operating system

iOS 18.2.1

Affected Cores

No response

Environment information

AltStore Classic 2.0.2

Relevant log output

No response

@dessite
Copy link

dessite commented Jan 16, 2025

Same issue occurs while sideloading .ipa file from computer

@DJtheMan2101
Copy link
Author

@dessite Sideloading the ipa directly works fine for me. You may have to restart or reinstall AltStore/AltServer/your device. This issue is about installing from the JSONs not working because of the problems I mentioned.

@hizzlekizzle
Copy link
Contributor

There's apparently funky about that one file. Warmenhoven suspects it's related to "extended attributes." If you open the ipa as an archive and delete it, it should install okay.

@warmenhoven
Copy link
Contributor

For the JSON I thought I had fixed this so that the version reported by the nightly build would be modified to be the date, but maybe that got broken during the App Store stuff. (In other words, I think the JSON is right and the IPA is wrong.)

For the other error message about the .filt file, I don't know why it's choking on that one; in the git repo it looks the same as any other file. Unfortunately trying to debug why altstore chokes on something like that, when Xcode and the App Store don't (Sideloadly works fine as well), is really hard.

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

4 participants