feenkcom / gtoolkit

Glamorous Toolkit is the Moldable Development environment. It empowers you to make systems explainable through experiences tailored for each problem.
https://gtoolkit.com
MIT License
1.13k stars 49 forks source link

How to fix LSOpenURLsWithRole() failed with error -10810 on launching GlamorousToolkit.app? #2670

Closed Dima-369 closed 2 years ago

Dima-369 commented 2 years ago

macOS 10.14.6 Glamorous Toolkit v0.8.1668 beta (Mac Intel version)

$ open GlamorousToolkit.app
LSOpenURLsWithRole() failed with error -10810 for the file /Users/Gira/Downloads/GlamorousToolkit-MacOS-x86_64-v0.8.1668/GlamorousToolkit.app.

I tried the following to fix it but without success (from https://apple.stackexchange.com/questions/181026/lsopenurlswithrole-failed-with-error-10810-cant-open-install-os-x-yosemite), it is still the same error:

$ chmod +x GlamorousToolkit.app/Contents/MacOS/GlamorousToolkit-cli
$ chmod +x GlamorousToolkit.app/Contents/MacOS/GlamorousToolkit
$ xattr -dr com.apple.quarantine GlamorousToolkit.app

Does anyone know of a fix?

I also tried to use the following which by the way failed (but that is another issue) and the present GlamorousToolkit.app gives the exact same error.

curl https://dl.feenk.com/scripts/mac.sh | bash
...
[1/1] ✅  Finished "load-gt-main.st"
✨  Done in 16 minutes
📝 Setting up for local build...
Error: Command "/Users/Gira/gtoolkit/glamoroustoolkit/GlamorousToolkit.app/Contents/MacOS/GlamorousToolkit-cli" "/Users/Gira/gtoolkit/glamoroustoolkit/GlamorousToolkit.image" "eval" "" "GtImageSetup performLocalSetup.Smalltalk snapshot: true andQuit: false" failed. See install.log or install-errors.log for more info

Here was a somewhat similar issue, but my error code is different and I do not have any Anti-Virus software: https://github.com/feenkcom/gtoolkit/issues/1733

StephanEggermont commented 2 years ago

This is intended behavior by Apple. Stupid, but intended. Move the application out of downloads.

The answers to the question on stackexchange are wrong for current MacOS versions

Dima-369 commented 2 years ago

Thanks a lot. This did indeed help. But now Glamorous Toolkit crashes after picking the GlamorousToolkit.image file. I'll create a follow-up issue.