diff --git a/xcodeproj/internal/templates/bazel_build.sh b/xcodeproj/internal/templates/bazel_build.sh index b8cc91ec1..6ca8be921 100755 --- a/xcodeproj/internal/templates/bazel_build.sh +++ b/xcodeproj/internal/templates/bazel_build.sh @@ -69,6 +69,12 @@ readonly allowed_vars=( "BUILD_WORKSPACE_DIRECTORY" "DEVELOPER_DIR" "HOME" + "HTTP_PROXY" + "http_proxy" + "HTTPS_PROXY" + "https_proxy" + "NO_PROXY" + "no_proxy" "SSH_AUTH_SOCK" "TERM" "USER" diff --git a/xcodeproj/internal/templates/runner.sh b/xcodeproj/internal/templates/runner.sh index 15b7800c1..84887a14d 100644 --- a/xcodeproj/internal/templates/runner.sh +++ b/xcodeproj/internal/templates/runner.sh @@ -204,6 +204,12 @@ fi readonly allowed_vars=( "BUILD_WORKSPACE_DIRECTORY" "HOME" + "HTTP_PROXY" + "http_proxy" + "HTTPS_PROXY" + "https_proxy" + "NO_PROXY" + "no_proxy" "SSH_AUTH_SOCK" "TERM" "USER"