Skip to content

outdated: multi-platform apps are not checked to see if they require a newer version of macOS than is currently running #540

@rgoldberg

Description

@rgoldberg

Your Environment

  • mas version: 1.8.6
  • macOS version: 12.7.6 (21H1320)

mas Install Method

brew install mas (homebrew-core)

Describe the Bug

mas outdated does not check multi-platform apps to see if they require a newer version of macOS than is currently running.

This occurs because multi-platform apps have kind = software. We only perform the macOS version check for kind = mac-software. That was probably done because data minimum OS data for kind = software was being returned for iOS, not macOS. Now that #505 has been merged into main, mas no longer accidentally gets iOS app info, so we can remove the requirement that kind = mac-software, which will fix this issue.

To Reproduce

  1. run macOS 12.x
  2. install Apple Developer app: mas install 640199958
  3. mas outdated outputs 640199958 Developer (10.4.1 -> 10.6.6), but 10.4.1 is the newest version supported by macOS 12.x

Expected Behavior

mas outdated does not output 640199958 Developer (10.4.1 -> 10.6.6)

Actual Behavior

mas outdated outputs 640199958 Developer (10.4.1 -> 10.6.6), but 10.4.1 is the newest version supported by macOS 12.x

Additional Context

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions