From 10114c85bba9c2c0e62aa6361b887717f9f05921 Mon Sep 17 00:00:00 2001 From: Fabian Guerra Soto Date: Mon, 25 Mar 2019 09:25:08 -0700 Subject: [ios, macos, build] Remove DEBUG from logging configuration. (#13933) * [ios, macos] Change the debug flag usage to NDEBUG. * [ios, macos] Add NDEBUG preprocessor macro to ios/macos project conf. --- platform/ios/ios.xcodeproj/project.pbxproj | 2 ++ 1 file changed, 2 insertions(+) (limited to 'platform/ios/ios.xcodeproj') diff --git a/platform/ios/ios.xcodeproj/project.pbxproj b/platform/ios/ios.xcodeproj/project.pbxproj index 535f83728f..a514f4a017 100644 --- a/platform/ios/ios.xcodeproj/project.pbxproj +++ b/platform/ios/ios.xcodeproj/project.pbxproj @@ -3862,6 +3862,7 @@ DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; GCC_PREFIX_HEADER = "$SRCROOT/src/Mapbox-Prefix.pch"; + GCC_PREPROCESSOR_DEFINITIONS = "NDEBUG=1"; HEADER_SEARCH_PATHS = ( "$(mbgl_core_INCLUDE_DIRECTORIES)", "$(mbgl_filesource_INCLUDE_DIRECTORIES)", @@ -4296,6 +4297,7 @@ DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; GCC_PREFIX_HEADER = "$SRCROOT/src/Mapbox-Prefix.pch"; + GCC_PREPROCESSOR_DEFINITIONS = "NDEBUG=1"; HEADER_SEARCH_PATHS = ( "$(mbgl_core_INCLUDE_DIRECTORIES)", "$(mbgl_filesource_INCLUDE_DIRECTORIES)", -- cgit v1.2.1