Debug.xcconfig 756 B

1234567891011121314151617181920212223242526272829303132
  1. //
  2. // Copyright (c) 2015-present, Parse, LLC.
  3. // Portions Copyright (c) 2017-present, Nikita Lutsenko
  4. //
  5. // All rights reserved.
  6. //
  7. // This source code is licensed under the BSD-style license found
  8. // in the LICENSE file in the root directory of this source tree.
  9. //
  10. #include "../Common.xcconfig"
  11. // Architectures
  12. ONLY_ACTIVE_ARCH = YES
  13. // Optimization
  14. GCC_OPTIMIZATION_LEVEL = 0
  15. SWIFT_OPTIMIZATION_LEVEL = -Onone
  16. // Preprocessor
  17. GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited)
  18. ENABLE_NS_ASSERTIONS = YES
  19. // Testability
  20. ENABLE_TESTABILITY = YES
  21. // Deployment
  22. COPY_PHASE_STRIP = NO
  23. SANITIZE_FLAGS = -fsanitize-undefined-trap-on-error -fsanitize=undefined-trap
  24. OTHER_CFLAGS = $(value) $(SANITIZE_FLAGS)
  25. OTHER_LDFLAGS = $(value) $(SANITIZE_FLAGS)