From 0073585dc40edb0008266449af0856b622e21b21 Mon Sep 17 00:00:00 2001 From: Ilya Grechuhin Date: Mon, 2 Oct 2017 11:33:39 +0300 Subject: [PATCH] [frameworks] [ios] Updated Swift compiler options. --- xcode/common-debug.xcconfig | 1 + xcode/common.xcconfig | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/xcode/common-debug.xcconfig b/xcode/common-debug.xcconfig index 69e5ce6ed7..50202a11a6 100644 --- a/xcode/common-debug.xcconfig +++ b/xcode/common-debug.xcconfig @@ -7,3 +7,4 @@ ENABLE_NS_ASSERTIONS = YES GCC_PREPROCESSOR_DEFINITIONS = $(inherited) DEBUG _DEBUG HAVE_PTHREAD MTL_ENABLE_DEBUG_INFO = YES ENABLE_TESTABILITY = YES +OTHER_SWIFT_FLAGS = -Xfrontend -warn-long-function-bodies=400 -Xfrontend -warn-long-expression-type-checking=150 diff --git a/xcode/common.xcconfig b/xcode/common.xcconfig index c1f9c9f17f..4d4a456712 100644 --- a/xcode/common.xcconfig +++ b/xcode/common.xcconfig @@ -65,7 +65,6 @@ ENABLE_STRICT_OBJC_MSGSEND = YES GCC_NO_COMMON_BLOCKS = YES GCC_PRECOMPILE_PREFIX_HEADER = YES ONLY_ACTIVE_ARCH = YES -OTHER_SWIFT_FLAGS = -Xfrontend -warn-long-function-bodies=400 PRODUCT_NAME = $(TARGET_NAME) VALID_ARCHS = arm64 VALID_ARCHS[sdk=iphonesimulator*] = x86_64