Hive Hive
Sign in

SwiftPM warning control settings supported in generated projects

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

Tuist now decodes and supports SwiftPM warning-control target build settings (treatAllWarnings, treatWarning, and enableWarning) and maps them into generated Xcode projects using the same flag-based lowering SwiftPM uses, surfacing them through OTHER_SWIFT_FLAGS, OTHER_CFLAGS, and OTHER_CPLUSPLUSFLAGS. Packages that emit the newer warning-control APIs in swift package dump-package, including swift-dependencies 1.13.0, now load through Tuist without failing during PackageInfo decoding, and the package author’s warning behavior is preserved for supported Swift, C, and C++ settings. Unsupported combinations such as Swift enableWarning remain explicitly rejected.