Tuist now decodes and maps SwiftPM’s treatAllWarnings, treatWarning, and enableWarning target build settings, lowering each combination into OTHER_SWIFT_FLAGS, OTHER_CFLAGS, and OTHER_CPLUSPLUSFLAGS using the same flags SwiftPM emits in PackageBuilder. Packages such as swift-dependencies 1.13.0 that use these newer settings now load successfully instead of failing during PackageInfo decoding, and the generated Xcode projects preserve each package author’s intended warning behavior for supported Swift, C, and C++ settings. Linker warning-control settings and Swift enableWarning remain explicitly unsupported to match SwiftPM itself.
Hive
Load packages that use SwiftPM warning control settings
Published
Jun 17, 2026 · 08:44 UTC
Repository
tuist/tuist