Fix the issue cause build failure for Xcode 10.2.

Fix the wrong relative path of SDWebImage.xcodeproj
Fix the wrong xcconfig using ENABLE_BITCODE on debug configuration
This commit is contained in:
DreamPiggy 2019-03-26 17:36:35 +08:00
parent 6621f6a37d
commit b09da860b9
6 changed files with 19 additions and 3 deletions

View File

@ -6,3 +6,6 @@
// If enabled, only the active architecture is built. // If enabled, only the active architecture is built.
ONLY_ACTIVE_ARCH = YES ONLY_ACTIVE_ARCH = YES
// 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 = NO

View File

@ -15,6 +15,9 @@ ENABLE_NS_ASSERTIONS = YES
// When this setting is activated, the product will be built with options appropriate for running automated tests, such as making private interfaces accessible to the tests. // When this setting is activated, the product will be built with options appropriate for running automated tests, such as making private interfaces accessible to the tests.
ENABLE_TESTABILITY = YES ENABLE_TESTABILITY = YES
// 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 = NO
// Specifies the degree to which the generated code is optimized for speed and binary size. // Specifies the degree to which the generated code is optimized for speed and binary size.
GCC_OPTIMIZATION_LEVEL = 0 GCC_OPTIMIZATION_LEVEL = 0

View File

@ -3,3 +3,9 @@
#include "Module-Debug.xcconfig" #include "Module-Debug.xcconfig"
#include "Test-Shared.xcconfig" #include "Test-Shared.xcconfig"
// If enabled, only the active architecture is built.
ONLY_ACTIVE_ARCH = YES
// 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 = NO

View File

@ -3,3 +3,9 @@
#include "Module-Release.xcconfig" #include "Module-Release.xcconfig"
#include "Test-Shared.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

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

View File

@ -534,7 +534,6 @@
CODE_SIGN_IDENTITY = "-"; CODE_SIGN_IDENTITY = "-";
CODE_SIGN_STYLE = Manual; CODE_SIGN_STYLE = Manual;
DEVELOPMENT_TEAM = ""; DEVELOPMENT_TEAM = "";
ENABLE_BITCODE = NO;
INFOPLIST_FILE = "Tests Mac/Info.plist"; INFOPLIST_FILE = "Tests Mac/Info.plist";
PROVISIONING_PROFILE_SPECIFIER = ""; PROVISIONING_PROFILE_SPECIFIER = "";
SDKROOT = macosx; SDKROOT = macosx;
@ -550,7 +549,6 @@
CODE_SIGN_IDENTITY = "-"; CODE_SIGN_IDENTITY = "-";
CODE_SIGN_STYLE = Manual; CODE_SIGN_STYLE = Manual;
DEVELOPMENT_TEAM = ""; DEVELOPMENT_TEAM = "";
ENABLE_BITCODE = NO;
INFOPLIST_FILE = "Tests Mac/Info.plist"; INFOPLIST_FILE = "Tests Mac/Info.plist";
PROVISIONING_PROFILE_SPECIFIER = ""; PROVISIONING_PROFILE_SPECIFIER = "";
SDKROOT = macosx; SDKROOT = macosx;