diff --git a/makefile b/makefile index dc9208c42c..d0de5dbae6 100755 --- a/makefile +++ b/makefile @@ -668,7 +668,8 @@ ifeq ($(platform),darwin) sdk-dir = $(platform-dir)/Developer/SDKs ios-version := $(shell \ - if test -d $(sdk-dir)/$(target)7.0.sdk; then echo 7.0; \ + if test -d $(sdk-dir)/$(target)7.1.sdk; then echo 7.1; \ + elif test -d $(sdk-dir)/$(target)7.0.sdk; then echo 7.0; \ elif test -d $(sdk-dir)/$(target)6.1.sdk; then echo 6.1; \ elif test -d $(sdk-dir)/$(target)6.0.sdk; then echo 6.0; \ elif test -d $(sdk-dir)/$(target)5.1.sdk; then echo 5.1; \