Ward

Does Ward work with Swift projects?

Updated

Yes. Ward supports Swift projects built with SwiftPM or Xcode, on macOS with Xcode 26.0 or newer. Tuist and XcodeGen projects are not supported, and neither are Xcode projects that use a Podfile.

What does Ward check in a Swift project?

Project Gates
All Ward’s Swift rules and ward-format
SwiftPM package swift-build, swift-test, swift-coverage
Xcode project xcodebuild-test, swift-coverage

Coverage minimums are 80% under standard and 85% under strict. strict also turns warnings into errors and enables complete strict concurrency, through command-line flags only. It has no mutation gate.

How do I set Ward up in a Swift project?

cd your-project
ward init
ward check

Ward never edits Package.swift or project.pbxproj. With several shared Xcode schemes, pass --scheme <name>. The test platform is iOS Simulator, or macOS when every target builds only for macOS. If your Xcode project uses CocoaPods, move those dependencies to Swift Package Manager first. Ward is in alpha, so the CLI and the configuration may change before 1.0.

Where do I go next?

Ready to try it? Install Ward and run ward init in your project.