Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion system-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,16 @@ function check_specific_xcode () {
local XCODE_DEVELOPER_ROOT=`grep XCODE$1_DEVELOPER_ROOT= Make.config | sed 's/.*=//'`
local XCODE_VERSION=`grep XCODE$1_VERSION= Make.config | sed 's/.*=//'`
local XCODE_ROOT=$(dirname `dirname $XCODE_DEVELOPER_ROOT`)
local ENABLE_XAMARIN=$(grep -s ^ENABLE_XAMARIN= Make.config.local configure.inc | sed 's/.*=//')

if ! test -d $XCODE_DEVELOPER_ROOT; then
if ! test -z $PROVISION_XCODE; then
install_specific_xcode $1
if ! test -z $ENABLE_XAMARIN; then
install_specific_xcode $1
else
fail "Automatic provisioning of Xcode is only supported for provisioning internal build bots."
fail "Please download and install Xcode $XCODE_VERSION here: https://developer.apple.com/downloads/index.action?name=Xcode"
fi
else
fail "You must install Xcode ($XCODE_VERSION) in $XCODE_ROOT. You can download Xcode $XCODE_VERSION here: https://developer.apple.com/downloads/index.action?name=Xcode"
fi
Expand Down