majd / ipatool

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

Unknown error occurred while downloading #311

Open LushanCloud opened 1 week ago

LushanCloud commented 1 week ago

What happened?

The country code is set and I can search fine but when I download it I get an error。ipatool installed using brew

Version

ipatool version 2.1.4

Relevant log output

ipatool download -b com.miHoYo.Yuanshen
downloading   0% |                                                 | ( 0/ 1 B) 2:36PM ERR error="received error: An unknown error has occurred" success=false
silviafiat commented 1 week ago

Same issue here

amccoy-cyber commented 1 week ago

Same here. I set the storefront code in Keychain (on MacOS) and am able to now search for apps with no issues (previously could not search without manually setting storefront code). However, after obtaining the license on the relevant Apple account, I am unable to download the .ipa file using the bundle identifier as shown above.

I receive...

ERR error="received error: An unknown error has occurred" success=false

dnd21052002 commented 1 week ago

same issue here, can anyone fix this?

AltayAkkus commented 1 week ago

@dnd21052002 @amccoy-cyber @silviafiat @LushanCloud I am currently trying to work this out, can you guys please tell me the output of this: ipatool purchase --bundle-identifier com.burbn.instagram

You can use any other bundle-identifier, no stress there, but I think the root cause of all these issues is that the authentication is broken alltogether.

The request send on a "succesful login" returns with a status code of 404, I think Apple may have closed that endpoint.

fantasyxby commented 1 week ago

@dnd21052002 @amccoy-cyber @silviafiat @LushanCloud I am currently trying to work this out, can you guys please tell me the output of this: ipatool purchase --bundle-identifier com.burbn.instagram

You can use any other bundle-identifier, no stress there, but I think the root cause of all these issues is that the authentication is broken alltogether.

The request send on a "succesful login" returns with a status code of 404, I think Apple may have closed that endpoint.

$ ipatool purchase --bundle-identifier com.burbn.instagram 9:39AM ERR error="failed to purchase item with param 'STDQ': This Apple account could not be found, so it cannot be used in the iTunes Store at this time. Please try again later." success=false

MAyazShah commented 6 days ago

Hello could anyone give a solution to this? I am also stopped on this part to download IPA files @majd @AltayAkkus

AltayAkkus commented 6 days ago

Yea it seems like the login alltogether is broken, the login request is malformed the only reason why u see "success" is because ipatool didnt account for this.

So we gotta find the new endpoint, I'll be on it tmrw.

ypwcharles commented 6 days ago

same here

qsirwyk commented 5 days ago

same herer

OneXeor commented 3 days ago

faced with the same

MAyazShah commented 1 day ago

By the way I am it running my MacBook Pro, Is the issue because of macOS? I haven't tried it on windows.

ypwcharles commented 1 day ago

the same on Windows

MAyazShah @.***>于2024年11月27日 周三下午7:07写道:

By the way I am running my MacBook Pro, Is the issue because of macOS? I haven't tried it on windows.

— Reply to this email directly, view it on GitHub https://github.com/majd/ipatool/issues/311#issuecomment-2503587122, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWAMCLZRFV5WU44JA3J7F3D2CWRVLAVCNFSM6AAAAABSDZ53VSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBTGU4DOMJSGI . You are receiving this because you commented.Message ID: @.***>

MAyazShah commented 1 day ago

@ypwcharles, Ok my friend have tried and it is working for it, he have 2.1.4 version