Merge pull request #2652 from dreampiggy/bugfix_xcconfig_xcode_10_2

Fix the issue cause build failure for Xcode 10.2
This commit is contained in:
DreamPiggy 2019-03-28 15:10:36 +08:00 committed by GitHub
commit d9c8ba6da2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 15 additions and 11 deletions

View File

@ -109,11 +109,6 @@ DYLIB_CURRENT_VERSION = 1
// Sets the base value for the internal `install path` (`LC_ID_DYLIB`) in a dynamic library. This will be combined with the `EXECUTABLE_PATH` to form the full install path.
DYLIB_INSTALL_NAME_BASE = @rpath
// Activating this setting indicates that the target or project should generate bitcode during compilation for platforms and architectures that support it. For Archive builds, bitcode will be generated in the linked binary for submission to the App Store. For other builds, the compiler and linker will check whether the code complies with the requirements for bitcode generation, but will not generate actual bitcode.
ENABLE_BITCODE = YES
// Mac OS X does not support bitcode.
ENABLE_BITCODE[sdk=macosx*] = NO
// Controls whether `objc_msgSend` calls must be cast to the appropriate function pointer type before being called.
ENABLE_STRICT_OBJC_MSGSEND = YES

View File

@ -3,3 +3,6 @@
#include "Module-Debug.xcconfig"
#include "Test-Shared.xcconfig"
// If enabled, only the active architecture is built.
ONLY_ACTIVE_ARCH = YES

View File

@ -3,3 +3,9 @@
#include "Module-Release.xcconfig"
#include "Test-Shared.xcconfig"
// If enabled, only the active architecture is built.
ONLY_ACTIVE_ARCH = NO
// Space-separated list of additional flags to pass to the compiler for C and Objective-C files. Be sure to backslash-escape any arguments that contain spaces or special characters, such as path names that may contain spaces. Use this setting if Xcode does not already provide UI for a particular C or Objective-C compiler flag.
OTHER_CFLAGS = -DNS_BLOCK_ASSERTIONS=1

View File

@ -557,7 +557,7 @@
};
buildConfigurationList = 5376128F155AB74D005750A4 /* Build configuration list for PBXProject "SDWebImage Demo" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,

View File

@ -923,10 +923,11 @@
};
buildConfigurationList = 53922D69148C55810056699D /* Build configuration list for PBXProject "SDWebImage" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 53922D64148C55810056699D;
productRefGroup = 53922D70148C55820056699D /* Products */;

View File

@ -2,7 +2,7 @@
<Workspace
version = "1.0">
<FileRef
location = "group:Examples/../SDWebImage.xcodeproj">
location = "group:SDWebImage.xcodeproj">
</FileRef>
<FileRef
location = "group:Examples/SDWebImage Demo.xcodeproj">

View File

@ -327,10 +327,11 @@
};
buildConfigurationList = DA248D491954721A00390AB0 /* Build configuration list for PBXProject "SDWebImage Tests" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = DA248D451954721A00390AB0;
productRefGroup = DA248D54195472AA00390AB0 /* Products */;
@ -534,7 +535,6 @@
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_STYLE = Manual;
DEVELOPMENT_TEAM = "";
ENABLE_BITCODE = NO;
INFOPLIST_FILE = "Tests Mac/Info.plist";
PROVISIONING_PROFILE_SPECIFIER = "";
SDKROOT = macosx;
@ -550,7 +550,6 @@
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_STYLE = Manual;
DEVELOPMENT_TEAM = "";
ENABLE_BITCODE = NO;
INFOPLIST_FILE = "Tests Mac/Info.plist";
PROVISIONING_PROFILE_SPECIFIER = "";
SDKROOT = macosx;