From 0aeb46c3dd96e0e6c01a169414a6ba5f34d9ea18 Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Thu, 7 Feb 2019 15:11:56 -0500 Subject: Fixed Xcode 10.1 warning by setting project setting 'ALWAYS_SEARCH_USER_PATHS = NO' The warning was: "Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO." Also made sure all targets are referencing the xcconfig files. Closes #532 Signed-off-by: Nathan Hjelm --- Xcode/common.xcconfig | 3 +++ Xcode/libusb.xcodeproj/project.pbxproj | 4 ++++ libusb/version_nano.h | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Xcode/common.xcconfig b/Xcode/common.xcconfig index bb97789..2c7ff3c 100644 --- a/Xcode/common.xcconfig +++ b/Xcode/common.xcconfig @@ -23,6 +23,9 @@ GCC_STRICT_ALIASING = NO // Use C99 dialect. GCC_C_LANGUAGE_STANDARD = c99 +// Don't search user paths with <> style #includes. +ALWAYS_SEARCH_USER_PATHS = NO + // Compiler warnings. GCC_WARN_64_TO_32_BIT_CONVERSION = YES GCC_WARN_ABOUT_RETURN_TYPE = YES diff --git a/Xcode/libusb.xcodeproj/project.pbxproj b/Xcode/libusb.xcodeproj/project.pbxproj index 1d11cf8..25dfd64 100644 --- a/Xcode/libusb.xcodeproj/project.pbxproj +++ b/Xcode/libusb.xcodeproj/project.pbxproj @@ -734,6 +734,7 @@ /* Begin XCBuildConfiguration section */ 006AD4201C8C5A90007F8C6A /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 1443EE8516417E63007E0579 /* debug.xcconfig */; buildSettings = { PRODUCT_NAME = "$(TARGET_NAME)"; }; @@ -741,6 +742,7 @@ }; 006AD4211C8C5A90007F8C6A /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 1443EE8816417E63007E0579 /* release.xcconfig */; buildSettings = { PRODUCT_NAME = "$(TARGET_NAME)"; }; @@ -748,12 +750,14 @@ }; 008FBF331628B79300BC5BE2 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 1443EE8516417E63007E0579 /* debug.xcconfig */; buildSettings = { }; name = Debug; }; 008FBF341628B79300BC5BE2 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 1443EE8816417E63007E0579 /* release.xcconfig */; buildSettings = { }; name = Release; diff --git a/libusb/version_nano.h b/libusb/version_nano.h index 0d6bc45..bc7fc4e 100644 --- a/libusb/version_nano.h +++ b/libusb/version_nano.h @@ -1 +1 @@ -#define LIBUSB_NANO 11349 +#define LIBUSB_NANO 11350 -- cgit v1.2.1