Debug.xcconfig 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. //
  2. // This file defines the base configuration for a Debug build of any project.
  3. // This should be set at the project level for the Debug configuration.
  4. //
  5. #include "../Common.xcconfig"
  6. // Whether to strip debugging symbols when copying resources (like included
  7. // binaries)
  8. COPY_PHASE_STRIP = NO
  9. // The optimization level (0, 1, 2, 3, s) for the produced binary
  10. GCC_OPTIMIZATION_LEVEL = 0
  11. // Preproccessor definitions to apply to each file compiled
  12. GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1
  13. // Whether to enable link-time optimizations (such as inlining across translation
  14. // units)
  15. LLVM_LTO = NO
  16. // Whether to only build the active architecture
  17. ONLY_ACTIVE_ARCH = YES
  18. // Other compiler flags
  19. //
  20. // These settings catch some errors in integer arithmetic
  21. OTHER_CFLAGS = -ftrapv
  22. // Other flags to pass to the Swift compiler
  23. //
  24. // This enables conditional compilation with #if DEBUG
  25. OTHER_SWIFT_FLAGS = -D DEBUG
  26. // Whether to strip debugging symbols when copying the built product to its
  27. // final installation location
  28. STRIP_INSTALLED_PRODUCT = NO
  29. // The optimization level (-Onone, -O, -Ofast) for the produced Swift binary
  30. SWIFT_OPTIMIZATION_LEVEL = -Onone
  31. // Disable Developer ID timestamping
  32. OTHER_CODE_SIGN_FLAGS = --timestamp=none