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

MacOS builds unusable: App is damaged and can't be opened. You should move it to the Bin. #8191

Closed
Maxou44 opened this issue May 2, 2024 · 1 comment

Comments

@Maxou44
Copy link

Maxou44 commented May 2, 2024

  • Electron-Builder Version: 24.13.3
  • Node Version: 22.0.0
  • Electron Version: 30.0.2
  • Electron Type (current, beta, nightly): current
  • Target: MacOS

I've developed an electron application, but it seems that the DMG builds I make available through my Github Actions pipeline don't work.

I don't sign the application, I don't have an Apple Developper account, but normally there's just a warning that you can override by pressing CTRL + Clic and “Open”.

When users try to install it but get an error when launching:
image

If they build the application on their machine, the DMG is functional, can be installed and the application launches without problems.

My Electron Builder configuration is available here: https://github.com/brick-a-brack/eagle-animation/blob/dev/electron-builder.yaml

Any ideas?

@cpvalente
Copy link

I am not related to electron-builder but am here looking for some help with an issue and thought I may help you as well

This is a common and well documented behaviour for apps that have not been notarized
https://discussions.apple.com/thread/253714860?sortBy=best

This requirement was introduced in a recent-ish OS and it affects distributions for Apple silicon processors. If you make distributions for old intel processors you will see the previous error "unknown developer".

Your users will still be able to circumvent this by disabling gatekeeper as described in the thread.

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

2 participants