Fixed bug 4370 - tvOS Simulator devices not listed
authorSam Lantinga <slouken@libsdl.org>
Mon, 12 Nov 2018 16:51:25 -0800
changeset 630acc936055688
parent 629 29b57ae39385
child 631 2346808be360
Fixed bug 4370 - tvOS Simulator devices not listed

Caleb Cornett

In the Xcode-iOS project, when selecting the libSDL_image-tvos target, no Apple TV simulators appear in the drop-down list of available devices.

This is easily fixed with the attached patch.
Xcode-iOS/SDL_image.xcodeproj/project.pbxproj
     1.1 --- a/Xcode-iOS/SDL_image.xcodeproj/project.pbxproj	Wed Nov 07 07:49:48 2018 -0800
     1.2 +++ b/Xcode-iOS/SDL_image.xcodeproj/project.pbxproj	Mon Nov 12 16:51:25 2018 -0800
     1.3 @@ -516,6 +516,7 @@
     1.4  				SECTORDER_FLAGS = "";
     1.5  				SKIP_INSTALL = YES;
     1.6  				SUPPORTED_PLATFORMS = "appletvsimulator appletvos";
     1.7 +				TARGETED_DEVICE_FAMILY = 3;
     1.8  			};
     1.9  			name = Debug;
    1.10  		};
    1.11 @@ -531,6 +532,7 @@
    1.12  				SECTORDER_FLAGS = "";
    1.13  				SKIP_INSTALL = YES;
    1.14  				SUPPORTED_PLATFORMS = "appletvsimulator appletvos";
    1.15 +				TARGETED_DEVICE_FAMILY = 3;
    1.16  			};
    1.17  			name = Release;
    1.18  		};