Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Add a warning about the macOS mandatory code signing requirement #1176

Merged
merged 2 commits into from
May 12, 2021

Conversation

jesec
Copy link
Contributor

@jesec jesec commented May 11, 2021

> Warning Unable to sign the macOS executable on non-macOS host
  Due to the mandatory code signing requirement, before the
  executable is distributed to end users, it must be signed with
  the "codesign" utility of macOS, otherwise, it will be immediately
  killed by kernel on launch. An ad-hoc signature is sufficient.
  To do that, "codesign --sign - <executable>" on a Mac.

Ref: https://developer.apple.com/documentation/macos-release-notes/macos-big-sur-11_0_1-universal-apps-release-notes

See also: golang/go#42684

@jesec jesec requested review from leerob and robertsLando May 11, 2021 14:46
Copy link
Contributor

@robertsLando robertsLando left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jesec
Copy link
Contributor Author

jesec commented May 12, 2021

LGTM

Great. To merge, I need an approval, though.

@robertsLando
Copy link
Contributor

Sorry dunno why Ctrl+Enter usually approves the changes

@jesec jesec merged commit c2b7d6c into master May 12, 2021
@jesec jesec deleted the pr/mac-arm64-warn branch May 12, 2021 11:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants