facebook/facebook-ios-sdk — comment on commit 9acf74345bb248d698966eac9a3057a4b4be1b0f
File:  line 0
By hawflakes:

Yar, can you do a check for env variable and/or determine something like this?

XCODEBUILD_PATH_43 ="/Applications/Xcode.app/Contents/Developer/usr/bin"

if [-d XC4_3BP]
XCODEBUILD_PATH=$XCODEBUILD_PATH_43;
fi