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 <hjelmn@me.com>
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 @@ // 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