Running vtracer on macOS #18
grahammiln
started this conversation in
Show and tell
Replies: 1 comment
-
Thanks! Let me make a M1 Mac build too. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
On macOS, the pre-compiled binary needs a few local changes before it can be launched.
In Terminal.app, run these two commands:
The first command,
chmod
, sets the file as executable. The second,codesign
, code signs the binary with an ad-hoc signature.Finally, Control-click or right-click on the binary's icon in the Finder and select Open. This will present a warning to override macOS's Gatekeeper.
With these steps done, the binary can now be launched from the terminal.
To avoid these steps, released binaries need to be code signed and notarised by a member of the Apple Developer Program.
Hope this helps!
Beta Was this translation helpful? Give feedback.
All reactions