Webinar: Mastering Patrol & AI: Next-Level E2E Testing. Register now

Swift Package Manager support is here!

Starting with Patrol 4.7.0 and Patrol CLI 4.5.0, Patrol supports Swift Package Manager (SPM) on iOS and macOS, integrating with Flutter's native SPM support. CocoaPods remains fully supported for projects that haven't migrated yet.

If you switch your project to SPM, a few small changes to the Patrol setup are needed — most notably adding FlutterGeneratedPluginSwiftPackage to the RunnerUITests target. Everything is described in the updated setup guide:

If you have any questions or want to submit feedback, head on to GitHub or our Discord server.