diff --git a/Makefile b/Makefile index 48bf496..5bb804e 100644 --- a/Makefile +++ b/Makefile @@ -109,7 +109,7 @@ else ifeq ($(platform), ios) CPU_ARCH := arm ifeq ($(IOSSDK),) - IOSSDK := $(shell xcrun -sdk iphoneos -show-sdk-path) + IOSSDK := $(shell xcodebuild -version -sdk iphoneos Path) endif CC = clang -arch armv7 -isysroot $(IOSSDK)