Hive Hive
Sign in

Support SwiftPM warning control settings in generated Xcode projects

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

Tuist now decodes SwiftPM’s treatAllWarnings, treatWarning, and enableWarning target build settings from swift package dump-package output and maps them into generated Xcode projects using the same flags SwiftPM lowers them into: OTHER_SWIFT_FLAGS, OTHER_CFLAGS, and OTHER_CPLUSPLUSFLAGS (-warnings-as-errors, -Werror, -Wwarning, -Werror=name, -Wno-error=name, -Wname, etc.). Packages such as swift-dependencies 1.13.0 that use these newer SwiftPM warning-control APIs now load and generate cleanly instead of failing package decoding, and the package author’s per-warning behavior is preserved.