Only impose app store restrictions on release builds

This commit is contained in:
Cameron Gutman
2020-08-30 16:43:56 -07:00
parent fb9d778dab
commit 06a4ced692
2 changed files with 6 additions and 1 deletions

View File

@@ -1253,7 +1253,10 @@
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_PREPROCESSOR_DEFINITIONS = NDEBUG;
GCC_PREPROCESSOR_DEFINITIONS = (
NDEBUG,
ENABLE_APP_STORE_RESTRICTIONS,
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;