mas-cli / mas

:package: Mac App Store command line interface
MIT License
10.81k stars 272 forks source link

`purchase` doesn't work on macOS 10.15+ #289

Open ynp-repos opened 4 years ago

ynp-repos commented 4 years ago

Your Environment

mas Install Method

Describe the Bug

It seems that purchasing isn't working in Catalina. It's a brand new Macbook Pro 2020 with a fresh install of Homebrew and mas.

Every time I try to purchase an app, specifically apps that aren't free, after using TouchID to buy the app, I get a "Purchase of this item is not currently available" error from the App Store and the download fails. This has happened for multiple apps, most recently Tweetbot 3.3.3 (mas purchase 1384080005).

I can manually go to the app store and purchase it, but get this error when using mas.

I was able to download and install XCode and Microsoft ToDo (both free apps), but any app that is not free does not work.

To Reproduce

Steps to reproduce the behavior:

  1. Run mas purchase 1384080005 in terminal
  2. When prompted enter Apple ID credentials in Mac App Store.

Expected Behavior

I would expect the App Store to ask me for TouchID or Password to confirm the purchase, and then begin to download.

Actual Behavior

See screenshot below for error.

Screenshots, Terminal Output

Screen Shot 2020-07-03 at 6 01 58 PM

$ mas purchase 1384080005
...
chris-araman commented 3 years ago

I can reproduce this on macOS 11.2.3 on an M1 MacBookPro.