appletv platform download fails with HTTP 500 (list-versions and download both affected)
What happened?
Downloading or listing versions for an app using --platform appletv fails with an HTTP 500 from Apple, even for a plain download with no external-version-id specified. The same commands work fine without the platform flag (defaulting to iphone).
search with --platform appletv works correctly and returns valid results, but both list-versions and download fail.
Steps to reproduce:
- Confirm app is available on tvOS: ipatool search plex --platform appletv
Returns successfully, e.g.: apps=[{"bundleID":"com.plexapp.plex","id":383457673,"name":"Plex: Find Movies and TV Shows","platforms":["appletv"],"price":0,"version":"2026.18.0"}] count=1
- Attempt to list available tvOS versions: ipatool list-versions -b com.plexapp.plex --platform appletv
Fails with: ERR error="failed to send redownload request: unexpected response from Apple (HTTP 500): empty or non-plist body" success=false
- Attempt a plain download (no external-version-id, should just fetch latest): ipatool download -b com.plexapp.plex --platform appletv
Also fails with the same error: ERR error="failed to send redownload request: unexpected response from Apple (HTTP 500): empty or non-plist body" success=false
- Additionally, attempting to reuse an iOS-resolved external-version-id with the appletv platform produces a different failure, suggesting iOS and tvOS builds have distinct external-version-ids that aren't currently enumerable for tvOS: ipatool download -b com.plexapp.plex --platform appletv --external-version-id 890234352
Fails with: ERR error="failed to validate package platform: downloaded package does not declare AppleTVOS support" success=false
Expected behavior
list-versions and download should work for the appletv platform the same way they do for iphone/ipad, consistent with search already working correctly for that platform.
Version
ipatool version 2.6.0
Relevant log output
alexloghin@MacBook-Air ~ % ipatool list-versions -b com.plexapp.plex --platform appletv
1:30AM ERR error="failed to send redownload request: unexpected response from Apple (HTTP 500): empty or non-plist body" success=false
alexloghin@MacBook-Air ~ % ipatool download -b com.plexapp.plex --platform appletv --external-version-id 890234352
1:31AM ERR error="failed to validate package platform: downloaded package does not declare AppleTVOS support" success=false
alexloghin@MacBook-Air ~ % ipatool download -b com.plexapp.plex --platform appletv --external-version-id 890234352
1:32AM ERR error="failed to validate package platform: downloaded package does not declare AppleTVOS support" success=false
alexloghin@MacBook-Air ~ % ipatool get-version-metadata -b com.plexapp.plex --platform appletv --external-version-id 890234352
1:32AM INF displayVersion=2026.17.0 externalVersionID=890234352 releaseDate=2026-08-27T11:49:38Z success=true
alexloghin@MacBook-Air ~ % ipatool download -b com.plexapp.plex --platform appletv --external-version-id 890234352
1:33AM ERR error="failed to validate package platform: downloaded package does not declare AppleTVOS support" success=false
alexloghin@MacBook-Air ~ % ipatool download -b com.plexapp.plex --platform appletv
downloading 0% | | ( 0/ 1 B) 1:35AM ERR error="failed to send redownload request: unexpected response from Apple (HTTP 500): empty or non-plist body" success=false
alexloghin@MacBook-Air ~ % ipatool --version
ipatool version 2.6.0Source: majd/ipatool