From 5aba0827035cba9d4271bddfa3a339200fd2b20b Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 30 Dec 2020 11:38:51 -0800 Subject: [PATCH] Build SDL for Mac hardware when targeting iOS --- Xcode/SDL/SDL.xcodeproj/project.pbxproj | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Xcode/SDL/SDL.xcodeproj/project.pbxproj b/Xcode/SDL/SDL.xcodeproj/project.pbxproj index 68f33d86c..b311ef7f7 100644 --- a/Xcode/SDL/SDL.xcodeproj/project.pbxproj +++ b/Xcode/SDL/SDL.xcodeproj/project.pbxproj @@ -10162,6 +10162,7 @@ GCC_SYMBOLS_PRIVATE_EXTERN = YES; INSTALL_PATH = "@rpath"; SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2,6"; }; name = Debug; }; @@ -10178,6 +10179,7 @@ GCC_SYMBOLS_PRIVATE_EXTERN = YES; INSTALL_PATH = "@rpath"; SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2,6"; }; name = Release; }; @@ -10222,7 +10224,7 @@ PRODUCT_BUNDLE_IDENTIFIER = org.libsdl.hidapi; PRODUCT_NAME = hidapi; SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; + TARGETED_DEVICE_FAMILY = "1,2,6"; }; name = Debug; }; @@ -10243,7 +10245,7 @@ PRODUCT_BUNDLE_IDENTIFIER = org.libsdl.hidapi; PRODUCT_NAME = hidapi; SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; + TARGETED_DEVICE_FAMILY = "1,2,6"; }; name = Release; }; @@ -10341,7 +10343,7 @@ GCC_PREPROCESSOR_DEFINITIONS = "IOS_DYLIB=1"; OTHER_LDFLAGS = "-liconv"; SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; + TARGETED_DEVICE_FAMILY = "1,2,6"; }; name = Debug; }; @@ -10357,7 +10359,7 @@ GCC_PREPROCESSOR_DEFINITIONS = "IOS_DYLIB=1"; OTHER_LDFLAGS = "-liconv"; SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; + TARGETED_DEVICE_FAMILY = "1,2,6"; }; name = Release; };