Assert when using FORCE_MAC_TOOLCHAIN and target_os=ios.

iOS no longer uses the hermetic Xcode toolchain.

Bug: 939785
Change-Id: I31a28e77a7e2b5b43f3db43c39ada9d9e6757540
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1539798
Reviewed-by: Nico Weber <thakis@chromium.org>
Reviewed-by: Erik Chen <erikchen@chromium.org>
Auto-Submit: Justin Cohen <justincohen@chromium.org>
Commit-Queue: Justin Cohen <justincohen@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#644418}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4b820a46fc4a38a597c72851e322b1be4aa7984b
diff --git a/build.gni b/build.gni
index 8104307..e8471bf 100644
--- a/build.gni
+++ b/build.gni
@@ -42,7 +42,7 @@
   # This does not affect the compiler. When this variable is false, targets will
   # instead use a hermetic install of Xcode. [The hermetic install can be
   # obtained with gclient sync after setting the environment variable
-  # FORCE_MAC_TOOLCHAIN].
+  # FORCE_MAC_TOOLCHAIN for target_os mac only].
   use_system_xcode = ""
 }
 
@@ -54,5 +54,9 @@
   assert(_result != 2,
          "Do not allow building targets with the default" +
              "hermetic toolchain if the minimum OS version is not met.")
+  assert(_result != 3,
+         "iOS does not support building with a hermetic toolchain. " +
+             "Please install Xcode.")
+
   use_system_xcode = _result != 1
 }