<p>since the binaries are not signed, macOS prevents their execution</p>
<p>how to check:</p>
<pre><code>$ codesign -v -d bitcoin-qt
bitcoin-qt: code object is not signed at all
</code></pre>
<p>Self-sign as follows and you are good to go:</p>
<pre><code>$ codesign -s - ./releases/v24.0.1/bin/bitcoind
</code></pre>
<p>this was mentioned here:</p>
<p><a href="https://github.com/bitcoin/bitcoin/issues/26778#issuecomment-1368892763" rel="nofollow noreferrer">https://github.com/bitcoin/bitcoin/issues/26778#issuecomment-1368892763</a></p>

CC BY-SA 4.0
2023-04-19T14:28:43.643Z
2023-04-20T14:27:09.213Z
2023-04-20T14:27:09.213Z
Vaibhav Verma
<p>Ok, I figured it out after some googling: On ARM, macOS refuses to run any binary that isn't signed, and the ones in the tgz download obviously aren't:</p>
<pre><code>codesign -d -vvv --entitlements :- bin/bitcoind
bin/bitcoind: code object is not signed at all
</code></pre>
<p>So I created a certificate and signed the binary as explained here:</p>
<p><a href="https://stackoverflow.com/a/27474942/2792352">https://stackoverflow.com/a/27474942/2792352</a></p>
<p>Now <code>bitcoind</code> runs. I feel like that requirement should really be documented somewhere, but maybe I just missed it..</p>

CC BY-SA 4.0
2023-02-07T17:15:04.997Z
2023-02-07T17:15:04.997Z
user2792352
<p>I have downloaded the tgz file from bitcoincore.org and unpacked it. The first time I tried to run bitcoind from the command line, I got the usual macOS dialog about untrusted software, so I gave the necessary permission in System settings. However, when I tried to run it again, all I get is <code>zsh: killed     bin/bitcoind</code>. I've tried <code>sudo xattr -d com.apple.quarantine</code>, but this doesn't seem to have any effect. What am I doing wrong?</p>

CC BY-SA 4.0
2023-02-07T14:32:56.017Z
Does this answer your question? [How to get started with bitcoin-cli on macOS?](https://bitcoin.stackexchange.com/questions/116628/how-to-get-started-with-bitcoin-cli-on-macos)
RedGrittyBrick
CC BY-SA 4.0
2023-02-07T14:59:17.880Z
the solution seems to be to install homebrew, which I already have. I also checked for crash reports in macos Console, but there is nothing relevant. So I guess it's a different issue maybe? I wish there was some way to get more error output at least. "killed" is not really something you can google..
user2792352
CC BY-SA 4.0
2023-02-07T15:42:41.267Z
P.S.: Just to be on the safe side I reinstalled brew, but that didn't change anything
user2792352
CC BY-SA 4.0
2023-02-07T18:09:30.647Z
Maybe related: https://bisq.wiki/Downloading_and_installing#macOS, but really a blind guess, i don't know nothing about MacOS.
Antoine Poinsot
<bitcoind><mac>
bitcoind won't run on macos
user2792352
# bitcoind won't run on macos

(Asked by: username_0 on 2023-02-07)

I have downloaded the tgz file from bitcoincore.org and unpacked it. The first time I tried to run bitcoind from the command line, I got the usual macOS dialog about untrusted software, so I gave the necessary permission in System settings. However, when I tried to run it again, all I get is `zsh: killed bin/bitcoind`. I've tried `sudo xattr -d com.apple.quarantine`, but this doesn't seem to have any effect. What am I doing wrong?

**Tags:** bitcoind, mac

> **Comments:**
> **username_1**: Does this answer your question? [How to get started with bitcoin-cli on macOS?](https://bitcoin.stackexchange.com/questions/116628/how-to-get-started-with-bitcoin-cli-on-macos)  
> **username_0**: the solution seems to be to install homebrew, which I already have. I also checked for crash reports in macos Console, but there is nothing relevant. So I guess it's a different issue maybe? I wish there was some way to get more error output at least. "killed" is not really something you can google..  
> **username_0**: P.S.: Just to be on the safe side I reinstalled brew, but that didn't change anything  
> **username_2**: Maybe related: https://bisq.wiki/Downloading_and_installing#macOS, but really a blind guess, i don't know nothing about MacOS.  

---

## 2 answers

### Answer by username_0 on 2023-02-07. Score: 7 | Accepted answer

Ok, I figured it out after some googling: On ARM, macOS refuses to run any binary that isn't signed, and the ones in the tgz download obviously aren't:
codesign -d -vvv --entitlements :- bin/bitcoind
bin/bitcoind: code object is not signed at all

So I created a certificate and signed the binary as explained here:
https://stackoverflow.com/a/27474942/2792352
Now bitcoind runs. I feel like that requirement should really be documented somewhere, but maybe I just missed it..


---

### Answer by username_3 on 2023-04-19. Score: 5

since the binaries are not signed, macOS prevents their execution
how to check:
$ codesign -v -d bitcoin-qt
bitcoin-qt: code object is not signed at all

Self-sign as follows and you are good to go:
$ codesign -s - ./releases/v24.0.1/bin/bitcoind

this was mentioned here:
https://github.com/bitcoin/bitcoin/issues/26778#issuecomment-1368892763


---

