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 .app builds will not open on Monterey #7

Open
asaub opened this issue Sep 27, 2022 · 1 comment
Open

MacOS .app builds will not open on Monterey #7

asaub opened this issue Sep 27, 2022 · 1 comment

Comments

@asaub
Copy link

asaub commented Sep 27, 2022

In order to use the .app, I had to do the following:

chmod +x tfm10-mac-metal.app/Contents/MacOS/tfm10-mac-metal
xattr -r -d com.apple.quarantine tfm10-mac-metal.app

Otherwise we get

~/Desktop $ open tfm10-mac-metal.app
The application cannot be opened for an unexpected reason, error=Error Domain=RBSRequestErrorDomain Code=5 "Launch failed." UserInfo={NSLocalizedFailureReason=Launch failed., NSUnderlyingError=0x600003f3c8d0 {Error Domain=NSPOSIXErrorDomain Code=111 "Unknown error: 111" UserInfo={NSLocalizedDescription=Launchd job spawn failed}}}
@asaub
Copy link
Author

asaub commented Sep 27, 2022

The solution would be to sign the builds with a valid Apple Developer certificate, and also mark the executable as executable in the .app.

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