Release 2026.6.1: fix App Store auth (/fast/ native endpoint)#136
Merged
Conversation
Apple's 26HOTFIX24 (June 2026) broke iTunes Store login (majd/ipatool#486): the bag now advertises the native auth endpoint as .../auth/v1/native (without /fast), and the endpoint only works WITH the /fast/ sub-path AND a trailing slash, otherwise Apple returns 301 + an HTML redirect page that breaks the plist parser. - store.py: read authenticateAccount from the bag root (it moved there) with a fallback to urlBag; normalize the native auth endpoint to always end with /fast/; switch the default fallback to the native /fast/ endpoint. - Bump version to 2026.6.1 (setup.py + docker-hub-publish.yml). Verified live: /fast/ login + download of owned apps work end-to-end. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Distinguish "no success marker + no artifact" (Google Play refused to deliver the app for the requested device profile - most commonly a CPU ABI mismatch, e.g. requesting an x86_64 emulator profile for an arm64-only app; also region/availability/acquisition) from the rare "success marker present but artifact missing" case, with actionable error messages for each. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Что это
Релиз 2026.6.1. Чинит авторизацию в Apple App Store, сломанную Apple в июне 2026 (
26HOTFIX24, см. majd/ipatool#486).App Store fix (
store.py)Apple перенесла login на native-эндпоинт. Bag теперь отдаёт его как
.../auth/v1/native(без/fast), и он работает только с суффиксом/fast/и обязательным trailing slash, иначе Apple возвращает301+ HTML, который ломает plist-парсер.authenticateAccountиз корня bag (туда он переехал) с фолбэком наurlBag;/fast/;/fast/-эндпоинт.Проверено вживую: логин через
/fast/и скачивание уже купленных приложений работают end-to-end.Известное ограничение
Фикс возвращает логин и скачивание купленных приложений. Покупка нового приложения (
buyProduct) для не-US аккаунта пока не работает: после/fast/-логина не проставляется storefront, плюс токен из сессии не commerce-grade. Это отдельная задача, не входит в этот релиз.Google Play (
google_play_apkeep.py), отдельный коммитПонятные сообщения об ошибке, когда
apkeepне отдал артефакт: отделяем «нет маркера успеха и нет файла» (Google Play не отдал приложение под запрошенный профиль устройства - чаще всего рассинхрон CPU ABI, например x86_64-профиль эмулятора для arm64-only приложения; либо регион/доступность/библиотека) от редкого «маркер есть, файла нет».Версия / деплой
Бамп
2026.03.02->2026.6.1вsetup.pyиdocker-hub-publish.yml. Деплой (PyPI + Docker Hub) стартует автоматически при влитии вmain.🤖 Generated with Claude Code