Swift 6.2 introduces fine-grained compiler warning controls for Swift Packages, allowing developers to treat specific diagnostic groups as errors or warnings. Previously available only in Xcode build settings, these controls can now be configured directly in Package.swift files using new swiftSettings like treatAllWarnings(as:
Table of contents
Finer-grained Controls for Compiler WarningsWarning Controls for Swift PackagesLearn MoreSort: