The clang that is bundled in Xcode 15 now generates a different "triple" (compilation target) when it sees MACOSX_DEPLOYMENT_TARGET set. Instead of looking at the isysroot, for some reason it overrides that based on MACOSX_DEPLOYMENT_TARGET.
Nix sets MACOSX_DEPLOYMENT_TARGET to 11 for some backwards compatibility reason.
As a result, we started seeing build failures for the glog Pod in Nix after upgrading to Xcode 15.
This diff solves the issue by overriding MACOSX_DEPLOYMENT_TARGET to the empty string.