From 8af22c3473d374ff3e043f441389a198f1e6eed9 Mon Sep 17 00:00:00 2001 From: ksolana <110843012+ksolana@users.noreply.github.com> Date: Wed, 13 Mar 2024 10:01:02 -0700 Subject: [PATCH] Doc: Add error message for easy search clang-17 cant be opened because Apple cannot check it for malicious software --- language/tools/move-mv-llvm-compiler/docs/Development.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/language/tools/move-mv-llvm-compiler/docs/Development.md b/language/tools/move-mv-llvm-compiler/docs/Development.md index deb4aac300..e2a2593faa 100644 --- a/language/tools/move-mv-llvm-compiler/docs/Development.md +++ b/language/tools/move-mv-llvm-compiler/docs/Development.md @@ -261,8 +261,9 @@ For example > RUST_LOG=info move-mv-llvm-compiler -b tests/BasicCoin.mv ---- -On MacOS, some builds and tests might spuriously fail because the tools downloaded may not be trusted by the OS. To get around that run the following command in each directory where binaries are there e.g., `move-dev/bin` and `rust/bin` +On MacOS, some builds and tests might spuriously fail because the tools downloaded may not be trusted by the OS. You may get error message like "clang-17 can't be opened because Apple cannot check it for malicious software". To get around that run the following command in each directory where binaries are there e.g., `move-dev/bin` and `rust/bin` +> cd /path/to/move-dev/bin > xattr -d com.apple.quarantine * Note that this will not remove the attribute from symlinks. For symlinks you have to do it separately or use bash tricks like > for i in `find . -type l`; do echo $i; mv $i $i.tmp; done ; # rename all the symlinks to .tmp