LinusU / LinusU/node-appdmg

Error: Command failed: hdiutil detach (reopen #142)

Open
#229 5 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.7k
Forks
158
PR merge metrics
No merged PRs in 30d

Description

I'm currently encountering the same issue #142 running the following configuration:
- Github Action `runs-on: macos-13`
- orchestrating the release with fastlane
- running a tiny lane:
```
lane :dmg do
Dir.chdir("../") do
sh("npm install -g appdmg")
sh("appdmg fastlane/dmg.json MyApp.dmg")
end
end
```

```
Error: Command failed: hdiutil detach /Volumes/MyApp
hdiutil: detach failed - No such file or directory
```

This issue has also been reported on in the thread by me and Othyn: https://github.com/LinusU/node-appdmg/issues/142#issuecomment-1617089716
I haven't found a way to re-open issue so I'm opening this one.

Contributor guide

No contributing guide indexed for this repository

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 fastlane/dmg.json configuration and the appdmg invocation shown in the report, then reproduce the failure in a macos-13 GitHub Action. Compare the hdiutil detach behavior with issue #142; done means the DMG command completes without the missing-volume detach error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, macos, node.js
Domain
build-system, ci-cd, release
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.