flutter-spm
Installation
SKILL.md
Swift Package Manager (SPM) in Flutter
Introduced in Flutter 3.44
Swift Package Manager is the default dependency manager for iOS and macOS applications in Flutter, replacing CocoaPods. This modern integration improves compilation speeds and simplifies native package dependency trees.
Contents
- Project Configuration
- Managing Dependencies
- CI/CD Caching Strategies
- Troubleshooting & Conflict Resolution
Project Configuration
In Flutter 3.44+, newly generated iOS and macOS platforms are configured to use SPM out of the box.