From f86d52d0ced9a18be89b70adf0914d7fd2334397 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Wed, 21 Jan 2026 09:22:45 -0800 Subject: [PATCH] Make debug builds faster by using `SWIFT_COMPILATION_MODE = singlefile` for debug builds. Also: add flags to warn about long type checking. --- xcconfig/NetNewsWire_project_debug.xcconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xcconfig/NetNewsWire_project_debug.xcconfig b/xcconfig/NetNewsWire_project_debug.xcconfig index 4c2a80ae6..6fa8380c7 100644 --- a/xcconfig/NetNewsWire_project_debug.xcconfig +++ b/xcconfig/NetNewsWire_project_debug.xcconfig @@ -15,6 +15,7 @@ GCC_OPTIMIZATION_LEVEL = 0 GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 SKIP_APP_GROUP_ACCESS=1 $(inherited) MTL_ENABLE_DEBUG_INFO = YES ONLY_ACTIVE_ARCH = YES -OTHER_SWIFT_FLAGS = -DDEBUG -DSKIP_APP_GROUP_ACCESS +OTHER_SWIFT_FLAGS = -DDEBUG -DSKIP_APP_GROUP_ACCESS -Xfrontend -warn-long-function-bodies=300 -Xfrontend -warn-long-expression-type-checking=300 +SWIFT_COMPILATION_MODE = singlefile SWIFT_OPTIMIZATION_LEVEL = -Onone SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG SKIP_APP_GROUP_ACCESS