Channels: Current
🚀 New Features
- feat: add Swift Package Manager support for iOS plugin (#1131)
Swift Package Manager (SPM) Support: Flutter's SPM integration is used automatically when enabled (the default in newer Flutter versions). No changes are needed for new projects.
Migrating from CocoaPods to SPM: Existing projects using CocoaPods can migrate by:
- Remove
enable-swift-package-manager: falsefrompubspec.yaml(if present) - Delete
Podfile,Podfile.lock, andPods/directory - Remove CocoaPods include lines from
ios/Flutter/Debug.xcconfigandios/Flutter/Release.xcconfig - Run
flutter run, Flutter adds SPM integration automatically