Hive Hive
Sign in

SwiftPM treatAllWarnings, treatWarning, and enableWarning settings are now supported

Metadata
Source
GitHub
Version
4.201.0-canary.18
Published
Jun 19, 2026 · 15:22 UTC
Repository
tuist/tuist
Update

Tuist now understands the SwiftPM treatAllWarnings(:), treatWarning(::), and enableWarning(:) target build setting payloads in Package.swift and lowers them into the same flags SwiftPM itself uses (OTHER_SWIFT_FLAGS for Swift, OTHER_CFLAGS / OTHER_CPLUSPLUSFLAGS for C/C++): -warnings-as-errors, -Werror , -Wwarning , -Werror=, -Wno-error=, -W depending on level. Packages that include these newer APIs (such as swift-dependencies 1.13.0) now load and generate correctly, with the package author’s warning behavior preserved in the generated Xcode project.