From b1645e17ae1fedfe5e43db74ad772987a9f6814a Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sun, 29 Sep 2024 20:52:43 -0700 Subject: [PATCH] Add DEAD_CODE_STRIPPING. --- xcconfig/NetNewsWire_project.xcconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/xcconfig/NetNewsWire_project.xcconfig b/xcconfig/NetNewsWire_project.xcconfig index 140cf0a2f..d62cc9ba3 100644 --- a/xcconfig/NetNewsWire_project.xcconfig +++ b/xcconfig/NetNewsWire_project.xcconfig @@ -46,6 +46,7 @@ SWIFT_SWIFT3_OBJC_INFERENCE = Off SWIFT_VERSION = 5.10 SWIFT_STRICT_CONCURRENCY = complete ASSETCATALOG_COMPILER_GENERATE_ASSET_SYMBOLS = NO +DEAD_CODE_STRIPPING = YES // https://forums.swift.org/t/swift-packages-in-multiple-targets-results-in-this-will-result-in-duplication-of-library-code-errors/34892/33 DISABLE_DIAMOND_PROBLEM_DIAGNOSTIC = YES