Skip to content

macOS Gatekeeper prevents application from running #16

@mahalel

Description

@mahalel

Summary

On macOS, the application is not signed, causing Gatekeeper to block the initial launch. The user must manually navigate to System Settings to approve the application. Even after approval, macOS presents another warning dialog on the next launch before the application finally runs.

Steps to Reproduce

  1. On a macOS machine, download and run the application.

  2. Result: A Gatekeeper dialog appears, stating bicep-docs cannot be opened:

Image

  1. Navigate to System Settings > Privacy & Security.

  2. Find the message "bicep-docs was blocked to protect your Mac" and click the "Allow Anyway" button.

Image
  1. Run the application again.

  2. Result: A second, different Gatekeeper dialog appears, which has an option to "Open Anyway".

Image

  1. The application now launches successfully. Subsequent launches after this point work without any warnings.

Expected Behavior

The application should run on the first attempt without requiring the user to go into System Settings for a manual override.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions