Hive Hive
Sign in

SwiftPM warning control settings supported in generated projects

Metadata
Source
GitHub
Version
4.201.0-canary.11
Published
Jun 18, 2026 · 14:01 UTC
Repository
tuist/tuist
Update

Packages that use SwiftPM’s newer warning control APIs (treatAllWarnings, treatWarning, enableWarning), such as swift-dependencies 1.13.0, were failing during package decoding because Tuist did not recognise those target build setting kinds. Tuist now decodes those kinds and lowers them to the same OTHER_SWIFT_FLAGS, OTHER_CFLAGS, and OTHER_CPLUSPLUSFLAGS values that SwiftPM itself emits, so affected packages load cleanly. The generated Xcode project preserves the package author’s warning behavior for every supported Swift, C, and C++ combination.