Open
Description
In recent versions of MacOS, Apple has implemented a tool called Gatekeeper. It is now on by default. More info:
Apple MacOS Gatekeeper
With Gatekeeper enabled, unsigned software will not run. To resolve this Hugo will need to add signing/packaging to their build process for MacOS artifacts.
Steps to reproduce:
- go to Hugo downloads page: https://github.com/gohugoio/hugo/releases/tag/v0.144.2
- In Settings>Security Settings, confirm towards the bottom that Security>Allow Applications From: is App Store and Known Developers
- download Hugo for macOS
- untar hugo
- invoke Hugo with ./Hugo using any arguments or none at all
- MacOS Gatekeeper prevents Hugo from launching displaying the following dialog:
Steps to fix:
- get a developer ID and use Xcode to sign the application
- produce a dmg or pkg file. The tool to use here is usually pkgbuild, which has a manpage on MacOS.
- distribute the dmg or pkg file.
What version of Hugo are you using (hugo version
)?
% ./hugo version zsh: killed ./Hugo version % ls LICENSE README.md hugo hugo_0.144.2_darwin-universal.tar
Does this issue reproduce with the latest release?
As far as I can tell this is the latest release.