Fixed bug 4324 - Xcode 10 - more cleanup for macOS and iOS projects
authorSam Lantinga <slouken@libsdl.org>
Thu, 18 Oct 2018 15:41:50 -0700
changeset 12341fa1df9b103d7
parent 12340 b1d9841b25c3
child 12342 7cec5c0510ae
Fixed bug 4324 - Xcode 10 - more cleanup for macOS and iOS projects

Dominik Reichardt

Xcode warns about
"Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO."
Just doing the latter is enough to silence the warning without ill effects on compiling. This affects the macOS Xcode projects as well as the iOS projects. Definitely not a bug but an annoying warning that could go away.
Xcode-iOS/Demos/Demos.xcodeproj/project.pbxproj
Xcode-iOS/SDL/SDL.xcodeproj/project.pbxproj
Xcode-iOS/Test/TestiPhoneOS.xcodeproj/project.pbxproj
Xcode/SDL/SDL.xcodeproj/project.pbxproj
Xcode/SDLTest/SDLTest.xcodeproj/project.pbxproj
     1.1 --- a/Xcode-iOS/Demos/Demos.xcodeproj/project.pbxproj	Thu Oct 18 15:40:39 2018 -0700
     1.2 +++ b/Xcode-iOS/Demos/Demos.xcodeproj/project.pbxproj	Thu Oct 18 15:41:50 2018 -0700
     1.3 @@ -991,6 +991,7 @@
     1.4  		C01FCF4F08A954540054247B /* Debug */ = {
     1.5  			isa = XCBuildConfiguration;
     1.6  			buildSettings = {
     1.7 +				ALWAYS_SEARCH_USER_PATHS = NO;
     1.8  				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
     1.9  				GCC_OPTIMIZATION_LEVEL = 0;
    1.10  				HEADER_SEARCH_PATHS = ../../include;
    1.11 @@ -1004,6 +1005,7 @@
    1.12  		C01FCF5008A954540054247B /* Release */ = {
    1.13  			isa = XCBuildConfiguration;
    1.14  			buildSettings = {
    1.15 +				ALWAYS_SEARCH_USER_PATHS = NO;
    1.16  				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
    1.17  				HEADER_SEARCH_PATHS = ../../include;
    1.18  				PRELINK_LIBS = "";
     2.1 --- a/Xcode-iOS/SDL/SDL.xcodeproj/project.pbxproj	Thu Oct 18 15:40:39 2018 -0700
     2.2 +++ b/Xcode-iOS/SDL/SDL.xcodeproj/project.pbxproj	Thu Oct 18 15:41:50 2018 -0700
     2.3 @@ -1973,6 +1973,7 @@
     2.4  		FD6526640DE8FCCB002AD96B /* Debug */ = {
     2.5  			isa = XCBuildConfiguration;
     2.6  			buildSettings = {
     2.7 +				ALWAYS_SEARCH_USER_PATHS = NO;
     2.8  				CLANG_ENABLE_OBJC_ARC = YES;
     2.9  				CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
    2.10  				CLANG_WARN_OBJC_IMPLICIT_ATOMIC_PROPERTIES = YES;
    2.11 @@ -1989,6 +1990,7 @@
    2.12  		FD6526650DE8FCCB002AD96B /* Release */ = {
    2.13  			isa = XCBuildConfiguration;
    2.14  			buildSettings = {
    2.15 +				ALWAYS_SEARCH_USER_PATHS = NO;
    2.16  				CLANG_ENABLE_OBJC_ARC = YES;
    2.17  				CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
    2.18  				CLANG_WARN_OBJC_IMPLICIT_ATOMIC_PROPERTIES = YES;
     3.1 --- a/Xcode-iOS/Test/TestiPhoneOS.xcodeproj/project.pbxproj	Thu Oct 18 15:40:39 2018 -0700
     3.2 +++ b/Xcode-iOS/Test/TestiPhoneOS.xcodeproj/project.pbxproj	Thu Oct 18 15:41:50 2018 -0700
     3.3 @@ -2384,6 +2384,7 @@
     3.4  		C01FCF4F08A954540054247B /* Debug */ = {
     3.5  			isa = XCBuildConfiguration;
     3.6  			buildSettings = {
     3.7 +				ALWAYS_SEARCH_USER_PATHS = NO;
     3.8  				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
     3.9  				ENABLE_BITCODE = NO;
    3.10  				GCC_OPTIMIZATION_LEVEL = 0;
    3.11 @@ -2400,6 +2401,7 @@
    3.12  		C01FCF5008A954540054247B /* Release */ = {
    3.13  			isa = XCBuildConfiguration;
    3.14  			buildSettings = {
    3.15 +				ALWAYS_SEARCH_USER_PATHS = NO;
    3.16  				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
    3.17  				ENABLE_BITCODE = NO;
    3.18  				HEADER_SEARCH_PATHS = ../../include;
     4.1 --- a/Xcode/SDL/SDL.xcodeproj/project.pbxproj	Thu Oct 18 15:40:39 2018 -0700
     4.2 +++ b/Xcode/SDL/SDL.xcodeproj/project.pbxproj	Thu Oct 18 15:41:50 2018 -0700
     4.3 @@ -3107,6 +3107,7 @@
     4.4  		00CFA621106A567900758660 /* Release */ = {
     4.5  			isa = XCBuildConfiguration;
     4.6  			buildSettings = {
     4.7 +				ALWAYS_SEARCH_USER_PATHS = NO;
     4.8  				CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
     4.9  				CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
    4.10  				CLANG_WARN_BOOL_CONVERSION = YES;
    4.11 @@ -3155,6 +3156,7 @@
    4.12  		00CFA622106A567900758660 /* Release */ = {
    4.13  			isa = XCBuildConfiguration;
    4.14  			buildSettings = {
    4.15 +				ALWAYS_SEARCH_USER_PATHS = NO;
    4.16  				CLANG_LINK_OBJC_RUNTIME = NO;
    4.17  				COMBINE_HIDPI_IMAGES = YES;
    4.18  				DYLIB_COMPATIBILITY_VERSION = 1.0.0;
    4.19 @@ -3177,6 +3179,7 @@
    4.20  		00CFA623106A567900758660 /* Release */ = {
    4.21  			isa = XCBuildConfiguration;
    4.22  			buildSettings = {
    4.23 +				ALWAYS_SEARCH_USER_PATHS = NO;
    4.24  				COMBINE_HIDPI_IMAGES = YES;
    4.25  				GCC_PREPROCESSOR_DEFINITIONS = (
    4.26  					"$(GCC_PREPROCESSOR_DEFINITIONS)",
    4.27 @@ -3194,6 +3197,7 @@
    4.28  		00CFA625106A567900758660 /* Release */ = {
    4.29  			isa = XCBuildConfiguration;
    4.30  			buildSettings = {
    4.31 +				ALWAYS_SEARCH_USER_PATHS = NO;
    4.32  				PRODUCT_NAME = "Standard DMG";
    4.33  				PROVISIONING_PROFILE = "";
    4.34  			};
    4.35 @@ -3202,6 +3206,7 @@
    4.36  		00CFA627106A568900758660 /* Debug */ = {
    4.37  			isa = XCBuildConfiguration;
    4.38  			buildSettings = {
    4.39 +				ALWAYS_SEARCH_USER_PATHS = NO;
    4.40  				CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
    4.41  				CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
    4.42  				CLANG_WARN_BOOL_CONVERSION = YES;
    4.43 @@ -3250,6 +3255,7 @@
    4.44  		00CFA628106A568900758660 /* Debug */ = {
    4.45  			isa = XCBuildConfiguration;
    4.46  			buildSettings = {
    4.47 +				ALWAYS_SEARCH_USER_PATHS = NO;
    4.48  				CLANG_LINK_OBJC_RUNTIME = NO;
    4.49  				COMBINE_HIDPI_IMAGES = YES;
    4.50  				DYLIB_COMPATIBILITY_VERSION = 1.0.0;
    4.51 @@ -3272,6 +3278,7 @@
    4.52  		00CFA629106A568900758660 /* Debug */ = {
    4.53  			isa = XCBuildConfiguration;
    4.54  			buildSettings = {
    4.55 +				ALWAYS_SEARCH_USER_PATHS = NO;
    4.56  				COMBINE_HIDPI_IMAGES = YES;
    4.57  				GCC_PREPROCESSOR_DEFINITIONS = (
    4.58  					"$(GCC_PREPROCESSOR_DEFINITIONS)",
    4.59 @@ -3289,6 +3296,7 @@
    4.60  		00CFA62B106A568900758660 /* Debug */ = {
    4.61  			isa = XCBuildConfiguration;
    4.62  			buildSettings = {
    4.63 +				ALWAYS_SEARCH_USER_PATHS = NO;
    4.64  				PRODUCT_NAME = "Standard DMG";
    4.65  				PROVISIONING_PROFILE = "";
    4.66  			};
    4.67 @@ -3297,6 +3305,7 @@
    4.68  		DB31407517554B71006C0E22 /* Debug */ = {
    4.69  			isa = XCBuildConfiguration;
    4.70  			buildSettings = {
    4.71 +				ALWAYS_SEARCH_USER_PATHS = NO;
    4.72  				COMBINE_HIDPI_IMAGES = YES;
    4.73  				EXECUTABLE_PREFIX = lib;
    4.74  				GCC_PREPROCESSOR_DEFINITIONS = (
    4.75 @@ -3316,6 +3325,7 @@
    4.76  		DB31407617554B71006C0E22 /* Release */ = {
    4.77  			isa = XCBuildConfiguration;
    4.78  			buildSettings = {
    4.79 +				ALWAYS_SEARCH_USER_PATHS = NO;
    4.80  				COMBINE_HIDPI_IMAGES = YES;
    4.81  				EXECUTABLE_PREFIX = lib;
    4.82  				GCC_PREPROCESSOR_DEFINITIONS = (
     5.1 --- a/Xcode/SDLTest/SDLTest.xcodeproj/project.pbxproj	Thu Oct 18 15:40:39 2018 -0700
     5.2 +++ b/Xcode/SDLTest/SDLTest.xcodeproj/project.pbxproj	Thu Oct 18 15:41:50 2018 -0700
     5.3 @@ -4040,6 +4040,7 @@
     5.4  		002A85B21073008E007319AE /* Debug */ = {
     5.5  			isa = XCBuildConfiguration;
     5.6  			buildSettings = {
     5.7 +				ALWAYS_SEARCH_USER_PATHS = NO;
     5.8  				FRAMEWORK_SEARCH_PATHS = (
     5.9  					"$(SRCROOT)/../SDL/build/$(CONFIGURATION)",
    5.10  					"$(HOME)/Library/Frameworks",
    5.11 @@ -4166,6 +4167,7 @@
    5.12  		002A85D41073009D007319AE /* Release */ = {
    5.13  			isa = XCBuildConfiguration;
    5.14  			buildSettings = {
    5.15 +				ALWAYS_SEARCH_USER_PATHS = NO;
    5.16  				FRAMEWORK_SEARCH_PATHS = (
    5.17  					"$(SRCROOT)/../SDL/build/$(CONFIGURATION)",
    5.18  					"$(HOME)/Library/Frameworks",