majd / ipatool

Command-line tool that allows searching and downloading app packages (known as ipa files) from the iOS App Store
MIT License
5.33k stars 465 forks source link

Purchase succeeds, download fails #262

Open z-tux-mind opened 4 months ago

z-tux-mind commented 4 months ago

What happened?

I can purchase the app, but I cannot download. I can download the app from the AppStore from the iPhone. Is there a way to enable HTTP debugging?

Version

2.1.4

Relevant log output

root@67936bd343e4:/app# ipatool --verbose --keychain-passphrase secret --format json --non-interactive purchase -b com.naturalmotion.customstreetracer2
{"level":"info","success":true,"time":"2024-02-08T08:06:16Z"}
root@67936bd343e4:/app# ipatool --verbose --keychain-passphrase secret --format json --non-interactive download -b com.naturalmotion.customstreetracer2 -o /tmp
{"level":"debug","error":"license is required","time":"2024-02-08T08:06:37Z"}
{"level":"error","error":"license is required","success":false,"time":"2024-02-08T08:06:37Z"}
z-tux-mind commented 4 months ago
2024/02/15 09:55:25 download: license required: received response: {StatusCode:200 Headers:map[REDACTED] Data:{FailureType:9610 CustomerMessage:License not found Items:[]}}
2024/02/15 09:55:26 purchase response: {StatusCode:200 Headers:map[REDACTED] Data:{FailureType: CustomerMessage: JingleDocType:purchaseSuccess Status:0}}
2024/02/15 09:55:26 download: license required: received response: {StatusCode:200 Headers:map[REDACTED] Data:{FailureType:9610 CustomerMessage:License not found Items:[]}}
9:55AM ERR error="license is required" success=false
ddxv commented 2 months ago

@z-tux-mind I also have your exact issue. First purchase is success, but then download message says "license required". It's happened for a large number of apps like "ai.replika.app" though it might just have been triggered after I downloaded more than 30 apps.

Did you ever figure out what the issue was or a workaround?