Not planned
Description
ATTENTION! Please read and follow:
- if this is a question about how to build / test / query / deploy using Bazel, or a discussion starter, send it to bazel-discuss@googlegroups.com
- if this is a bug or feature request, fill the form below as best as you can.
Description of the problem / feature request:
When i upgraded to Mac 10.15, bazel stopped working. bazel build release fails with (“bazel-real” can’t be opened because its integrity cannot be verified.)
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
- bazel build release (in the gerrit project)
What operating system are you running Bazel on?
Mac OSX 10.15
What's the output of bazel info release
?
Does not work due to "“bazel-real” can’t be opened because its integrity cannot be verified."
(I'm using the packages from https://github.com/bazelbuild/bazel/releases)
I tried upgrading to bazel 0.29, but the installer fails with the same error.
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
paladox commentedon Sep 1, 2019
Work around is to do:
sudo spctl --master-disable
Which brings backs the option of "Anywhere" to Security & Privacy.
philwo commentedon Sep 4, 2019
@paladox I can reproduce this on a test machine with macOS 10.15.
It is because of the new notarization requirement. We will have to find a way how to correctly notarize our release binaries for macOS.
As a workaround, you can download the Bazel installer or binary not using a web-browser, but using "wget" or "curl", which doesn't mark the file as "having been downloaded from the internet", so macOS will not complain:
You could also install Bazel or Bazelisk using Homebrew, which apparently also works fine.
paladox commentedon Sep 4, 2019
Ah thanks! I just went for the "sudo spctl --master-disable" option :)
philwo commentedon Oct 9, 2019
I think Apple relaxed the requirements here, because I can no longer reproduce this in the final version of macOS 10.15.
Reducing priority due to this, however, we'll of course still work on notarizing our official release binaries. :)
cmooreml commentedon Oct 15, 2019
Good article on how to enable/disable: https://www.imore.com/how-open-apps-unidentified-developers-mac
16 remaining items