In Swift 6.2, Swift Packages give us control over which compiler warnings to treat as errors. Finer-grained Controls for Compiler Warnings The Swift compiler has options to treat all warnings as errors or suppress all warnings: -warnings-as-errors-suppress-warnings In Xcode, you add those compiler flags to the build settings for a target. In the “Swift Compiler - Custom Flags” section add the options to the “Other Swift Flags” setting: What if you only want to treat some warnings as e...