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

Crash on Apple Silicon Macs because of unsigned code #1225

Closed
Tasssadar opened this issue Apr 26, 2024 · 6 comments
Closed

Crash on Apple Silicon Macs because of unsigned code #1225

Tasssadar opened this issue Apr 26, 2024 · 6 comments
Labels
question Further information is requested

Comments

@Tasssadar
Copy link
Contributor

Tasssadar commented Apr 26, 2024

Hello, the Mac build is now universal, but because it is unsigned, it crashes on Apple Silicon macs on startup:
image

It appears that Apple Silicon Macs simply can't run unsigned code (not sure about that, but I was not able to find a workaround). A build from this repo signed with my developer certificate works, but that is trusted only on my machine.

I'm not about to accept Apple's $99 extortion to checks notes be able to run code on my HW, so I guess we're looking for somebody willing to do that.

In the meantime, the universal build now crashes on start on Apple Silicon macs, instead of just being slow - I suppose we should revert  #1212?

@jijojosephk
Copy link
Collaborator

Dealing the Apple is a costly affair. I doubt someone will do it. @IsmaelMartinez please comment.

@jijojosephk jijojosephk added the question Further information is requested label Apr 28, 2024
@IsmaelMartinez
Copy link
Owner

Hi @Tasssadar , did you install it like for unverified apps? https://support.apple.com/en-gb/guide/mac-help/mh40616/mac If that is breaking the mac installs even when doing that, then we should revert. But I run it in my mac no bother (but from source)

@Tasssadar
Copy link
Contributor Author

Yes, I did. The exception is there and works, it's just that the Apple Silicon Mac has that requirement for signature and it crashes on start. If I run it under rosetta (the x86 emulation layer), it works.

Will prepare a PR to revert.

@IsmaelMartinez
Copy link
Owner

I will se if I can add code signing without needing to pay the $99, but I doubt I will have much time and we got quite a few other open issues. Thanks for reporting!

@kblaschke
Copy link

I will se if I can add code signing without needing to pay the $99

As you need an Apple Developer ID for distribution, sadly, there isn't a way to get around that - only if you're running a registered non-profit organization or educational/governmental institution. Apple could just add open-source projects to that exclusion list to solve the issue, but well...

After clearing the quarantine bit, the latest (1.4.33) build works fine on my M2 MacBook though.

@IsmaelMartinez
Copy link
Owner

closing this as complete. Thanks @Tasssadar and @kblaschke

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

No branches or pull requests

4 participants