diff --git a/Makefile.libretro b/Makefile.libretro index 01a3c773..c5c271ab 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -69,7 +69,7 @@ else ifeq ($(platform), ios) APPLE := 1 ifeq ($(IOSSDK),) - IOSSDK := $(shell xcrun -sdk iphoneos -show-sdk-path) + IOSSDK := $(shell xcodebuild -version -sdk iphoneos Path) endif CC = clang -arch armv7 -isysroot $(IOSSDK)