Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building the DMG failed. Error: Command failed: hdiutil detach /Volumes/<appname> #83

Open
othyn opened this issue Jul 1, 2023 · 1 comment

Comments

@othyn
Copy link

othyn commented Jul 1, 2023

Hey, I've been trying to debug this all day and I'm getting no where it seems, hope someone can help shed some light on whats going wrong.

I'm randomly getting the following error on a macOS 13 GitHub Actions runner and locally on macOS 13.4, running v6.0.0 (which at first I thought had fixed it until another run later on revealed it hadn't):

Building the DMG failed. Error: Command failed: hdiutil detach /Volumes/AutoClicker

I'm not getting any more information out of it than that. Its part of a public project, in which the runs can be found here, buried within the fastlane run phase as part of a manual shell script call:

https://github.com/othyn/macos-auto-clicker/actions/workflows/cicd.yml

The really weird thing is there is no consistency or pattern that I can see as to whether it does it or not, it seems to be truly random from my current understanding, which is kind of evident from the mixture of succeeding and failing builds.

I've about ran out of steam on this today and I'll resume debugging with a fresh head tomorrow.

This wasn't an issue on macOS 12 using version 5.3.0, only after upgrading today to macOS 13 and v6.0.0 am I starting to have issues.

@othyn
Copy link
Author

othyn commented Jul 3, 2023

Appears this maybe an upstream issue:

LinusU/node-appdmg#142

That should have been resolved in 0.6.5, with this app using "appdmg": "^0.6.6",, which means its not fixed :(

Will have to chase that maintainer as well, not sure why its suddenly being an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant