Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sdks/versions.mk')
-rw-r--r--sdks/versions.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/sdks/versions.mk b/sdks/versions.mk
index 11f47bbcd96..7c7e48eeb7a 100644
--- a/sdks/versions.mk
+++ b/sdks/versions.mk
@@ -20,6 +20,8 @@ ANDROID_SDK_VERSION_x86_64?=21
# iOS
XCODE_DIR?=/Applications/Xcode.app/Contents/Developer
+XCODE_VERSION:=$(shell /usr/libexec/PlistBuddy -c "Print :CFBundleShortVersionString" $(XCODE_DIR)/../version.plist)
+XCODE_MAJOR_VERSION:=$(word 1, $(subst ., ,$(XCODE_VERSION)))
# min versions of the targets
MACOS_VERSION_MIN?=10.9