Capacitor 8 will introduce Swift Package Manager (SPM) as a first-class dependency manager alongside CocoaPods, which enters maintenance mode in 2026. New Capacitor projects will default to SPM, while existing projects can migrate using the CLI's swift-migration-assistant tool. All Ionic-maintained plugins support SPM, but third-party plugins need updates. The capacitor-plugin-converter tool helps automate plugin conversion for Swift-only plugins, though mixed Objective-C/Swift plugins require manual conversion. Projects cannot mix SPM and CocoaPods, so developers must choose one approach.
Table of contents
Application Development with Swift Package ManagerGetting your plugins ready for Swift Package ManagerClosingSort: