Treat warnings as errors.

This commit is contained in:
Brent Simmons
2024-11-04 21:57:26 -08:00
parent 4a162e1bcf
commit dcef678008

View File

@@ -43,6 +43,9 @@ MACOSX_DEPLOYMENT_TARGET = 14.0
IPHONEOS_DEPLOYMENT_TARGET = 17.0
//SDKROOT = macosx
SWIFT_SWIFT3_OBJC_INFERENCE = Off
WARNING_CFLAGS = -Werror
GCC_TREAT_WARNINGS_AS_ERRORS = YES
SWIFT_TREAT_WARNINGS_AS_ERRORS = YES
SWIFT_VERSION = 5.9
// https://forums.swift.org/t/swift-packages-in-multiple-targets-results-in-this-will-result-in-duplication-of-library-code-errors/34892/33