From 83cc2d4bc042550de9dc2c2ff8aa6d99dd66bf23 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Fri, 19 Aug 2022 14:32:39 +0000 Subject: [PATCH] build: osx readme: note cli xcode needs to be deleted before install upgrading an existing directory does not seem to work well --- contrib/osx/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/contrib/osx/README.md b/contrib/osx/README.md index bff2f902b..6aee2b694 100644 --- a/contrib/osx/README.md +++ b/contrib/osx/README.md @@ -28,7 +28,7 @@ Notes about compatibility with different macOS versions: We currently build the release binaries on macOS 10.14.6, and these seem to run on 10.13 or newer. -Before starting, you should install `brew`. +Before starting, you should install [`brew`](https://brew.sh/). #### Notes about reproducibility @@ -45,7 +45,7 @@ Before starting, you should install `brew`. - so full Xcode is needed, to have `altool`. - however, brew now consider macOS 10.14 too old, and for some reason it requires Xcode CLI tools. (`Error: Xcode alone is not sufficient on Mojave.`) - + So, we need *both* full Xcode and Xcode CLI tools. Both with version 11.3.1. The two Xcodes should be located exactly as follows: ``` @@ -86,6 +86,7 @@ $ sudo xcodebuild -runFirstLaunch Install Xcode CLI tools: ``` +$ sudo rm -rf /Library/Developer/CommandLineTools $ shasum -a 256 "$HOME/Downloads/Command_Line_Tools_for_Xcode_11.3.1.dmg" 1c4b477285641cca5313f456b712bf726aca8db77f38793420e1d451588673f9 /Users/vagrant/Downloads/Command_Line_Tools_for_Xcode_11.3.1.dmg $ hdiutil attach "$HOME/Downloads/Command_Line_Tools_for_Xcode_11.3.1.dmg" @@ -111,7 +112,7 @@ provide these env vars to the `make_osx` script: ## Verifying reproducibility and comparing against official binary -Every user can verify that the official binary was created from the source code in this +Every user can verify that the official binary was created from the source code in this repository. 1. Build your own binary as described above.