(iOS) Use xcodebuild instead of xcrun

This commit is contained in:
Twinaphex
2015-02-28 03:27:17 +01:00
parent d03f8e18e8
commit 18cf5658f7

View File

@@ -69,7 +69,7 @@ else ifeq ($(platform), ios)
ENDIANNESS_DEFINES = -DLSB_FIRST -DLOCAL_LE=1
CFLAGS += -DHAVE_ASPRINTF -DIOS
ifeq ($(IOSSDK),)
IOSSDK := $(shell xcrun -sdk iphoneos -show-sdk-path)
IOSSDK := $(shell xcodebuild -version -sdk iphoneos Path)
endif
CC = clang -arch armv7 -isysroot $(IOSSDK)
CFLAGS += -DIOS