LinusU / LinusU/node-appdmg

Command failed: hdiutil convert

Open
#139 12 comments 0 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

[ 1/20] Looking for target... [ OK ]
[ 2/20] Reading JSON Specification... [ OK ]
[ 3/20] Parsing JSON Specification... [ OK ]
[ 4/20] Validating JSON Specification... [ OK ]
[ 5/20] Looking for files... [ OK ]
[ 6/20] Calculating size of image... [ OK ]
[ 7/20] Creating temporary image... [ OK ]
[ 8/20] Mounting temporary image... [ OK ]
[ 9/20] Making hidden background folder... [ OK ]
[10/20] Copying background... [ OK ]
[11/20] Reading background dimensions... [ OK ]
[12/20] Copying icon... [ OK ]
[13/20] Setting icon... [ OK ]
[14/20] Creating links... [ OK ]
[15/20] Copying files... [ OK ]
[16/20] Making all the visuals... [ OK ]
[17/20] Blessing image... [ OK ]
[18/20] Unmounting temporary image... [ OK ]
[19/20] Finalizing image... [FAIL]
[20/20] Removing temporary image... [ OK ]

Error: Command failed: hdiutil convert /var/folders/gq/6l_r12q14nx5r0qrg_xqtv680000gn/T/57FGT6R.dmg -format UDZO -imagekey zlib-level=9 -o /Users/ci/Desktop/MacKugouTest/kugou_mac/dmgExport/xxxx.dmg

hdiutil: convert failed - 无效的自变量
正在准备映像引擎…
正在读取Protective Master Boot Record(MBR:0)…

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 by reproducing the reported macOS `hdiutil convert` command and reviewing the appdmg image-finalization flow that invokes it. Determine the cause of the `无效的自变量` failure and verify that DMG generation completes successfully for the reported case.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.