Skip to content

[codex] add tvOS app download support - #478

Merged
majd merged 3 commits into
majd:mainfrom
Lakr233:codex/download-tvos-apps
May 25, 2026
Merged

[codex] add tvOS app download support#478
majd merged 3 commits into
majd:mainfrom
Lakr233:codex/download-tvos-apps

Conversation

@Lakr233

@Lakr233 Lakr233 commented May 12, 2026

Copy link
Copy Markdown
Contributor

What changed

  • Ported the tvOS download implementation from https://github.com/Lakr233/ApplePackage.
  • Added platform parsing and platform-aware search/lookup entities for iphone, ipad, and appletv.
  • Added tvOS download support by resolving the platform-specific external version id through Apple's MDM lockup endpoint before the store download request.
  • Added AppleTVOS package validation after patching so a tvOS download fails visibly when the package metadata does not declare tvOS support.
  • Documented the new --platform flag for search and download.

Issues

Closes #46
Related #27

Validation

  • go generate ./...
  • go test ./...
  • go build ./...
  • Real account test using local ~/.ipatool credentials: refreshed auth token, searched Infuse with --platform appletv, downloaded com.firecore.infuse to /tmp/ipatool-tvos-test/infuse-appletv.ipa, and verified Payload/infuse.app/Info.plist declares CFBundleSupportedPlatforms = AppleTVOS.

No credentials, cookies, account files, or downloaded IPA files are included in this PR.

@Lakr233
Lakr233 force-pushed the codex/download-tvos-apps branch from a34db02 to f039b44 Compare May 12, 2026 03:12
@Lakr233
Lakr233 marked this pull request as ready for review May 12, 2026 03:18
Comment thread pkg/appstore/appstore_platform_version_lookup.go
@ZomkaDEV

Copy link
Copy Markdown

Is it possible to add support for viewing version ids for tvOS apps?

@Lakr233

Lakr233 commented May 18, 2026

Copy link
Copy Markdown
Contributor Author

It's not gonna be made in this PR.

Comment thread pkg/appstore/appstore_download.go Outdated
@majd
majd merged commit a3fa2f0 into majd:main May 25, 2026
13 checks passed
crazyi added a commit to crazyi/ipatool that referenced this pull request Jun 10, 2026
- feat: add tvOS app search and download support (majd#478)
- Fix 429 rate limit handling and context key type mismatch in login (majd#481)
- Resolved conflicts: combined local countryCode feature with upstream platform (tvOS) feature
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

Successfully merging this pull request may close these issues.

Support for Apple TV

3 participants