In order for Xcode builds to work with custom environment variables you need to use xcodeproj.bazel_env. This just takes the extra step of filtering out all other environment variables, ensuring more analysis cache hits. You can already do this in your own tools/bazel, but now people can get the benefit regardless.
This change is needed for shared outputs bases to be performant.
In order for Xcode builds to work with custom environment variables you need to use
xcodeproj.bazel_env
. This just takes the extra step of filtering out all other environment variables, ensuring more analysis cache hits. You can already do this in your owntools/bazel
, but now people can get the benefit regardless.This change is needed for shared outputs bases to be performant.