Index: docs/mac_build_instructions.md |
diff --git a/docs/mac_build_instructions.md b/docs/mac_build_instructions.md |
index f0fa6838ecf306e347dafa566767b77c8cfa43f1..83eb887c44186b3e3e57ebeb0ae1edd6a0c75440 100644 |
--- a/docs/mac_build_instructions.md |
+++ b/docs/mac_build_instructions.md |
@@ -251,3 +251,20 @@ If your `git --version` reports 2.6 or higher, the following may also improve |
performance of `git status`: |
git update-index --untracked-cache |
+ |
+## Xcode license agreement |
+ |
+If you're getting the error |
+ |
+``` |
+Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo. |
+``` |
+ |
+the Xcode license hasn't been accepted yet which (contrary to the message) any |
+user can do by running: |
+ |
+ xcodebuild -license |
+ |
+Only accepting for all users of the machine requires root: |
+ |
+ sudo xcodebuild -license |