Configs/Environments/Configurations/Base/Debug.xcconfig
//
// Debug.xcconfig
//
#include "Common.xcconfig"
// Whether to strip debugging symbols when copying resources (like included
// binaries)
COPY_PHASE_STRIP = NO
// The optimization level (0, 1, 2, 3, s) for the produced binary
GCC_OPTIMIZATION_LEVEL = 0
// Preproccessor definitions to apply to each file compiled
GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1
// Allow @testable imports
ENABLE_TESTABILITY = YES
// Whether to enable link-time optimizations (such as inlining across translation
// units)
LLVM_LTO = NO
// Whether to only build the active architecture
ONLY_ACTIVE_ARCH = YES
// Other compiler flags
//
// These settings catch some errors in integer arithmetic
OTHER_CFLAGS = -ftrapv
// Other flags to pass to the Swift compiler
//
// This enables conditional compilation with #if DEBUG
OTHER_SWIFT_FLAGS = -D DEBUG
// Xcode 8 introduced a new flag for conditional compilation
//
// This enables conditional compilation with #if DEBUG
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG
// Whether to strip debugging symbols when copying the built product to its
// final installation location
STRIP_INSTALLED_PRODUCT = NO
// The optimization level (-Onone, -O, -Osize) for the produced Swift binary
SWIFT_OPTIMIZATION_LEVEL = -Onone
// Disable Developer ID timestamping
OTHER_CODE_SIGN_FLAGS = --timestamp=none