Add DEAD_CODE_STRIPPING.

This commit is contained in:
Brent Simmons 2024-09-29 20:52:43 -07:00
parent ec9afefd20
commit b1645e17ae

View File

@ -46,6 +46,7 @@ SWIFT_SWIFT3_OBJC_INFERENCE = Off
SWIFT_VERSION = 5.10 SWIFT_VERSION = 5.10
SWIFT_STRICT_CONCURRENCY = complete SWIFT_STRICT_CONCURRENCY = complete
ASSETCATALOG_COMPILER_GENERATE_ASSET_SYMBOLS = NO 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 // 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 DISABLE_DIAMOND_PROBLEM_DIAGNOSTIC = YES