|
30 | 30 | isa = PBXCopyFilesBuildPhase;
|
31 | 31 | buildActionMask = 2147483647;
|
32 | 32 | dstPath = "";
|
33 |
| - dstSubfolderSpec = 10; |
| 33 | + dstSubfolderSpec = 16; |
34 | 34 | files = (
|
35 | 35 | AA9EE79A14B2C593008773C0 /* FreeType.framework in Copy Frameworks */,
|
36 | 36 | );
|
|
41 | 41 |
|
42 | 42 | /* Begin PBXFileReference section */
|
43 | 43 | 1014BAEA010A4B677F000001 /* SDL_ttf.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_ttf.h; path = ../SDL_ttf.h; sourceTree = SOURCE_ROOT; };
|
44 |
| - AA9EE79814B2C589008773C0 /* FreeType.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = FreeType.framework; path = Frameworks/FreeType.framework; sourceTree = "<group>"; }; |
| 44 | + AA9EE79814B2C589008773C0 /* FreeType.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = FreeType.framework; sourceTree = "<group>"; }; |
45 | 45 | BE48FD6607AFA17000BB41DA /* Info-Framework.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Info-Framework.plist"; sourceTree = "<group>"; };
|
46 | 46 | BE48FD6707AFA17000BB41DA /* SDL2_ttf.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SDL2_ttf.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
47 | 47 | BE48FD6E07AFA17000BB41DA /* libSDL2_ttf.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libSDL2_ttf.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
48 | 48 | BE48FD7207AFA17000BB41DA /* Create DMG */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "Create DMG"; sourceTree = BUILT_PRODUCTS_DIR; };
|
49 |
| - BE48FD8307AFA29000BB41DA /* SDL2.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SDL2.framework; path = /Library/Frameworks/SDL2.framework; sourceTree = "<absolute>"; }; |
| 49 | + BE48FD8307AFA29000BB41DA /* SDL2.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = SDL2.framework; sourceTree = "<group>"; }; |
50 | 50 | F567D67A01CD962A01F3E8B9 /* SDL_ttf.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = SDL_ttf.c; path = ../SDL_ttf.c; sourceTree = SOURCE_ROOT; };
|
51 | 51 | F59C710300D5CB5801000001 /* ReadMe.txt */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = ReadMe.txt; sourceTree = "<group>"; };
|
52 | 52 | F59C710400D5CB5801000001 /* Welcome.txt */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = Welcome.txt; sourceTree = "<group>"; };
|
|
120 | 120 | name = "Library Source";
|
121 | 121 | sourceTree = "<group>";
|
122 | 122 | };
|
| 123 | + A75FDAE023E3493000529352 /* macOS */ = { |
| 124 | + isa = PBXGroup; |
| 125 | + children = ( |
| 126 | + AA9EE79814B2C589008773C0 /* FreeType.framework */, |
| 127 | + BE48FD8307AFA29000BB41DA /* SDL2.framework */, |
| 128 | + ); |
| 129 | + path = macOS; |
| 130 | + sourceTree = "<group>"; |
| 131 | + }; |
| 132 | + A75FDAE123E3496200529352 /* iOS */ = { |
| 133 | + isa = PBXGroup; |
| 134 | + children = ( |
| 135 | + ); |
| 136 | + name = iOS; |
| 137 | + sourceTree = "<group>"; |
| 138 | + }; |
| 139 | + A75FDAE223E3496700529352 /* tvOS */ = { |
| 140 | + isa = PBXGroup; |
| 141 | + children = ( |
| 142 | + ); |
| 143 | + name = tvOS; |
| 144 | + sourceTree = "<group>"; |
| 145 | + }; |
123 | 146 | BE48FD8107AFA26B00BB41DA /* Frameworks */ = {
|
124 | 147 | isa = PBXGroup;
|
125 | 148 | children = (
|
|
131 | 154 | BE48FD8207AFA27300BB41DA /* Linked Frameworks */ = {
|
132 | 155 | isa = PBXGroup;
|
133 | 156 | children = (
|
134 |
| - AA9EE79814B2C589008773C0 /* FreeType.framework */, |
135 |
| - BE48FD8307AFA29000BB41DA /* SDL2.framework */, |
| 157 | + A75FDAE223E3496700529352 /* tvOS */, |
| 158 | + A75FDAE123E3496200529352 /* iOS */, |
| 159 | + A75FDAE023E3493000529352 /* macOS */, |
136 | 160 | );
|
137 | 161 | name = "Linked Frameworks";
|
138 | 162 | sourceTree = "<group>";
|
|
186 | 210 | BE48FD6307AFA17000BB41DA /* Frameworks */,
|
187 | 211 | BE48FD6407AFA17000BB41DA /* Rez */,
|
188 | 212 | AA9EE79714B2C55E008773C0 /* Copy Frameworks */,
|
189 |
| - AA9EE79B14B2C59B008773C0 /* Create Frameworks symlink */, |
190 | 213 | AA9EE79C14B2C5D0008773C0 /* Convert SDL includes to SDL Framework includes */,
|
191 | 214 | );
|
192 | 215 | buildRules = (
|
|
292 | 315 | /* End PBXRezBuildPhase section */
|
293 | 316 |
|
294 | 317 | /* Begin PBXShellScriptBuildPhase section */
|
295 |
| - AA9EE79B14B2C59B008773C0 /* Create Frameworks symlink */ = { |
296 |
| - isa = PBXShellScriptBuildPhase; |
297 |
| - buildActionMask = 2147483647; |
298 |
| - files = ( |
299 |
| - ); |
300 |
| - inputPaths = ( |
301 |
| - ); |
302 |
| - name = "Create Frameworks symlink"; |
303 |
| - outputPaths = ( |
304 |
| - ); |
305 |
| - runOnlyForDeploymentPostprocessing = 0; |
306 |
| - shellPath = /bin/sh; |
307 |
| - shellScript = "cd $SYMROOT/$CONFIGURATION/$FULL_PRODUCT_NAME\nif ! [ -L Frameworks ]; then\n rm -f Frameworks\n ln -s Versions/Current/Frameworks Frameworks\nfi"; |
308 |
| - }; |
309 | 318 | AA9EE79C14B2C5D0008773C0 /* Convert SDL includes to SDL Framework includes */ = {
|
310 | 319 | isa = PBXShellScriptBuildPhase;
|
311 | 320 | buildActionMask = 2147483647;
|
|
318 | 327 | );
|
319 | 328 | runOnlyForDeploymentPostprocessing = 0;
|
320 | 329 | shellPath = /bin/sh;
|
321 |
| - shellScript = "cd $SYMROOT/$CONFIGURATION/$PUBLIC_HEADERS_FOLDER_PATH\nHEADER=SDL_ttf.h\nsed 's,#include \"\\(.*\\)\",#include <SDL2/\\1>,' <$HEADER >$HEADER.new\nmv $HEADER.new $HEADER"; |
| 330 | + shellScript = "cd $SYMROOT/$CONFIGURATION/$PUBLIC_HEADERS_FOLDER_PATH\nHEADER=SDL_ttf.h\nsed 's,#include \"\\(.*\\)\",#include <SDL2/\\1>,' <$HEADER >$HEADER.new\nmv $HEADER.new $HEADER\n"; |
322 | 331 | };
|
323 | 332 | BE48FD7107AFA17000BB41DA /* ShellScript */ = {
|
324 | 333 | isa = PBXShellScriptBuildPhase;
|
|
327 | 336 | );
|
328 | 337 | runOnlyForDeploymentPostprocessing = 0;
|
329 | 338 | shellPath = /bin/sh;
|
330 |
| - shellScript = "PRODUCT_NAME=SDL2_ttf\n\n# Sign framework\nif [ \"$SDL_CODESIGN_IDENTITY\" != \"\" ]; then\n codesign --force --deep --sign \"$SDL_CODESIGN_IDENTITY\" $TARGET_BUILD_DIR/$PRODUCT_NAME.framework/Versions/A || exit $?\nfi\n\n# clean up the framework, remove headers, extra files\nmkdir -p build/dmg-tmp\ncp -a $TARGET_BUILD_DIR/$PRODUCT_NAME.framework build/dmg-tmp/\ncp pkg-support/resources/ReadMe.txt build/dmg-tmp\n\n# remove the .DS_Store files if any (we may want to provide one in the future for fancy .dmgs)\nrm -rf build/dmg-tmp/.DS_Store\n\n# create the dmg\nhdiutil create -ov -fs HFS+ -volname $PRODUCT_NAME -srcfolder build/dmg-tmp build/$PRODUCT_NAME.dmg\n\n# clean up\nrm -rf build/dmg-tmp\n"; |
| 339 | + shellScript = "PRODUCT_NAME=SDL2_ttf\n\n# Sign framework\nif [ \"$SDL_CODESIGN_IDENTITY\" != \"\" ]; then\n codesign --force --sign \"$SDL_CODESIGN_IDENTITY\" $TARGET_BUILD_DIR/$PRODUCT_NAME.framework/Versions/A || exit $?\n codesign --force --sign \"$SDL_CODESIGN_IDENTITY\" $TARGET_BUILD_DIR/FreeType.framework/Versions/A || exit $?\nfi\n\n# clean up the framework, remove headers, extra files\nmkdir -p build/dmg-tmp\ncp -a $TARGET_BUILD_DIR/*.framework build/dmg-tmp/\ncp pkg-support/resources/ReadMe.txt build/dmg-tmp\n\n# remove the .DS_Store files if any (we may want to provide one in the future for fancy .dmgs)\nrm -rf build/dmg-tmp/.DS_Store\n\n# create the dmg\nhdiutil create -ov -fs HFS+ -volname $PRODUCT_NAME -srcfolder build/dmg-tmp build/$PRODUCT_NAME.dmg\n\n# clean up\nrm -rf build/dmg-tmp\n"; |
331 | 340 | };
|
332 | 341 | /* End PBXShellScriptBuildPhase section */
|
333 | 342 |
|
|
362 | 371 | 00B7E1EA097E26C600826121 /* Debug */ = {
|
363 | 372 | isa = XCBuildConfiguration;
|
364 | 373 | buildSettings = {
|
365 |
| - COMBINE_HIDPI_IMAGES = YES; |
366 | 374 | DYLIB_COMPATIBILITY_VERSION = 15.0.0;
|
367 | 375 | DYLIB_CURRENT_VERSION = 15.1.0;
|
368 | 376 | FRAMEWORK_VERSION = A;
|
369 | 377 | INFOPLIST_FILE = "Info-Framework.plist";
|
370 | 378 | INSTALL_PATH = "@rpath";
|
371 |
| - LD_RUNPATH_SEARCH_PATHS = "@loader_path/Frameworks"; |
372 |
| - MACOSX_DEPLOYMENT_TARGET = 10.6; |
373 |
| - OTHER_CFLAGS = ""; |
374 | 379 | WRAPPER_EXTENSION = framework;
|
375 | 380 | };
|
376 | 381 | name = Debug;
|
377 | 382 | };
|
378 | 383 | 00B7E1EB097E26C600826121 /* Release */ = {
|
379 | 384 | isa = XCBuildConfiguration;
|
380 | 385 | buildSettings = {
|
381 |
| - COMBINE_HIDPI_IMAGES = YES; |
382 | 386 | DYLIB_COMPATIBILITY_VERSION = 15.0.0;
|
383 | 387 | DYLIB_CURRENT_VERSION = 15.1.0;
|
384 | 388 | FRAMEWORK_VERSION = A;
|
385 | 389 | INFOPLIST_FILE = "Info-Framework.plist";
|
386 | 390 | INSTALL_PATH = "@rpath";
|
387 |
| - LD_RUNPATH_SEARCH_PATHS = "@loader_path/Frameworks"; |
388 |
| - MACOSX_DEPLOYMENT_TARGET = 10.6; |
389 |
| - OTHER_CFLAGS = ""; |
390 | 391 | WRAPPER_EXTENSION = framework;
|
391 | 392 | };
|
392 | 393 | name = Release;
|
393 | 394 | };
|
394 | 395 | 00B7E1EE097E26C600826121 /* Debug */ = {
|
395 | 396 | isa = XCBuildConfiguration;
|
396 | 397 | buildSettings = {
|
397 |
| - COMBINE_HIDPI_IMAGES = YES; |
398 |
| - DYLIB_COMPATIBILITY_VERSION = 1; |
399 |
| - DYLIB_CURRENT_VERSION = 1; |
400 | 398 | LIBRARY_STYLE = STATIC;
|
401 |
| - OTHER_LIBTOOL_FLAGS = ""; |
402 |
| - OTHER_REZFLAGS = ""; |
403 |
| - REZ_EXECUTABLE = YES; |
404 |
| - SKIP_INSTALL = YES; |
405 | 399 | };
|
406 | 400 | name = Debug;
|
407 | 401 | };
|
408 | 402 | 00B7E1EF097E26C600826121 /* Release */ = {
|
409 | 403 | isa = XCBuildConfiguration;
|
410 | 404 | buildSettings = {
|
411 |
| - COMBINE_HIDPI_IMAGES = YES; |
412 |
| - DYLIB_COMPATIBILITY_VERSION = 1; |
413 |
| - DYLIB_CURRENT_VERSION = 1; |
414 | 405 | LIBRARY_STYLE = STATIC;
|
415 |
| - OTHER_LIBTOOL_FLAGS = ""; |
416 |
| - OTHER_REZFLAGS = ""; |
417 |
| - REZ_EXECUTABLE = YES; |
418 |
| - SKIP_INSTALL = YES; |
419 | 406 | };
|
420 | 407 | name = Release;
|
421 | 408 | };
|
|
461 | 448 | 00B7E1F6097E26C600826121 /* Debug */ = {
|
462 | 449 | isa = XCBuildConfiguration;
|
463 | 450 | buildSettings = {
|
464 |
| - FRAMEWORK_SEARCH_PATHS = ( |
465 |
| - "$(FRAMEWORK_SEARCH_PATHS_QUOTED)", |
466 |
| - "$(HOME)/Library/Frameworks", |
467 |
| - /Library/Frameworks, |
468 |
| - ); |
469 |
| - FRAMEWORK_SEARCH_PATHS_QUOTED = "\"$(SRCROOT)/Frameworks\""; |
| 451 | + COPY_PHASE_STRIP = NO; |
| 452 | + "FRAMEWORK_SEARCH_PATHS[sdk=macosx*]" = "\"$(SRCROOT)/macOS\""; |
470 | 453 | GCC_OPTIMIZATION_LEVEL = 0;
|
471 | 454 | GCC_SYMBOLS_PRIVATE_EXTERN = YES;
|
472 |
| - HEADER_SEARCH_PATHS = ( |
473 |
| - "$(HEADER_SEARCH_PATHS_QUOTED)", |
474 |
| - "$(HOME)/Library/Frameworks/SDL2.framework/Headers", |
475 |
| - /Library/Frameworks/SDL2.framework/Headers, |
| 455 | + "HEADER_SEARCH_PATHS[sdk=macosx*]" = ( |
| 456 | + "\"$(SRCROOT)/macOS/SDL2.framework/Headers\"", |
| 457 | + "\"$(SRCROOT)/macOS/FreeType.framework/Headers\"", |
476 | 458 | );
|
477 |
| - HEADER_SEARCH_PATHS_QUOTED = "\"$(SRCROOT)/Frameworks/FreeType.framework/Headers\""; |
478 |
| - MACOSX_DEPLOYMENT_TARGET = 10.5; |
| 459 | + IPHONEOS_DEPLOYMENT_TARGET = 8.0; |
| 460 | + MACOSX_DEPLOYMENT_TARGET = 10.6; |
479 | 461 | ONLY_ACTIVE_ARCH = YES;
|
| 462 | + PRODUCT_BUNDLE_IDENTIFIER = "org.libsdl.SDL2-ttf"; |
480 | 463 | PRODUCT_NAME = SDL2_ttf;
|
481 |
| - SDKROOT = macosx; |
| 464 | + TVOS_DEPLOYMENT_TARGET = 9.0; |
482 | 465 | };
|
483 | 466 | name = Debug;
|
484 | 467 | };
|
485 | 468 | 00B7E1F7097E26C600826121 /* Release */ = {
|
486 | 469 | isa = XCBuildConfiguration;
|
487 | 470 | buildSettings = {
|
488 | 471 | DEPLOYMENT_POSTPROCESSING = YES;
|
489 |
| - FRAMEWORK_SEARCH_PATHS = ( |
490 |
| - "$(FRAMEWORK_SEARCH_PATHS_QUOTED)", |
491 |
| - "$(HOME)/Library/Frameworks", |
492 |
| - /Library/Frameworks, |
493 |
| - ); |
494 |
| - FRAMEWORK_SEARCH_PATHS_QUOTED = "\"$(SRCROOT)/Frameworks\""; |
| 472 | + "FRAMEWORK_SEARCH_PATHS[sdk=macosx*]" = "\"$(SRCROOT)/macOS\""; |
495 | 473 | GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
496 | 474 | GCC_SYMBOLS_PRIVATE_EXTERN = YES;
|
497 |
| - HEADER_SEARCH_PATHS = ( |
498 |
| - "$(HEADER_SEARCH_PATHS_QUOTED)", |
499 |
| - "$(HOME)/Library/Frameworks/SDL2.framework/Headers", |
500 |
| - /Library/Frameworks/SDL2.framework/Headers, |
| 475 | + "HEADER_SEARCH_PATHS[sdk=macosx*]" = ( |
| 476 | + "\"$(SRCROOT)/macOS/SDL2.framework/Headers\"", |
| 477 | + "\"$(SRCROOT)/macOS/FreeType.framework/Headers\"", |
501 | 478 | );
|
502 |
| - HEADER_SEARCH_PATHS_QUOTED = "\"$(SRCROOT)/Frameworks/FreeType.framework/Headers\""; |
503 |
| - MACOSX_DEPLOYMENT_TARGET = 10.5; |
| 479 | + IPHONEOS_DEPLOYMENT_TARGET = 8.0; |
| 480 | + MACOSX_DEPLOYMENT_TARGET = 10.6; |
| 481 | + PRODUCT_BUNDLE_IDENTIFIER = "org.libsdl.SDL2-ttf"; |
504 | 482 | PRODUCT_NAME = SDL2_ttf;
|
505 |
| - SDKROOT = macosx; |
506 |
| - SEPARATE_STRIP = YES; |
507 |
| - STRIP_STYLE = "non-global"; |
| 483 | + TVOS_DEPLOYMENT_TARGET = 9.0; |
508 | 484 | };
|
509 | 485 | name = Release;
|
510 | 486 | };
|
|
0 commit comments