You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SwiftPM will be the default for all Flutter apps in the next stable release (3.44). To ensure your plugin remains compatible and prevents build failures for your users, please migrate to SwiftPM
Flutter will eventually deprecate and then remove support for CocoaPods. Adding Swift Package Manager support future-proofs your plugins.
If you run into issues or have questions, please reach out to the Flutter team. You can send a message to the #hackers-ios channel on Flutter's discord or open a GitHub issue.
Thank you for your wonderful contributions to the Flutter ecosystem!
Swift Package Manager support is one of Flutter's most requested features: flutter/flutter#33850.
Flutter's Swift Package Manager integration has several benefits:
Access to the Swift package ecosystem. Flutter plugins can use the growing ecosystem of Swift packages.
Simplifies Flutter installation. Swift Package Manager is bundled with Xcode. In the future, you won't need to install Ruby and CocoaPods to target iOS or macOS.
Thanks for the heads-up. Since 0.3.0 screen_retriever has no platform code of its own: it is built on nativeapi, whose native code is compiled by a Dart build hook. So neither CocoaPods nor Swift Package Manager is involved any more, and apps that use Swift Package Manager build without anything extra.
Activity
lijy91 commentedon Oct 8, 2026
Thanks for the heads-up. Since 0.3.0 screen_retriever has no platform code of its own: it is built on nativeapi, whose native code is compiled by a Dart build hook. So neither CocoaPods nor Swift Package Manager is involved any more, and apps that use Swift Package Manager build without anything extra.