-
Notifications
You must be signed in to change notification settings - Fork 289
Building with old Xcode/swift causes mas silent failures #1144
Copy link
Copy link
Description
Configuration
mas ▁▁▁▁ 4.1.1
slice ▁▁ x86_64
slices ▁ x86_64
dist ▁▁▁ homebrew/core/mas
origin ▁ https://github.com/mas-cli/mas.git
rev ▁▁▁▁ dac9fc222fe4c9a3a14a073f8ecbf93279568a74
swift ▁▁ 6.0.3 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)
driver ▁ 1.115.1
store ▁▁ US
region ▁ US
macos ▁▁ 15.7.3 (24G419)
mac ▁▁▁▁ MacPro6,1
cpu ▁▁▁▁ Intel(R) Xeon(R) CPU E5-2697 v2 @ 2.70GHz
arch ▁▁▁ x86_64
Bug description
When attempting to install an App Store app I already own, mas silently fails to do anything, and exits with an rc of 1.
For example:
$ mas search garageband | grep -i garageband
682658836 GarageBand (10.4.13)
1088735320 MusicTuts - for GarageBand (1.1)
$ mas install 682658836
Password:
$ echo $?
1It does this no matter the app:
$ grep -i '^mas.*pcalc' ~/.Brewfile
mas "PCalc", id: 403504866
$ mas install 403504866
$ echo $?
1All the apps I'm trying to install are apps I own and have installed on multiple other Macs. I've run into this on this machine primarily because I'm re-building it with a fresh install of macOS.
Now, I did install an app using the App Store itself, and mas sees that:
$ mas list
1622835804 Kagi for Safari (2.2.3)Steps to reproduce
- Attempt to install any app from the App Store with
mas install - Observe that nothing happened.
- See that the return code is '1', but no errors have been given.
Reactions are currently unavailable