System: macOS Big Sur 11.4 (20F71), chip Apple M1.
On master (c609e10545492aba480ff17aff7eefc13a0b5cd8), after succesfull make deploy
(without depends), the app installed from Bitcoin-Core.dmg
fails to run.
src/qt/bitcoin-qt
works flawlessly.
System: macOS Big Sur 11.4 (20F71), chip Apple M1.
On master (c609e10545492aba480ff17aff7eefc13a0b5cd8), after succesfull make deploy
(without depends), the app installed from Bitcoin-Core.dmg
fails to run.
src/qt/bitcoin-qt
works flawlessly.
will test but I believe this was supposed to fix it? #21658
I’ve update the OP to mentioned the issue happens on master (c609e10545492aba480ff17aff7eefc13a0b5cd8).
UPDATE:
0% /opt/homebrew/bin/python3.9 -m pip show mac_alias
1Name: mac-alias
2Version: 2.2.0
3Summary: Generate/parse Mac OS Alias records from Python
4Home-page: http://alastairs-place.net/projects/mac_alias
5Author: Alastair Houghton
6Author-email: alastair@alastairs-place.net
7License: MIT License
8Location: /opt/homebrew/lib/python3.9/site-packages
9Requires:
10Required-by: ds-store
Building with depends,
make deploy
, and the following installation from*.dmg
works fine.
Shouldn’t make deploy
depend on (at least part of) make -C depends
then?
the app installed from Bitcoin-Core.dmg fails to run.
Hard to debug anything here with such little information. For what it’s worth, I’ve installed from the .dmg
after a non depends builds, and from what I can see, the issue is related to us running strip
& install_name_tool
on libs while building the .dmg
. This breaks some Apple code-signing requirement, and prevents the app from launching.
Looks like some other projects have run into a similar issue when doing the same thing. i.e: https://gitlab.kitware.com/cmake/cmake/-/issues/21854.
According to https://developer.apple.com/documentation/macos-release-notes/macos-big-sur-11_0_1-universal-apps-release-notes it looks like the binaries must be signed (at least with ad-hoc signatures):
0codesign --sign - --deep --force dist/Bitcoin-Qt.app
According to https://developer.apple.com/documentation/macos-release-notes/macos-big-sur-11_0_1-universal-apps-release-notes it looks like the binaries must be signed (at least with ad-hoc signatures):
0codesign --sign - --deep --force dist/Bitcoin-Qt.app
Done in #22546.