I vaguely remembered that I tried that and it didn't work since configure script overwrite after its own detection method (and detection fails since some system-wide executables (such as xcodebuild) are not exposed. ) But not 100% sure now.