Fixed Xcode 10.1 warning by setting project setting 'ALWAYS_SEARCH_USER_PATHS = NO'
authorSean McBride <sean@rogue-research.com>
Thu, 7 Feb 2019 20:11:56 +0000 (15:11 -0500)
committerNathan Hjelm <hjelmn@me.com>
Fri, 5 Apr 2019 03:20:48 +0000 (21:20 -0600)
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>
Xcode/common.xcconfig
Xcode/libusb.xcodeproj/project.pbxproj
libusb/version_nano.h

index bb97789..2c7ff3c 100644 (file)
@@ -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
index 1d11cf8..25dfd64 100644 (file)
 /* Begin XCBuildConfiguration section */
                006AD4201C8C5A90007F8C6A /* Debug */ = {
                        isa = XCBuildConfiguration;
+                       baseConfigurationReference = 1443EE8516417E63007E0579 /* debug.xcconfig */;
                        buildSettings = {
                                PRODUCT_NAME = "$(TARGET_NAME)";
                        };
                };
                006AD4211C8C5A90007F8C6A /* Release */ = {
                        isa = XCBuildConfiguration;
+                       baseConfigurationReference = 1443EE8816417E63007E0579 /* release.xcconfig */;
                        buildSettings = {
                                PRODUCT_NAME = "$(TARGET_NAME)";
                        };
                };
                008FBF331628B79300BC5BE2 /* Debug */ = {
                        isa = XCBuildConfiguration;
+                       baseConfigurationReference = 1443EE8516417E63007E0579 /* debug.xcconfig */;
                        buildSettings = {
                        };
                        name = Debug;
                };
                008FBF341628B79300BC5BE2 /* Release */ = {
                        isa = XCBuildConfiguration;
+                       baseConfigurationReference = 1443EE8816417E63007E0579 /* release.xcconfig */;
                        buildSettings = {
                        };
                        name = Release;
index 0d6bc45..bc7fc4e 100644 (file)
@@ -1 +1 @@
-#define LIBUSB_NANO 11349
+#define LIBUSB_NANO 11350