mas-cli / mas-cli/mas

Make runnable on Darling

Open
#768 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

backlog feature investigation
Dominant language
Swift
Stars
12.4k
Forks
299
Avg merge
1d 2h
Merged PRs (30d)
1

Description

mas config
mas version (output of mas version)

downloaded 2.1.0

macOS version (output of sw_vers -productVersion)

11.7.4

macOS build (output of sw_vers -buildVersion)

Darling

CPU (output of sysctl -n machdep.cpu.brand_string)

sysctl: unknown oid 'machdep.cpu.brand_string'

Installation method

GitHub Releases (from https://github.com/mas-cli/mas/releases)
installer -pkg mas-2.1.0.pkg -target /

Also with Homebrew custom tap (via brew install mas-cli/tap/mas)

Feature Request

Ahoj, I would like to get mas running on Darling if at all possible. There is a related issue in Darling: https://github.com/darlinghq/darling/issues/1439 since 2023. I wonder if mas could deliver the deps together with the package or as a separate download?

After installing mas, any mas command results in:

dyld: Library not loaded: /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/CommerceKit
  Referenced from: /usr/local/bin/mas
  Reason: image not found
abort_with_payload: reason: dyld: No shared cache present
Library not loaded: /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/CommerceKit
  Referenced from: /usr/local/bin/mas
  Reason: image not found; code: 1
Abort trap: 6 (core dumped)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the related Darling issue and the reported CommerceKit dyld failure. Determine whether a supported dependency or packaging path is possible; done means mas commands run on Darling without the missing-framework abort, though this issue names no files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, swift
Domain
cli, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.