mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-26 04:57:54 +00:00
Define DEBUG=0 for release builds
This commit is contained in:
1 parent
4825ac5d62
commit
89ecb88f2b
2 files changed
+2
-2
No files matched your search
@@ -11,7 +11,7 @@ CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
||||
GCC_OPTIMIZATION_LEVEL = s
|
||||
DEBUG_INFORMATION_FORMAT = dwarf-with-dsym
|
||||
GCC_GENERATE_DEBUGGING_SYMBOLS = YES
|
||||
GCC_PREPROCESSOR_DEFINITIONS = $(GCC_PREPROCESSOR_DEFINITIONS_COMMON)
|
||||
GCC_PREPROCESSOR_DEFINITIONS = $(GCC_PREPROCESSOR_DEFINITIONS_COMMON) DEBUG=0
|
||||
DEAD_CODE_STRIPPING = YES
|
||||
GCC_TREAT_WARNINGS_AS_ERRORS = NO
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES
|
||||
|
||||
@@ -53,7 +53,7 @@ static NSString * const UPDATED_VERSION = @"2.0";
|
||||
// Apple's file manager may not work well over the network (on macOS 10.11.4 as of writing this), but at the same time
|
||||
// I don't want to have to export SUFileManager in release mode. The test app is primarily
|
||||
// aimed to be used in debug mode, so I think this is a good compromise
|
||||
#ifdef DEBUG
|
||||
#if DEBUG
|
||||
SUFileManager *fileManager = [[SUFileManager alloc] init];
|
||||
#else
|
||||
NSFileManager *fileManager = [NSFileManager defaultManager];
|
||||
|
||||
Reference in new issue
Block a user