What happened?
Hi Majd. Thanks very much for your work on this software
I'm having problems downloading previous versions of tvOS apps, i.e. versions of apps that are not the latest App Store version
e.g. I search for the app "KS Player" on the App Store:
ipatool search "ksplayer" --platform "appletv"
I successfully download the latest tvOS app version with the parameters below (i.e. the parameters will default to the latest App Store version). This works correctly and the app installs on my Apple TV box (using Xcode or other methods). This also emphases that a tvOS build does exist.
ipatool download -b "com.kintan.tracy" --platform "appletv"
However I am unable to successful download previous versions of tvOS apps, i.e. versions of apps that are not the latest App Store version
I list the available app versions:
ipatool list-versions -b "com.kintan.tracy"
I try to download the required app version, in this case it's the last but one App Store version:
ipatool download -b "com.kintan.tracy" --external-version-id "887541980" --platform "appletv"
Which returns the error: "ERR error="failed to validate package platform: downloaded package does not declare AppleTVOS support" success=false"
The reason I think this may be a problem related to --list-versions is --external-version-id "887541980" may instead reference the iOS / iPadOS build, which then forces the error with the parameter --platform "appletv"`. Emphasising again that a tvOS build does exist because we successfully download the latest App Store tvOS build version above (and incidentally I've used this app on all platforms for some years)
To emphasise again, I can successfully download the latest tvOS app release, but not previous App Store releases
I hope this is clear. And thanks again
Edit: I have tried using the --app-id parameter in place of the --bundle-identifier identifier where possible with no change in results
Version
2.3.1
Relevant log output
ipatool search "ksplayer" --platform "appletv"
10:12AM INF apps=[{"bundleID":"com.kintan.tracy","id":6450770064,"name":"KSPlayer播放器-Tracy","price":0,"version":"3.6.0"},{"bundleID":"org.videolan.vlc-ios","id":650377962,"name":"VLC media player","price":0,"version":"3.7.2"}] count=2
ipatool list-versions -b "com.kintan.tracy"
10:12AM INF bundleID= externalVersionIdentifiers=["858151951","862958130","863631945","863806668","864140349","864321494","864730010","864979915","865511814","866356650","866386881","866897179","866984385","867947868","868264557","869022857","869685305","870265502","871852592","872914475","874155349","874794369","874874001","875096853","875533657","876294647","876706493","877120219","878251606","879062465","879744900","879907523","880046134","880487755","880722149","880902220","881487903","884927161","885268828","886104790","887541980","887854588"] success=true
ipatool download -b "com.kintan.tracy" --external-version-id "887541980" --platform "appletv"
10:13AM ERR error="failed to validate package platform: downloaded package does not declare AppleTVOS support" success=falseActivity
0No activity yet.