Tuist now decodes and propagates the newer SwiftPM target warning-control settings, treatAllWarnings, treatWarning, and enableWarning, into the generated Xcode build settings, mirroring how SwiftPM lowers them itself: Swift controls flow into OTHER_SWIFT_FLAGS (e.g. -warnings-as-errors, -Werror name), while C and C++ controls flow into OTHER_CFLAGS / OTHER_CPLUSPLUSFLAGS (e.g. -Werror, -Werror=name, -Wname). Packages that use these SwiftPM APIs, including swift-dependencies 1.13.0, now load successfully instead of failing during PackageInfo decoding, and the package author’s warning behavior is preserved in the generated Xcode project.
Hive
SwiftPM warning-control settings are supported
Published
Jun 18, 2026 · 10:10 UTC
Repository
tuist/tuist