Fixed bug 4088 - Fix Metal link errors with test programs in SDLTest.xcodeproj
authorSam Lantinga <slouken@libsdl.org>
Tue, 20 Feb 2018 09:04:31 -0800
changeset 11884728f670288e4
parent 11883 d20126d8d014
child 11885 e6fc3ef41ffd
Fixed bug 4088 - Fix Metal link errors with test programs in SDLTest.xcodeproj

Eric Wasylishen

The following patch adds Metal.framework to the "link binary with libraries" section of each test program, with "status" set to "optional", which fixes link errors on all of the test programs. I'm not sure if this is a correct fix - the fact that this was necessary might indicate the static SDL2.a library has a hard dependency on Metal.framework (?) - but it gets the test programs working in Xcode again.

It also adds testyuv_cvt.c to the testoverlay2 target, fixing a link error.
Xcode/SDLTest/SDLTest.xcodeproj/project.pbxproj
     1.1 --- a/Xcode/SDLTest/SDLTest.xcodeproj/project.pbxproj	Sun Feb 18 09:09:56 2018 -0800
     1.2 +++ b/Xcode/SDLTest/SDLTest.xcodeproj/project.pbxproj	Tue Feb 20 09:04:31 2018 -0800
     1.3 @@ -348,6 +348,53 @@
     1.4  		00794EF009D23739003FC8A1 /* utf8.txt in CopyFiles */ = {isa = PBXBuildFile; fileRef = 00794E6309D20839003FC8A1 /* utf8.txt */; };
     1.5  		00794EF709D237DE003FC8A1 /* moose.dat in CopyFiles */ = {isa = PBXBuildFile; fileRef = 00794E5E09D20839003FC8A1 /* moose.dat */; };
     1.6  		453774A5120915E3002F0F45 /* testshape.c in Sources */ = {isa = PBXBuildFile; fileRef = 453774A4120915E3002F0F45 /* testshape.c */; };
     1.7 +		66E88E5C203B733D0004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
     1.8 +		66E88E5D203B73530004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
     1.9 +		66E88E5E203B74490004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.10 +		66E88E5F203B74860004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.11 +		66E88E60203B74C20004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.12 +		66E88E61203B74CC0004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.13 +		66E88E62203B74D50004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.14 +		66E88E63203B74DC0004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.15 +		66E88E64203B74E50004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.16 +		66E88E65203B74EC0004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.17 +		66E88E66203B75140004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.18 +		66E88E67203B751D0004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.19 +		66E88E68203B75250004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.20 +		66E88E69203B75390004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.21 +		66E88E6A203B75450004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.22 +		66E88E6B203B754C0004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.23 +		66E88E6C203B75540004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.24 +		66E88E6D203B755B0004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.25 +		66E88E6E203B75620004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.26 +		66E88E6F203B756A0004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.27 +		66E88E70203B75710004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.28 +		66E88E71203B75780004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.29 +		66E88E72203B757F0004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.30 +		66E88E73203B758C0004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.31 +		66E88E74203B75AF0004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.32 +		66E88E75203B75B90004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.33 +		66E88E76203B75BF0004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.34 +		66E88E77203B75C70004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.35 +		66E88E78203B75CE0004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.36 +		66E88E79203B75D50004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.37 +		66E88E7A203B75DE0004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.38 +		66E88E7B203B75E40004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.39 +		66E88E7C203B75EB0004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.40 +		66E88E7D203B75F30004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.41 +		66E88E7E203B75F90004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.42 +		66E88E7F203B76000004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.43 +		66E88E80203B76060004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.44 +		66E88E81203B760D0004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.45 +		66E88E82203B76140004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.46 +		66E88E83203B761D0004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.47 +		66E88E84203B76230004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.48 +		66E88E85203B762D0004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.49 +		66E88E86203B76340004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.50 +		66E88E87203B763B0004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.51 +		66E88E88203B76420004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.52 +		66E88E89203B764A0004D44E /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66E88E5B203B733C0004D44E /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
    1.53 +		66E88E8B203B778F0004D44E /* testyuv_cvt.c in Sources */ = {isa = PBXBuildFile; fileRef = 66E88E8A203B778F0004D44E /* testyuv_cvt.c */; };
    1.54  		AAF02FFA1F90092700B9A9FB /* SDL_test_memory.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF02FF41F90089800B9A9FB /* SDL_test_memory.c */; };
    1.55  		BBFC08C0164C6862003E6A99 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F33A709CA188600EBEB88 /* Cocoa.framework */; };
    1.56  		BBFC08C1164C6862003E6A99 /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002A863B10730545007319AE /* CoreAudio.framework */; };
    1.57 @@ -1153,6 +1200,8 @@
    1.58  		092D6D75FFB313BB7F000001 /* testlock.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testlock.c; path = ../../test/testlock.c; sourceTree = SOURCE_ROOT; };
    1.59  		4537749212091504002F0F45 /* testshape */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = testshape; sourceTree = BUILT_PRODUCTS_DIR; };
    1.60  		453774A4120915E3002F0F45 /* testshape.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = testshape.c; path = ../../test/testshape.c; sourceTree = SOURCE_ROOT; };
    1.61 +		66E88E5B203B733C0004D44E /* Metal.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Metal.framework; path = System/Library/Frameworks/Metal.framework; sourceTree = SDKROOT; };
    1.62 +		66E88E8A203B778F0004D44E /* testyuv_cvt.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = testyuv_cvt.c; path = ../../test/testyuv_cvt.c; sourceTree = "<group>"; };
    1.63  		AAF02FF41F90089800B9A9FB /* SDL_test_memory.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = SDL_test_memory.c; path = ../../src/test/SDL_test_memory.c; sourceTree = "<group>"; };
    1.64  		BBFC088E164C6820003E6A99 /* testgamecontroller.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = testgamecontroller.c; path = ../../test/testgamecontroller.c; sourceTree = "<group>"; };
    1.65  		BBFC08CD164C6862003E6A99 /* testgamecontroller */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = testgamecontroller; sourceTree = BUILT_PRODUCTS_DIR; };
    1.66 @@ -1227,6 +1276,7 @@
    1.67  			isa = PBXFrameworksBuildPhase;
    1.68  			buildActionMask = 2147483647;
    1.69  			files = (
    1.70 +				66E88E5F203B74860004D44E /* Metal.framework in Frameworks */,
    1.71  				FA73672919A54AB9004122E4 /* CoreVideo.framework in Frameworks */,
    1.72  				0017957C10741F7900F5D044 /* Cocoa.framework in Frameworks */,
    1.73  				0017957D10741F7900F5D044 /* CoreAudio.framework in Frameworks */,
    1.74 @@ -1244,6 +1294,7 @@
    1.75  			isa = PBXFrameworksBuildPhase;
    1.76  			buildActionMask = 2147483647;
    1.77  			files = (
    1.78 +				66E88E89203B764A0004D44E /* Metal.framework in Frameworks */,
    1.79  				FA73672A19A54AC0004122E4 /* CoreVideo.framework in Frameworks */,
    1.80  				0017959D107421BF00F5D044 /* Cocoa.framework in Frameworks */,
    1.81  				0017959E107421BF00F5D044 /* CoreAudio.framework in Frameworks */,
    1.82 @@ -1261,6 +1312,7 @@
    1.83  			isa = PBXFrameworksBuildPhase;
    1.84  			buildActionMask = 2147483647;
    1.85  			files = (
    1.86 +				66E88E80203B76060004D44E /* Metal.framework in Frameworks */,
    1.87  				FA73673319A54AD8004122E4 /* CoreVideo.framework in Frameworks */,
    1.88  				0017971110742F3200F5D044 /* Cocoa.framework in Frameworks */,
    1.89  				0017971210742F3200F5D044 /* CoreAudio.framework in Frameworks */,
    1.90 @@ -1279,6 +1331,7 @@
    1.91  			isa = PBXFrameworksBuildPhase;
    1.92  			buildActionMask = 2147483647;
    1.93  			files = (
    1.94 +				66E88E7F203B76000004D44E /* Metal.framework in Frameworks */,
    1.95  				FA73673419A54ADB004122E4 /* CoreVideo.framework in Frameworks */,
    1.96  				00179738107430D600F5D044 /* Cocoa.framework in Frameworks */,
    1.97  				00179739107430D600F5D044 /* CoreAudio.framework in Frameworks */,
    1.98 @@ -1296,6 +1349,7 @@
    1.99  			isa = PBXFrameworksBuildPhase;
   1.100  			buildActionMask = 2147483647;
   1.101  			files = (
   1.102 +				66E88E88203B76420004D44E /* Metal.framework in Frameworks */,
   1.103  				FA73672B19A54AC2004122E4 /* CoreVideo.framework in Frameworks */,
   1.104  				0017975E107431B300F5D044 /* Cocoa.framework in Frameworks */,
   1.105  				0017975F107431B300F5D044 /* CoreAudio.framework in Frameworks */,
   1.106 @@ -1314,6 +1368,7 @@
   1.107  			isa = PBXFrameworksBuildPhase;
   1.108  			buildActionMask = 2147483647;
   1.109  			files = (
   1.110 +				66E88E7C203B75EB0004D44E /* Metal.framework in Frameworks */,
   1.111  				FA73673719A54AE3004122E4 /* CoreVideo.framework in Frameworks */,
   1.112  				0017977E107432AE00F5D044 /* Cocoa.framework in Frameworks */,
   1.113  				0017977F107432AE00F5D044 /* CoreAudio.framework in Frameworks */,
   1.114 @@ -1332,6 +1387,7 @@
   1.115  			isa = PBXFrameworksBuildPhase;
   1.116  			buildActionMask = 2147483647;
   1.117  			files = (
   1.118 +				66E88E7B203B75E40004D44E /* Metal.framework in Frameworks */,
   1.119  				FA73673819A54AE6004122E4 /* CoreVideo.framework in Frameworks */,
   1.120  				0017979E1074334C00F5D044 /* Cocoa.framework in Frameworks */,
   1.121  				0017979F1074334C00F5D044 /* CoreAudio.framework in Frameworks */,
   1.122 @@ -1350,6 +1406,7 @@
   1.123  			isa = PBXFrameworksBuildPhase;
   1.124  			buildActionMask = 2147483647;
   1.125  			files = (
   1.126 +				66E88E78203B75CE0004D44E /* Metal.framework in Frameworks */,
   1.127  				FA73673B19A54AED004122E4 /* CoreVideo.framework in Frameworks */,
   1.128  				001797C0107433C600F5D044 /* Cocoa.framework in Frameworks */,
   1.129  				001797C1107433C600F5D044 /* CoreAudio.framework in Frameworks */,
   1.130 @@ -1367,6 +1424,7 @@
   1.131  			isa = PBXFrameworksBuildPhase;
   1.132  			buildActionMask = 2147483647;
   1.133  			files = (
   1.134 +				66E88E75203B75B90004D44E /* Metal.framework in Frameworks */,
   1.135  				FA73673E19A54AF6004122E4 /* CoreVideo.framework in Frameworks */,
   1.136  				001798021074355200F5D044 /* Cocoa.framework in Frameworks */,
   1.137  				001798031074355200F5D044 /* CoreAudio.framework in Frameworks */,
   1.138 @@ -1384,6 +1442,7 @@
   1.139  			isa = PBXFrameworksBuildPhase;
   1.140  			buildActionMask = 2147483647;
   1.141  			files = (
   1.142 +				66E88E74203B75AF0004D44E /* Metal.framework in Frameworks */,
   1.143  				FA73673F19A54AF8004122E4 /* CoreVideo.framework in Frameworks */,
   1.144  				001798841074392D00F5D044 /* Cocoa.framework in Frameworks */,
   1.145  				001798851074392D00F5D044 /* CoreAudio.framework in Frameworks */,
   1.146 @@ -1401,6 +1460,7 @@
   1.147  			isa = PBXFrameworksBuildPhase;
   1.148  			buildActionMask = 2147483647;
   1.149  			files = (
   1.150 +				66E88E71203B75780004D44E /* Metal.framework in Frameworks */,
   1.151  				FA73674219A54B01004122E4 /* CoreVideo.framework in Frameworks */,
   1.152  				001798A5107439DF00F5D044 /* Cocoa.framework in Frameworks */,
   1.153  				001798A6107439DF00F5D044 /* CoreAudio.framework in Frameworks */,
   1.154 @@ -1418,6 +1478,7 @@
   1.155  			isa = PBXFrameworksBuildPhase;
   1.156  			buildActionMask = 2147483647;
   1.157  			files = (
   1.158 +				66E88E6D203B755B0004D44E /* Metal.framework in Frameworks */,
   1.159  				FA73674619A54B0B004122E4 /* CoreVideo.framework in Frameworks */,
   1.160  				001798E210743BEC00F5D044 /* Cocoa.framework in Frameworks */,
   1.161  				001798E310743BEC00F5D044 /* CoreAudio.framework in Frameworks */,
   1.162 @@ -1435,6 +1496,7 @@
   1.163  			isa = PBXFrameworksBuildPhase;
   1.164  			buildActionMask = 2147483647;
   1.165  			files = (
   1.166 +				66E88E67203B751D0004D44E /* Metal.framework in Frameworks */,
   1.167  				FA73674C19A54B1F004122E4 /* CoreVideo.framework in Frameworks */,
   1.168  				0017990610743F1000F5D044 /* Cocoa.framework in Frameworks */,
   1.169  				0017990710743F1000F5D044 /* CoreAudio.framework in Frameworks */,
   1.170 @@ -1453,6 +1515,7 @@
   1.171  			isa = PBXFrameworksBuildPhase;
   1.172  			buildActionMask = 2147483647;
   1.173  			files = (
   1.174 +				66E88E61203B74CC0004D44E /* Metal.framework in Frameworks */,
   1.175  				FA73675219A54B32004122E4 /* CoreVideo.framework in Frameworks */,
   1.176  				0017992810743FB700F5D044 /* Cocoa.framework in Frameworks */,
   1.177  				0017992910743FB700F5D044 /* CoreAudio.framework in Frameworks */,
   1.178 @@ -1471,6 +1534,7 @@
   1.179  			isa = PBXFrameworksBuildPhase;
   1.180  			buildActionMask = 2147483647;
   1.181  			files = (
   1.182 +				66E88E84203B76230004D44E /* Metal.framework in Frameworks */,
   1.183  				FA73672F19A54ACC004122E4 /* CoreVideo.framework in Frameworks */,
   1.184  				002F340B09CA1BFF00EBEB88 /* Cocoa.framework in Frameworks */,
   1.185  				002A866B10730548007319AE /* CoreAudio.framework in Frameworks */,
   1.186 @@ -1488,6 +1552,7 @@
   1.187  			isa = PBXFrameworksBuildPhase;
   1.188  			buildActionMask = 2147483647;
   1.189  			files = (
   1.190 +				66E88E7D203B75F30004D44E /* Metal.framework in Frameworks */,
   1.191  				FA73673619A54AE1004122E4 /* CoreVideo.framework in Frameworks */,
   1.192  				002F342A09CA1F0300EBEB88 /* Cocoa.framework in Frameworks */,
   1.193  				002A866210730547007319AE /* CoreAudio.framework in Frameworks */,
   1.194 @@ -1505,6 +1570,7 @@
   1.195  			isa = PBXFrameworksBuildPhase;
   1.196  			buildActionMask = 2147483647;
   1.197  			files = (
   1.198 +				66E88E73203B758C0004D44E /* Metal.framework in Frameworks */,
   1.199  				FA73674019A54AFB004122E4 /* CoreVideo.framework in Frameworks */,
   1.200  				002F344609CA1FB300EBEB88 /* Cocoa.framework in Frameworks */,
   1.201  				002A868010730549007319AE /* CoreAudio.framework in Frameworks */,
   1.202 @@ -1522,6 +1588,7 @@
   1.203  			isa = PBXFrameworksBuildPhase;
   1.204  			buildActionMask = 2147483647;
   1.205  			files = (
   1.206 +				66E88E72203B757F0004D44E /* Metal.framework in Frameworks */,
   1.207  				FA73674119A54AFE004122E4 /* CoreVideo.framework in Frameworks */,
   1.208  				002F346309CA204F00EBEB88 /* Cocoa.framework in Frameworks */,
   1.209  				002A868610730549007319AE /* CoreAudio.framework in Frameworks */,
   1.210 @@ -1539,6 +1606,7 @@
   1.211  			isa = PBXFrameworksBuildPhase;
   1.212  			buildActionMask = 2147483647;
   1.213  			files = (
   1.214 +				66E88E68203B75250004D44E /* Metal.framework in Frameworks */,
   1.215  				FA73674B19A54B1B004122E4 /* CoreVideo.framework in Frameworks */,
   1.216  				DB166D7116A1CFB200A1396C /* AudioToolbox.framework in Frameworks */,
   1.217  				DB166D7216A1CFB200A1396C /* AudioUnit.framework in Frameworks */,
   1.218 @@ -1557,6 +1625,7 @@
   1.219  			isa = PBXFrameworksBuildPhase;
   1.220  			buildActionMask = 2147483647;
   1.221  			files = (
   1.222 +				66E88E82203B76140004D44E /* Metal.framework in Frameworks */,
   1.223  				FA73673119A54AD3004122E4 /* CoreVideo.framework in Frameworks */,
   1.224  				BBFC08C0164C6862003E6A99 /* Cocoa.framework in Frameworks */,
   1.225  				BBFC08C1164C6862003E6A99 /* CoreAudio.framework in Frameworks */,
   1.226 @@ -1574,6 +1643,7 @@
   1.227  			isa = PBXFrameworksBuildPhase;
   1.228  			buildActionMask = 2147483647;
   1.229  			files = (
   1.230 +				66E88E5C203B733D0004D44E /* Metal.framework in Frameworks */,
   1.231  				FA73672319A54A90004122E4 /* CoreVideo.framework in Frameworks */,
   1.232  				002F33C109CA188600EBEB88 /* Cocoa.framework in Frameworks */,
   1.233  				002A863010730405007319AE /* libSDL2.a in Frameworks */,
   1.234 @@ -1591,6 +1661,7 @@
   1.235  			isa = PBXFrameworksBuildPhase;
   1.236  			buildActionMask = 2147483647;
   1.237  			files = (
   1.238 +				66E88E5E203B74490004D44E /* Metal.framework in Frameworks */,
   1.239  				FA73672819A54AB6004122E4 /* CoreVideo.framework in Frameworks */,
   1.240  				002F33BF09CA188600EBEB88 /* Cocoa.framework in Frameworks */,
   1.241  				002A865310730547007319AE /* CoreAudio.framework in Frameworks */,
   1.242 @@ -1608,6 +1679,7 @@
   1.243  			isa = PBXFrameworksBuildPhase;
   1.244  			buildActionMask = 2147483647;
   1.245  			files = (
   1.246 +				66E88E85203B762D0004D44E /* Metal.framework in Frameworks */,
   1.247  				FA73672E19A54ACA004122E4 /* CoreVideo.framework in Frameworks */,
   1.248  				002F33BC09CA188600EBEB88 /* Cocoa.framework in Frameworks */,
   1.249  				002A866E10730548007319AE /* CoreAudio.framework in Frameworks */,
   1.250 @@ -1625,6 +1697,7 @@
   1.251  			isa = PBXFrameworksBuildPhase;
   1.252  			buildActionMask = 2147483647;
   1.253  			files = (
   1.254 +				66E88E64203B74E50004D44E /* Metal.framework in Frameworks */,
   1.255  				FA73674F19A54B28004122E4 /* CoreVideo.framework in Frameworks */,
   1.256  				002F33B809CA188600EBEB88 /* Cocoa.framework in Frameworks */,
   1.257  				002A868F1073054A007319AE /* CoreAudio.framework in Frameworks */,
   1.258 @@ -1642,6 +1715,7 @@
   1.259  			isa = PBXFrameworksBuildPhase;
   1.260  			buildActionMask = 2147483647;
   1.261  			files = (
   1.262 +				66E88E7A203B75DE0004D44E /* Metal.framework in Frameworks */,
   1.263  				FA73673919A54AE8004122E4 /* CoreVideo.framework in Frameworks */,
   1.264  				002F33B709CA188600EBEB88 /* Cocoa.framework in Frameworks */,
   1.265  				002A867410730548007319AE /* CoreAudio.framework in Frameworks */,
   1.266 @@ -1659,6 +1733,7 @@
   1.267  			isa = PBXFrameworksBuildPhase;
   1.268  			buildActionMask = 2147483647;
   1.269  			files = (
   1.270 +				66E88E79203B75D50004D44E /* Metal.framework in Frameworks */,
   1.271  				FA73673A19A54AEB004122E4 /* CoreVideo.framework in Frameworks */,
   1.272  				002F33B509CA188600EBEB88 /* Cocoa.framework in Frameworks */,
   1.273  				002A867710730548007319AE /* CoreAudio.framework in Frameworks */,
   1.274 @@ -1676,6 +1751,7 @@
   1.275  			isa = PBXFrameworksBuildPhase;
   1.276  			buildActionMask = 2147483647;
   1.277  			files = (
   1.278 +				66E88E77203B75C70004D44E /* Metal.framework in Frameworks */,
   1.279  				FA73673C19A54AF0004122E4 /* CoreVideo.framework in Frameworks */,
   1.280  				002F33B609CA188600EBEB88 /* Cocoa.framework in Frameworks */,
   1.281  				002A867A10730549007319AE /* CoreAudio.framework in Frameworks */,
   1.282 @@ -1693,6 +1769,7 @@
   1.283  			isa = PBXFrameworksBuildPhase;
   1.284  			buildActionMask = 2147483647;
   1.285  			files = (
   1.286 +				66E88E6A203B75450004D44E /* Metal.framework in Frameworks */,
   1.287  				FA73674919A54B16004122E4 /* CoreVideo.framework in Frameworks */,
   1.288  				002F33B209CA188600EBEB88 /* Cocoa.framework in Frameworks */,
   1.289  				002A868910730549007319AE /* CoreAudio.framework in Frameworks */,
   1.290 @@ -1710,6 +1787,7 @@
   1.291  			isa = PBXFrameworksBuildPhase;
   1.292  			buildActionMask = 2147483647;
   1.293  			files = (
   1.294 +				66E88E63203B74DC0004D44E /* Metal.framework in Frameworks */,
   1.295  				FA73675019A54B2B004122E4 /* CoreVideo.framework in Frameworks */,
   1.296  				002F33B009CA188600EBEB88 /* Cocoa.framework in Frameworks */,
   1.297  				002A86981073054A007319AE /* CoreAudio.framework in Frameworks */,
   1.298 @@ -1727,6 +1805,7 @@
   1.299  			isa = PBXFrameworksBuildPhase;
   1.300  			buildActionMask = 2147483647;
   1.301  			files = (
   1.302 +				66E88E62203B74D50004D44E /* Metal.framework in Frameworks */,
   1.303  				FA73675119A54B2F004122E4 /* CoreVideo.framework in Frameworks */,
   1.304  				002F33AF09CA188600EBEB88 /* Cocoa.framework in Frameworks */,
   1.305  				002A86951073054A007319AE /* CoreAudio.framework in Frameworks */,
   1.306 @@ -1744,6 +1823,7 @@
   1.307  			isa = PBXFrameworksBuildPhase;
   1.308  			buildActionMask = 2147483647;
   1.309  			files = (
   1.310 +				66E88E60203B74C20004D44E /* Metal.framework in Frameworks */,
   1.311  				FA73675319A54B35004122E4 /* CoreVideo.framework in Frameworks */,
   1.312  				002F33AA09CA188600EBEB88 /* Cocoa.framework in Frameworks */,
   1.313  				002A864110730546007319AE /* CoreAudio.framework in Frameworks */,
   1.314 @@ -1761,6 +1841,7 @@
   1.315  			isa = PBXFrameworksBuildPhase;
   1.316  			buildActionMask = 2147483647;
   1.317  			files = (
   1.318 +				66E88E87203B763B0004D44E /* Metal.framework in Frameworks */,
   1.319  				FA73672C19A54AC5004122E4 /* CoreVideo.framework in Frameworks */,
   1.320  				DB0F48DD17CA51E5008798C5 /* Cocoa.framework in Frameworks */,
   1.321  				DB0F48DE17CA51E5008798C5 /* CoreAudio.framework in Frameworks */,
   1.322 @@ -1778,6 +1859,7 @@
   1.323  			isa = PBXFrameworksBuildPhase;
   1.324  			buildActionMask = 2147483647;
   1.325  			files = (
   1.326 +				66E88E83203B761D0004D44E /* Metal.framework in Frameworks */,
   1.327  				FA73673019A54AD0004122E4 /* CoreVideo.framework in Frameworks */,
   1.328  				DB0F48F317CA5212008798C5 /* Cocoa.framework in Frameworks */,
   1.329  				DB0F48F417CA5212008798C5 /* CoreAudio.framework in Frameworks */,
   1.330 @@ -1802,6 +1884,7 @@
   1.331  			isa = PBXFrameworksBuildPhase;
   1.332  			buildActionMask = 2147483647;
   1.333  			files = (
   1.334 +				66E88E81203B760D0004D44E /* Metal.framework in Frameworks */,
   1.335  				FA73673219A54AD5004122E4 /* CoreVideo.framework in Frameworks */,
   1.336  				DB166DB116A1D2F600A1396C /* Cocoa.framework in Frameworks */,
   1.337  				DB166DB216A1D2F600A1396C /* CoreAudio.framework in Frameworks */,
   1.338 @@ -1819,6 +1902,7 @@
   1.339  			isa = PBXFrameworksBuildPhase;
   1.340  			buildActionMask = 2147483647;
   1.341  			files = (
   1.342 +				66E88E76203B75BF0004D44E /* Metal.framework in Frameworks */,
   1.343  				FA73673D19A54AF3004122E4 /* CoreVideo.framework in Frameworks */,
   1.344  				DB166DC816A1D36A00A1396C /* Cocoa.framework in Frameworks */,
   1.345  				DB166DC916A1D36A00A1396C /* CoreAudio.framework in Frameworks */,
   1.346 @@ -1836,6 +1920,7 @@
   1.347  			isa = PBXFrameworksBuildPhase;
   1.348  			buildActionMask = 2147483647;
   1.349  			files = (
   1.350 +				66E88E70203B75710004D44E /* Metal.framework in Frameworks */,
   1.351  				FA73674319A54B04004122E4 /* CoreVideo.framework in Frameworks */,
   1.352  				DB166DE016A1D50C00A1396C /* Cocoa.framework in Frameworks */,
   1.353  				DB166DE116A1D50C00A1396C /* CoreAudio.framework in Frameworks */,
   1.354 @@ -1854,6 +1939,7 @@
   1.355  			isa = PBXFrameworksBuildPhase;
   1.356  			buildActionMask = 2147483647;
   1.357  			files = (
   1.358 +				66E88E6F203B756A0004D44E /* Metal.framework in Frameworks */,
   1.359  				FA73674419A54B06004122E4 /* CoreVideo.framework in Frameworks */,
   1.360  				DB166DF716A1D57C00A1396C /* Cocoa.framework in Frameworks */,
   1.361  				DB166DF816A1D57C00A1396C /* CoreAudio.framework in Frameworks */,
   1.362 @@ -1872,6 +1958,7 @@
   1.363  			isa = PBXFrameworksBuildPhase;
   1.364  			buildActionMask = 2147483647;
   1.365  			files = (
   1.366 +				66E88E6E203B75620004D44E /* Metal.framework in Frameworks */,
   1.367  				FA73674519A54B09004122E4 /* CoreVideo.framework in Frameworks */,
   1.368  				DB166E0E16A1D5AD00A1396C /* Cocoa.framework in Frameworks */,
   1.369  				DB166E0F16A1D5AD00A1396C /* CoreAudio.framework in Frameworks */,
   1.370 @@ -1890,6 +1977,7 @@
   1.371  			isa = PBXFrameworksBuildPhase;
   1.372  			buildActionMask = 2147483647;
   1.373  			files = (
   1.374 +				66E88E6C203B75540004D44E /* Metal.framework in Frameworks */,
   1.375  				FA73674719A54B0F004122E4 /* CoreVideo.framework in Frameworks */,
   1.376  				DB166E2B16A1D64D00A1396C /* Cocoa.framework in Frameworks */,
   1.377  				DB166E2C16A1D64D00A1396C /* CoreAudio.framework in Frameworks */,
   1.378 @@ -1907,6 +1995,7 @@
   1.379  			isa = PBXFrameworksBuildPhase;
   1.380  			buildActionMask = 2147483647;
   1.381  			files = (
   1.382 +				66E88E6B203B754C0004D44E /* Metal.framework in Frameworks */,
   1.383  				FA73674819A54B13004122E4 /* CoreVideo.framework in Frameworks */,
   1.384  				DB166E4116A1D69000A1396C /* Cocoa.framework in Frameworks */,
   1.385  				DB166E4216A1D69000A1396C /* CoreAudio.framework in Frameworks */,
   1.386 @@ -1925,6 +2014,7 @@
   1.387  			isa = PBXFrameworksBuildPhase;
   1.388  			buildActionMask = 2147483647;
   1.389  			files = (
   1.390 +				66E88E69203B75390004D44E /* Metal.framework in Frameworks */,
   1.391  				FA73674A19A54B19004122E4 /* CoreVideo.framework in Frameworks */,
   1.392  				DB166E5B16A1D6F300A1396C /* Cocoa.framework in Frameworks */,
   1.393  				DB166E5C16A1D6F300A1396C /* CoreAudio.framework in Frameworks */,
   1.394 @@ -1942,6 +2032,7 @@
   1.395  			isa = PBXFrameworksBuildPhase;
   1.396  			buildActionMask = 2147483647;
   1.397  			files = (
   1.398 +				66E88E66203B75140004D44E /* Metal.framework in Frameworks */,
   1.399  				FA73674D19A54B22004122E4 /* CoreVideo.framework in Frameworks */,
   1.400  				DB166E7116A1D78400A1396C /* Cocoa.framework in Frameworks */,
   1.401  				DB166E7216A1D78400A1396C /* CoreAudio.framework in Frameworks */,
   1.402 @@ -1959,6 +2050,7 @@
   1.403  			isa = PBXFrameworksBuildPhase;
   1.404  			buildActionMask = 2147483647;
   1.405  			files = (
   1.406 +				66E88E65203B74EC0004D44E /* Metal.framework in Frameworks */,
   1.407  				FA73674E19A54B25004122E4 /* CoreVideo.framework in Frameworks */,
   1.408  				DB166E8416A1D78C00A1396C /* Cocoa.framework in Frameworks */,
   1.409  				DB166E8516A1D78C00A1396C /* CoreAudio.framework in Frameworks */,
   1.410 @@ -1976,6 +2068,7 @@
   1.411  			isa = PBXFrameworksBuildPhase;
   1.412  			buildActionMask = 2147483647;
   1.413  			files = (
   1.414 +				66E88E86203B76340004D44E /* Metal.framework in Frameworks */,
   1.415  				FA73672D19A54AC7004122E4 /* CoreVideo.framework in Frameworks */,
   1.416  				DB445EEA18184B7000B306B0 /* Cocoa.framework in Frameworks */,
   1.417  				DB445EEB18184B7000B306B0 /* CoreAudio.framework in Frameworks */,
   1.418 @@ -1994,6 +2087,7 @@
   1.419  			isa = PBXFrameworksBuildPhase;
   1.420  			buildActionMask = 2147483647;
   1.421  			files = (
   1.422 +				66E88E7E203B75F90004D44E /* Metal.framework in Frameworks */,
   1.423  				FA73673519A54ADE004122E4 /* CoreVideo.framework in Frameworks */,
   1.424  				DB89957118A19ABA0092407C /* Cocoa.framework in Frameworks */,
   1.425  				DB89957218A19ABA0092407C /* CoreAudio.framework in Frameworks */,
   1.426 @@ -2011,6 +2105,7 @@
   1.427  			isa = PBXFrameworksBuildPhase;
   1.428  			buildActionMask = 2147483647;
   1.429  			files = (
   1.430 +				66E88E5D203B73530004D44E /* Metal.framework in Frameworks */,
   1.431  				DBEC54DD1A1A81C3005B1EAB /* CoreVideo.framework in Frameworks */,
   1.432  				DBEC54DE1A1A81C3005B1EAB /* Cocoa.framework in Frameworks */,
   1.433  				DBEC54DF1A1A81C3005B1EAB /* libSDL2.a in Frameworks */,
   1.434 @@ -2081,6 +2176,7 @@
   1.435  				002F33A209CA183B00EBEB88 /* Linked Frameworks */,
   1.436  				00794E4609D207B4003FC8A1 /* Resources */,
   1.437  				1AB674ADFE9D54B511CA2CBB /* Products */,
   1.438 +				66E88E56203B733C0004D44E /* Frameworks */,
   1.439  			);
   1.440  			comments = "I made these tests link against our \"default\" framework which includes X11 stuff. If you didn't install the X11 headers with Xcode, you might have problems building the SDL.framework (which is a dependency). You can swap the dependencies around to get around this, or you can modify the default SDL.framework target to not include X11 stuff. (Go into its target build options and remove all the Preprocessor macros.)\n\n\n\nWe are sort of in a half-way state at the moment. Going \"all-the-way\" means we copy the SDL.framework inside the app bundle so we can run the test without the step of the user \"installing\" the framework. But there is an oversight/bug in Xcode that doesn't correctly find the location of the framework when in an embedded/nested Xcode project. We could probably try to hack this with a shell script that checks multiple directories for existence, but this is messier and more work than I prefer, so I rather just wait for Apple to fix this. In the meantime...\n\nThe \"All\" target will build the SDL framework from the Xcode project. The other targets do not have this dependency set (for flexibility reasons in case we make changes). If you have not built the framework, you will probably be unable to link. You will either need to build the framework, or you need to add \"-framework SDL\" to the link options and make sure you have the SDL.framework installed somewhere where it can be seen (like /Library/Frameworks...I think we already set this one up.) \n\nTo run though, you should have a copy of the SDL.framework in /Library/Frameworks or ~/Library/Frameworks.\n\n\n\n\ntestgl and testdyngl need -DHAVE_OPENGL\ntestgl needs to link against OpenGL.framework\n\n";
   1.441  			name = SDLTest;
   1.442 @@ -2120,6 +2216,7 @@
   1.443  				0017985C107436ED00F5D044 /* testnativecocoa.m */,
   1.444  				00179872107438D000F5D044 /* testnativex11.c */,
   1.445  				002F345209CA201C00EBEB88 /* testoverlay2.c */,
   1.446 +				66E88E8A203B778F0004D44E /* testyuv_cvt.c */,
   1.447  				002F346F09CA20A600EBEB88 /* testplatform.c */,
   1.448  				001798B910743A4900F5D044 /* testpower.c */,
   1.449  				DB166CBF16A1C74100A1396C /* testrelative.c */,
   1.450 @@ -2197,6 +2294,14 @@
   1.451  			name = Products;
   1.452  			sourceTree = "<group>";
   1.453  		};
   1.454 +		66E88E56203B733C0004D44E /* Frameworks */ = {
   1.455 +			isa = PBXGroup;
   1.456 +			children = (
   1.457 +				66E88E5B203B733C0004D44E /* Metal.framework */,
   1.458 +			);
   1.459 +			name = Frameworks;
   1.460 +			sourceTree = "<group>";
   1.461 +		};
   1.462  		DB166D8316A1D17E00A1396C /* SDL_Test */ = {
   1.463  			isa = PBXGroup;
   1.464  			children = (
   1.465 @@ -3247,6 +3352,7 @@
   1.466  			buildActionMask = 2147483647;
   1.467  			files = (
   1.468  				002F345409CA202000EBEB88 /* testoverlay2.c in Sources */,
   1.469 +				66E88E8B203B778F0004D44E /* testyuv_cvt.c in Sources */,
   1.470  			);
   1.471  			runOnlyForDeploymentPostprocessing = 0;
   1.472  		};