Package.swift warning control APIs (treatAllWarnings, treatWarning, enableWarning) are now decoded from swift package dump-package output and mapped into the equivalent Xcode flags: OTHER_SWIFT_FLAGS (-warnings-as-errors / -Werror name / -Wwarning name), and OTHER_CFLAGS / OTHER_CPLUSPLUSFLAGS (-Werror / -Werror=name / -Wno-error=name / -Wname), mirroring how SwiftPM itself lowers them. Packages such as swift-dependencies 1.13.0 that use these new APIs now load and generate correctly, with the package author’s Swift, C, and C++ warning behavior preserved in the generated Xcode project.
Hive
Tuist now supports SwiftPM warning control settings
Published
Jun 19, 2026 · 09:32 UTC
Repository
tuist/tuist